Documentation ¶
Index ¶
- func ExtractRuntimeObjectList(li runtime.Object, resource report.Resource) ([]report.ResourceObject, error)
- func ResourceObjects(config *rest.Config, namespaces []string) ([]report.ResourceObject, error)
- func Resources(config *rest.Config) ([]report.Resource, error)
- func ServerVersion(config *rest.Config) (report.Server, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractRuntimeObjectList ¶
func ExtractRuntimeObjectList(li runtime.Object, resource report.Resource) ([]report.ResourceObject, error)
ExtractRuntimeObjectList extracts the list from a raw listing result and converts it to a ResourceObject slice
func ResourceObjects ¶
ResourceObjects retrieves all API resource objects which are global or in the list of provided namespaces, the result is sorted
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.