Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultResyncPeriod = 10 * time.Minute
)
Variables ¶
This section is empty.
Functions ¶
func IsSubResource ¶
func NamespacedNameOf ¶
func NamespacedNameOf(u *unstructured.Unstructured) types.NamespacedName
Types ¶
type Client ¶
type Client struct { Conf *rest.Config Discovery *discovery.DiscoveryClient InformerFactory dynamicinformer.DynamicSharedInformerFactory }
Client provides read-only access to Kubernetes resources.
func (*Client) InformOnResource ¶
func (c *Client) InformOnResource(gvr schema.GroupVersionResource, handler cache.ResourceEventHandler)
Click to show internal directories.
Click to hide internal directories.