v1

package
v0.29.0-rc.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 15 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponentStatusClusterInformer

func NewComponentStatusClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewComponentStatusClusterInformer constructs a new informer for ComponentStatus 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 NewConfigMapClusterInformer

func NewConfigMapClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewConfigMapClusterInformer constructs a new informer for ConfigMap 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 NewEndpointsClusterInformer

func NewEndpointsClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewEndpointsClusterInformer constructs a new informer for Endpoints 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 NewEventClusterInformer

func NewEventClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewEventClusterInformer constructs a new informer for Event 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 NewFilteredComponentStatusClusterInformer

func NewFilteredComponentStatusClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredComponentStatusClusterInformer constructs a new informer for ComponentStatus 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 NewFilteredConfigMapClusterInformer

func NewFilteredConfigMapClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredConfigMapClusterInformer constructs a new informer for ConfigMap 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 NewFilteredEndpointsClusterInformer

func NewFilteredEndpointsClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredEndpointsClusterInformer constructs a new informer for Endpoints 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 NewFilteredEventClusterInformer

func NewFilteredEventClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredEventClusterInformer constructs a new informer for Event 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 NewFilteredLimitRangeClusterInformer

func NewFilteredLimitRangeClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredLimitRangeClusterInformer constructs a new informer for LimitRange 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 NewFilteredNamespaceClusterInformer

func NewFilteredNamespaceClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredNamespaceClusterInformer constructs a new informer for Namespace 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 NewFilteredNodeClusterInformer

func NewFilteredNodeClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredNodeClusterInformer constructs a new informer for Node 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 NewFilteredPersistentVolumeClaimClusterInformer

func NewFilteredPersistentVolumeClaimClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredPersistentVolumeClaimClusterInformer constructs a new informer for PersistentVolumeClaim 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 NewFilteredPersistentVolumeClusterInformer

func NewFilteredPersistentVolumeClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredPersistentVolumeClusterInformer constructs a new informer for PersistentVolume 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 NewFilteredPodClusterInformer

func NewFilteredPodClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredPodClusterInformer constructs a new informer for Pod 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 NewFilteredPodTemplateClusterInformer

func NewFilteredPodTemplateClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredPodTemplateClusterInformer constructs a new informer for PodTemplate 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 NewFilteredReplicationControllerClusterInformer

func NewFilteredReplicationControllerClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredReplicationControllerClusterInformer constructs a new informer for ReplicationController 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 NewFilteredResourceQuotaClusterInformer

func NewFilteredResourceQuotaClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredResourceQuotaClusterInformer constructs a new informer for ResourceQuota 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 NewFilteredSecretClusterInformer

func NewFilteredSecretClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredSecretClusterInformer constructs a new informer for Secret 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 NewFilteredServiceAccountClusterInformer

func NewFilteredServiceAccountClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredServiceAccountClusterInformer constructs a new informer for ServiceAccount 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 NewFilteredServiceClusterInformer

func NewFilteredServiceClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers, tweakListOptions kcpinternalinterfaces.TweakListOptionsFunc) kcpcache.ScopeableSharedIndexInformer

NewFilteredServiceClusterInformer constructs a new informer for Service 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 NewLimitRangeClusterInformer

func NewLimitRangeClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewLimitRangeClusterInformer constructs a new informer for LimitRange 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 NewNamespaceClusterInformer

func NewNamespaceClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewNamespaceClusterInformer constructs a new informer for Namespace 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 NewNodeClusterInformer

func NewNodeClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewNodeClusterInformer constructs a new informer for Node 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 NewPersistentVolumeClaimClusterInformer

func NewPersistentVolumeClaimClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewPersistentVolumeClaimClusterInformer constructs a new informer for PersistentVolumeClaim 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 NewPersistentVolumeClusterInformer

func NewPersistentVolumeClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewPersistentVolumeClusterInformer constructs a new informer for PersistentVolume 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 NewPodClusterInformer

func NewPodClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewPodClusterInformer constructs a new informer for Pod 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 NewPodTemplateClusterInformer

func NewPodTemplateClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewPodTemplateClusterInformer constructs a new informer for PodTemplate 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 NewReplicationControllerClusterInformer

func NewReplicationControllerClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewReplicationControllerClusterInformer constructs a new informer for ReplicationController 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 NewResourceQuotaClusterInformer

func NewResourceQuotaClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewResourceQuotaClusterInformer constructs a new informer for ResourceQuota 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 NewSecretClusterInformer

func NewSecretClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewSecretClusterInformer constructs a new informer for Secret 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 NewServiceAccountClusterInformer

func NewServiceAccountClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewServiceAccountClusterInformer constructs a new informer for ServiceAccount 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 NewServiceClusterInformer

func NewServiceClusterInformer(client kcpkubernetes.ClusterInterface, resyncPeriod time.Duration, indexers cache.Indexers) kcpcache.ScopeableSharedIndexInformer

