Documentation ¶
Index ¶
- func NewCustomResourceDefinitionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredCustomResourceDefinitionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type CustomResourceDefinitionClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCustomResourceDefinitionClusterInformer ¶
func NewCustomResourceDefinitionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewCustomResourceDefinitionClusterInformer constructs a new informer for CustomResourceDefinition type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
func NewFilteredCustomResourceDefinitionClusterInformer ¶
func NewFilteredCustomResourceDefinitionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredCustomResourceDefinitionClusterInformer constructs a new informer for CustomResourceDefinition type. Always prefer using an informer factory to get a shared informer instead of getting an independent one. This reduces memory footprint and number of connections to the server.
Types ¶
type ClusterInterface ¶
type ClusterInterface interface { // CustomResourceDefinitions returns a CustomResourceDefinitionClusterInformer CustomResourceDefinitions() CustomResourceDefinitionClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type CustomResourceDefinitionClusterInformer ¶
type CustomResourceDefinitionClusterInformer interface { Cluster(logicalcluster.Name) upstreamapiextensionsv1beta1informers.CustomResourceDefinitionInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() apiextensionsv1beta1listers.CustomResourceDefinitionClusterLister }
CustomResourceDefinitionClusterInformer provides access to a shared informer and lister for CustomResourceDefinitions.