Documentation
¶
Index ¶
- func NewControllerRevisionClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewDeploymentClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredControllerRevisionClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredDeploymentClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredStatefulSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewStatefulSetClusterInformer(client kcpkubernetes.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 kcpkubernetes.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 kcpkubernetes.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 kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.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 kcpkubernetes.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 {
// ControllerRevisions returns a ControllerRevisionClusterInformer.
ControllerRevisions() ControllerRevisionClusterInformer
// Deployments returns a DeploymentClusterInformer.
Deployments() DeploymentClusterInformer
// StatefulSets returns a StatefulSetClusterInformer.
StatefulSets() StatefulSetClusterInformer
}
func New ¶
func New(f kcpinternalinterfaces.SharedInformerFactory, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) ClusterInterface
New returns a new Interface.
type ControllerRevisionClusterInformer ¶
type ControllerRevisionClusterInformer interface {
Cluster(logicalcluster.Name) appsv1beta1.ControllerRevisionInformer
ClusterWithContext(context.Context, logicalcluster.Name) appsv1beta1.ControllerRevisionInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1beta1.ControllerRevisionClusterLister
}
ControllerRevisionClusterInformer provides access to a shared informer and lister for ControllerRevisions.
type DeploymentClusterInformer ¶
type DeploymentClusterInformer interface {
Cluster(logicalcluster.Name) appsv1beta1.DeploymentInformer
ClusterWithContext(context.Context, logicalcluster.Name) appsv1beta1.DeploymentInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1beta1.DeploymentClusterLister
}
DeploymentClusterInformer provides access to a shared informer and lister for Deployments.
type StatefulSetClusterInformer ¶
type StatefulSetClusterInformer interface {
Cluster(logicalcluster.Name) appsv1beta1.StatefulSetInformer
ClusterWithContext(context.Context, logicalcluster.Name) appsv1beta1.StatefulSetInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1beta1.StatefulSetClusterLister
}
StatefulSetClusterInformer provides access to a shared informer and lister for StatefulSets.