Documentation
¶
Index ¶
- Constants
- func GetClient(clientConfig *rest.Config) (client.Client, error)
- func GetNamespaceResources(ctx context.Context, clientConfig *rest.Config, namespace string) ([]unstructured.Unstructured, error)
- func PrintResourcesStatus(ctx context.Context, opts InventoryOptions, clientConfig *rest.Config, ...)
- type InventoryOptions
- type NoopWarningLogger
- type ResourcesMap
- type TimeSortableEvents
Constants ¶
View Source
const EventTimeFormat = "2006-01-02 15:04:05"
Variables ¶
This section is empty.
Functions ¶
func GetNamespaceResources ¶
func GetNamespaceResources(ctx context.Context, clientConfig *rest.Config, namespace string) ([]unstructured.Unstructured, error)
Types ¶
type InventoryOptions ¶
type InventoryOptions struct {
SkipReadyResources bool
}
type NoopWarningLogger ¶
type NoopWarningLogger struct{}
func (NoopWarningLogger) HandleWarningHeader ¶
func (NoopWarningLogger) HandleWarningHeader(code int, agent string, message string)
type ResourcesMap ¶
func GetResourcesMap ¶
type TimeSortableEvents ¶
func (TimeSortableEvents) Len ¶
func (events TimeSortableEvents) Len() int
func (TimeSortableEvents) Less ¶
func (events TimeSortableEvents) Less(a, b int) bool
func (TimeSortableEvents) Swap ¶
func (events TimeSortableEvents) Swap(a, b int)
Click to show internal directories.
Click to hide internal directories.