Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceMetadata ¶
type ResourceMetadata struct { schema.GroupVersionResource schema.GroupVersionKind Namespaced bool Unstructured bool IsList bool }
ResourceMetadata contains information about a given object, including the Group/Version/Kind and the Group/Version/Resource as well as if the object is namespaced
func GetResourceMetadata ¶
GetResourceMetadata returns the ResourceMetadata using the Scheme and RESTMapper embedded in the provided client.
func (ResourceMetadata) Empty ¶
func (o ResourceMetadata) Empty() bool
Empty returns true if the object has not yet been populated
Click to show internal directories.
Click to hide internal directories.