Documentation ¶
Index ¶
- func NewControllerRevisionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewDeploymentClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredControllerRevisionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredDeploymentClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredStatefulSetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewStatefulSetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type ControllerRevisionClusterInformer
- type DeploymentClusterInformer
- type StatefulSetClusterInformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControllerRevisionClusterInformer ¶
func NewControllerRevisionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewControllerRevisionClusterInformer constructs a new informer for ControllerRevision 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 NewDeploymentClusterInformer ¶
func NewDeploymentClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewDeploymentClusterInformer constructs a new informer for Deployment 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 NewFilteredControllerRevisionClusterInformer ¶
func NewFilteredControllerRevisionClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredControllerRevisionClusterInformer constructs a new informer for ControllerRevision 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 NewFilteredDeploymentClusterInformer ¶
func NewFilteredDeploymentClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredDeploymentClusterInformer constructs a new informer for Deployment 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 NewFilteredStatefulSetClusterInformer ¶
func NewFilteredStatefulSetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions internalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredStatefulSetClusterInformer constructs a new informer for StatefulSet 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 NewStatefulSetClusterInformer ¶
func NewStatefulSetClusterInformer(client clientset.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewStatefulSetClusterInformer constructs a new informer for StatefulSet 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 { // StatefulSets returns a StatefulSetClusterInformer StatefulSets() StatefulSetClusterInformer // Deployments returns a DeploymentClusterInformer Deployments() DeploymentClusterInformer // ControllerRevisions returns a ControllerRevisionClusterInformer ControllerRevisions() ControllerRevisionClusterInformer }
func New ¶
func New(f internalinterfaces.SharedInformerFactory, tweakListOptions internalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new ClusterInterface.
type ControllerRevisionClusterInformer ¶
type ControllerRevisionClusterInformer interface { Cluster(logicalcluster.Name) upstreamappsv1beta1informers.ControllerRevisionInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() appsv1beta1listers.ControllerRevisionClusterLister }
ControllerRevisionClusterInformer provides access to a shared informer and lister for ControllerRevisions.
type DeploymentClusterInformer ¶
type DeploymentClusterInformer interface { Cluster(logicalcluster.Name) upstreamappsv1beta1informers.DeploymentInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() appsv1beta1listers.DeploymentClusterLister }
DeploymentClusterInformer provides access to a shared informer and lister for Deployments.
type StatefulSetClusterInformer ¶
type StatefulSetClusterInformer interface { Cluster(logicalcluster.Name) upstreamappsv1beta1informers.StatefulSetInformer Informer() kcpcache.ScopeableSharedIndexInformer Lister() appsv1beta1listers.StatefulSetClusterLister }
StatefulSetClusterInformer provides access to a shared informer and lister for StatefulSets.