Documentation
¶
Index ¶
- func NewControllerRevisionClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewDaemonSetClusterInformer(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 NewFilteredDaemonSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredDeploymentClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredReplicaSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewFilteredStatefulSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewReplicaSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- func NewStatefulSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, ...) kcpcache.ScopeableSharedIndexInformer
- type ClusterInterface
- type ControllerRevisionClusterInformer
- type DaemonSetClusterInformer
- type DeploymentClusterInformer
- type ReplicaSetClusterInformer
- 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 NewDaemonSetClusterInformer ¶
func NewDaemonSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewDaemonSetClusterInformer constructs a new informer for DaemonSet 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 NewFilteredDaemonSetClusterInformer ¶
func NewFilteredDaemonSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredDaemonSetClusterInformer constructs a new informer for DaemonSet 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 NewFilteredReplicaSetClusterInformer ¶
func NewFilteredReplicaSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer
NewFilteredReplicaSetClusterInformer constructs a new informer for ReplicaSet 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 NewReplicaSetClusterInformer ¶
func NewReplicaSetClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer
NewReplicaSetClusterInformer constructs a new informer for ReplicaSet 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
// DaemonSets returns a DaemonSetClusterInformer.
DaemonSets() DaemonSetClusterInformer
// Deployments returns a DeploymentClusterInformer.
Deployments() DeploymentClusterInformer
// ReplicaSets returns a ReplicaSetClusterInformer.
ReplicaSets() ReplicaSetClusterInformer
// 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) appsv1.ControllerRevisionInformer
ClusterWithContext(context.Context, logicalcluster.Name) appsv1.ControllerRevisionInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1.ControllerRevisionClusterLister
}
ControllerRevisionClusterInformer provides access to a shared informer and lister for ControllerRevisions.
type DaemonSetClusterInformer ¶
type DaemonSetClusterInformer interface {
Cluster(logicalcluster.Name) appsv1.DaemonSetInformer
ClusterWithContext(context.Context, logicalcluster.Name) appsv1.DaemonSetInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1.DaemonSetClusterLister
}
DaemonSetClusterInformer provides access to a shared informer and lister for DaemonSets.
type DeploymentClusterInformer ¶
type DeploymentClusterInformer interface {
Cluster(logicalcluster.Name) appsv1.DeploymentInformer
ClusterWithContext(context.Context, logicalcluster.Name) appsv1.DeploymentInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1.DeploymentClusterLister
}
DeploymentClusterInformer provides access to a shared informer and lister for Deployments.
type ReplicaSetClusterInformer ¶
type ReplicaSetClusterInformer interface {
Cluster(logicalcluster.Name) appsv1.ReplicaSetInformer
ClusterWithContext(context.Context, logicalcluster.Name) appsv1.ReplicaSetInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1.ReplicaSetClusterLister
}
ReplicaSetClusterInformer provides access to a shared informer and lister for ReplicaSets.
type StatefulSetClusterInformer ¶
type StatefulSetClusterInformer interface {
Cluster(logicalcluster.Name) appsv1.StatefulSetInformer
ClusterWithContext(context.Context, logicalcluster.Name) appsv1.StatefulSetInformer
Informer() kcpcache.ScopeableSharedIndexInformer
Lister() kcpv1.StatefulSetClusterLister
}
StatefulSetClusterInformer provides access to a shared informer and lister for StatefulSets.