Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitGroupVersion ¶
func SplitGroupVersion(apiVersion string) schema.GroupVersion
Types ¶
type ClusterDiscoveryCache ¶
type ClusterDiscoveryCache interface { GetAll() GvrDetails LookupKind(gvr schema.GroupVersionResource) (schema.GroupVersionKind, bool) LookupResource(gvk schema.GroupVersionKind) (schema.GroupVersionResource, bool) RequestAndWaitResync() // AddResyncHandler adds a channel that sends when at least one GVR has changed. // Should only be called during Init stage. AddResyncHandler() <-chan struct{} }
type DiscoveryCache ¶
type DiscoveryCache interface { // Gets the discovery cache for a specific cluster. // Lazily initializes the cache if it is not present. ForCluster(name string) (ClusterDiscoveryCache, error) }
type GvkToGvr ¶
type GvkToGvr = map[schema.GroupVersionKind]schema.GroupVersionResource
type GvrDetails ¶
type GvrDetails = map[schema.GroupVersionResource]*metav1.APIResource
type GvrToGvk ¶
type GvrToGvk = map[schema.GroupVersionResource]schema.GroupVersionKind
Click to show internal directories.
Click to hide internal directories.