NewServiceClusterInformer constructs a new informer for Service 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 {
	// ComponentStatuses returns a ComponentStatusClusterInformer.
	ComponentStatuses() ComponentStatusClusterInformer
	// ConfigMaps returns a ConfigMapClusterInformer.
	ConfigMaps() ConfigMapClusterInformer
	// Endpoints returns a EndpointsClusterInformer.
	Endpoints() EndpointsClusterInformer
	// Events returns a EventClusterInformer.
	Events() EventClusterInformer
	// LimitRanges returns a LimitRangeClusterInformer.
	LimitRanges() LimitRangeClusterInformer
	// Namespaces returns a NamespaceClusterInformer.
	Namespaces() NamespaceClusterInformer
	// Nodes returns a NodeClusterInformer.
	Nodes() NodeClusterInformer
	// PersistentVolumes returns a PersistentVolumeClusterInformer.
	PersistentVolumes() PersistentVolumeClusterInformer
	// PersistentVolumeClaims returns a PersistentVolumeClaimClusterInformer.
	PersistentVolumeClaims() PersistentVolumeClaimClusterInformer
	// Pods returns a PodClusterInformer.
	Pods() PodClusterInformer
	// PodTemplates returns a PodTemplateClusterInformer.
	PodTemplates() PodTemplateClusterInformer
	// ReplicationControllers returns a ReplicationControllerClusterInformer.
	ReplicationControllers() ReplicationControllerClusterInformer
	// ResourceQuotas returns a ResourceQuotaClusterInformer.
	ResourceQuotas() ResourceQuotaClusterInformer
	// Secrets returns a SecretClusterInformer.
	Secrets() SecretClusterInformer
	// Services returns a ServiceClusterInformer.
	Services() ServiceClusterInformer
	// ServiceAccounts returns a ServiceAccountClusterInformer.
	ServiceAccounts() ServiceAccountClusterInformer
}

func New

New returns a new Interface.

type ComponentStatusClusterInformer

ComponentStatusClusterInformer provides access to a shared informer and lister for ComponentStatuses.

type ConfigMapClusterInformer

type ConfigMapClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.ConfigMapInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.ConfigMapInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.ConfigMapClusterLister
}

ConfigMapClusterInformer provides access to a shared informer and lister for ConfigMaps.

type EndpointsClusterInformer

type EndpointsClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.EndpointsInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.EndpointsInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.EndpointsClusterLister
}

EndpointsClusterInformer provides access to a shared informer and lister for Endpoints.

type EventClusterInformer

type EventClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.EventInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.EventInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.EventClusterLister
}

EventClusterInformer provides access to a shared informer and lister for Events.

type LimitRangeClusterInformer

type LimitRangeClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.LimitRangeInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.LimitRangeInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.LimitRangeClusterLister
}

LimitRangeClusterInformer provides access to a shared informer and lister for LimitRanges.

type NamespaceClusterInformer

type NamespaceClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.NamespaceInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.NamespaceInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.NamespaceClusterLister
}

NamespaceClusterInformer provides access to a shared informer and lister for Namespaces.

type NodeClusterInformer

type NodeClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.NodeInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.NodeInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.NodeClusterLister
}

NodeClusterInformer provides access to a shared informer and lister for Nodes.

type PersistentVolumeClaimClusterInformer

PersistentVolumeClaimClusterInformer provides access to a shared informer and lister for PersistentVolumeClaims.

type PersistentVolumeClusterInformer

PersistentVolumeClusterInformer provides access to a shared informer and lister for PersistentVolumes.

type PodClusterInformer

type PodClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.PodInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.PodInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.PodClusterLister
}

PodClusterInformer provides access to a shared informer and lister for Pods.

type PodTemplateClusterInformer

type PodTemplateClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.PodTemplateInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.PodTemplateInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.PodTemplateClusterLister
}

PodTemplateClusterInformer provides access to a shared informer and lister for PodTemplates.

type ReplicationControllerClusterInformer

ReplicationControllerClusterInformer provides access to a shared informer and lister for ReplicationControllers.

type ResourceQuotaClusterInformer

ResourceQuotaClusterInformer provides access to a shared informer and lister for ResourceQuotas.

type SecretClusterInformer

type SecretClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.SecretInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.SecretInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.SecretClusterLister
}

SecretClusterInformer provides access to a shared informer and lister for Secrets.

type ServiceAccountClusterInformer

ServiceAccountClusterInformer provides access to a shared informer and lister for ServiceAccounts.

type ServiceClusterInformer

type ServiceClusterInformer interface {
	Cluster(logicalcluster.Name) corev1.ServiceInformer
	ClusterWithContext(context.Context, logicalcluster.Name) corev1.ServiceInformer
	Informer() kcpcache.ScopeableSharedIndexInformer
	Lister() kcpv1.ServiceClusterLister
}

ServiceClusterInformer provides access to a shared informer and lister for Services.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL