v1

package
v0.0.0-...-607e9d8 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 8 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewComponentStatusClusterLister

func NewComponentStatusClusterLister(indexer cache.Indexer) *componentStatusClusterLister

NewComponentStatusClusterLister returns a new ComponentStatusClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

func NewConfigMapClusterLister

func NewConfigMapClusterLister(indexer cache.Indexer) *configMapClusterLister

NewConfigMapClusterLister returns a new ConfigMapClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewEndpointsClusterLister

func NewEndpointsClusterLister(indexer cache.Indexer) *endpointsClusterLister

NewEndpointsClusterLister returns a new EndpointsClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewEventClusterLister

func NewEventClusterLister(indexer cache.Indexer) *eventClusterLister

NewEventClusterLister returns a new EventClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewLimitRangeClusterLister

func NewLimitRangeClusterLister(indexer cache.Indexer) *limitRangeClusterLister

NewLimitRangeClusterLister returns a new LimitRangeClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewNamespaceClusterLister

func NewNamespaceClusterLister(indexer cache.Indexer) *namespaceClusterLister

NewNamespaceClusterLister returns a new NamespaceClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

func NewNodeClusterLister

func NewNodeClusterLister(indexer cache.Indexer) *nodeClusterLister

NewNodeClusterLister returns a new NodeClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

func NewPersistentVolumeClaimClusterLister

func NewPersistentVolumeClaimClusterLister(indexer cache.Indexer) *persistentVolumeClaimClusterLister

NewPersistentVolumeClaimClusterLister returns a new PersistentVolumeClaimClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewPersistentVolumeClusterLister

func NewPersistentVolumeClusterLister(indexer cache.Indexer) *persistentVolumeClusterLister

NewPersistentVolumeClusterLister returns a new PersistentVolumeClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index

func NewPodClusterLister

func NewPodClusterLister(indexer cache.Indexer) *podClusterLister

NewPodClusterLister returns a new PodClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewPodTemplateClusterLister

func NewPodTemplateClusterLister(indexer cache.Indexer) *podTemplateClusterLister

NewPodTemplateClusterLister returns a new PodTemplateClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewReplicationControllerClusterLister

func NewReplicationControllerClusterLister(indexer cache.Indexer) *replicationControllerClusterLister

NewReplicationControllerClusterLister returns a new ReplicationControllerClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewResourceQuotaClusterLister

func NewResourceQuotaClusterLister(indexer cache.Indexer) *resourceQuotaClusterLister

NewResourceQuotaClusterLister returns a new ResourceQuotaClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewSecretClusterLister

func NewSecretClusterLister(indexer cache.Indexer) *secretClusterLister

NewSecretClusterLister returns a new SecretClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewServiceAccountClusterLister

func NewServiceAccountClusterLister(indexer cache.Indexer) *serviceAccountClusterLister

NewServiceAccountClusterLister returns a new ServiceAccountClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

func NewServiceClusterLister

func NewServiceClusterLister(indexer cache.Indexer) *serviceClusterLister

NewServiceClusterLister returns a new ServiceClusterLister. We assume that the indexer: - is fed by a cross-workspace LIST+WATCH - uses kcpcache.MetaClusterNamespaceKeyFunc as the key function - has the kcpcache.ClusterIndex as an index - has the kcpcache.ClusterAndNamespaceIndex as an index

Types

type ComponentStatusClusterLister

type ComponentStatusClusterLister interface {
	// List lists all ComponentStatuses in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.ComponentStatus, err error)
	// Cluster returns a lister that can list and get ComponentStatuses in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.ComponentStatusLister
	ComponentStatusClusterListerExpansion
}

ComponentStatusClusterLister can list ComponentStatuses across all workspaces, or scope down to a ComponentStatusLister for one workspace. All objects returned here must be treated as read-only.

type ComponentStatusClusterListerExpansion

type ComponentStatusClusterListerExpansion interface{}

ComponentStatusClusterListerExpansion allows custom methods to be added to ComponentStatusClusterLister.

type ConfigMapClusterLister

type ConfigMapClusterLister interface {
	// List lists all ConfigMaps in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.ConfigMap, err error)
	// Cluster returns a lister that can list and get ConfigMaps in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.ConfigMapLister
	ConfigMapClusterListerExpansion
}

ConfigMapClusterLister can list ConfigMaps across all workspaces, or scope down to a ConfigMapLister for one workspace. All objects returned here must be treated as read-only.

type ConfigMapClusterListerExpansion

type ConfigMapClusterListerExpansion interface{}

ConfigMapClusterListerExpansion allows custom methods to be added to ConfigMapClusterLister.

type EndpointsClusterLister

type EndpointsClusterLister interface {
	// List lists all Endpoints in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.Endpoints, err error)
	// Cluster returns a lister that can list and get Endpoints in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.EndpointsLister
	EndpointsClusterListerExpansion
}

EndpointsClusterLister can list Endpoints across all workspaces, or scope down to a EndpointsLister for one workspace. All objects returned here must be treated as read-only.

type EndpointsClusterListerExpansion

type EndpointsClusterListerExpansion interface{}

EndpointsClusterListerExpansion allows custom methods to be added to EndpointsClusterLister.

type EventClusterLister

type EventClusterLister interface {
	// List lists all Events in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.Event, err error)
	// Cluster returns a lister that can list and get Events in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.EventLister
	EventClusterListerExpansion
}

EventClusterLister can list Events across all workspaces, or scope down to a EventLister for one workspace. All objects returned here must be treated as read-only.

type EventClusterListerExpansion

type EventClusterListerExpansion interface{}

EventClusterListerExpansion allows custom methods to be added to EventClusterLister.

type LimitRangeClusterLister

type LimitRangeClusterLister interface {
	// List lists all LimitRanges in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.LimitRange, err error)
	// Cluster returns a lister that can list and get LimitRanges in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.LimitRangeLister
	LimitRangeClusterListerExpansion
}

LimitRangeClusterLister can list LimitRanges across all workspaces, or scope down to a LimitRangeLister for one workspace. All objects returned here must be treated as read-only.

type LimitRangeClusterListerExpansion

type LimitRangeClusterListerExpansion interface{}

LimitRangeClusterListerExpansion allows custom methods to be added to LimitRangeClusterLister.

type NamespaceClusterLister

type NamespaceClusterLister interface {
	// List lists all Namespaces in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.Namespace, err error)
	// Cluster returns a lister that can list and get Namespaces in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.NamespaceLister
	NamespaceClusterListerExpansion
}

NamespaceClusterLister can list Namespaces across all workspaces, or scope down to a NamespaceLister for one workspace. All objects returned here must be treated as read-only.

type NamespaceClusterListerExpansion

type NamespaceClusterListerExpansion interface{}

NamespaceClusterListerExpansion allows custom methods to be added to NamespaceClusterLister.

type NodeClusterLister

type NodeClusterLister interface {
	// List lists all Nodes in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.Node, err error)
	// Cluster returns a lister that can list and get Nodes in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.NodeLister
	NodeClusterListerExpansion
}

NodeClusterLister can list Nodes across all workspaces, or scope down to a NodeLister for one workspace. All objects returned here must be treated as read-only.

type NodeClusterListerExpansion

type NodeClusterListerExpansion interface{}

NodeClusterListerExpansion allows custom methods to be added to NodeClusterLister.

type PersistentVolumeClaimClusterLister

type PersistentVolumeClaimClusterLister interface {
	// List lists all PersistentVolumeClaims in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.PersistentVolumeClaim, err error)
	// Cluster returns a lister that can list and get PersistentVolumeClaims in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.PersistentVolumeClaimLister
	PersistentVolumeClaimClusterListerExpansion
}

PersistentVolumeClaimClusterLister can list PersistentVolumeClaims across all workspaces, or scope down to a PersistentVolumeClaimLister for one workspace. All objects returned here must be treated as read-only.

type PersistentVolumeClaimClusterListerExpansion

type PersistentVolumeClaimClusterListerExpansion interface{}

PersistentVolumeClaimClusterListerExpansion allows custom methods to be added to PersistentVolumeClaimClusterLister.

type PersistentVolumeClusterLister

type PersistentVolumeClusterLister interface {
	// List lists all PersistentVolumes in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.PersistentVolume, err error)
	// Cluster returns a lister that can list and get PersistentVolumes in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.PersistentVolumeLister
	PersistentVolumeClusterListerExpansion
}

PersistentVolumeClusterLister can list PersistentVolumes across all workspaces, or scope down to a PersistentVolumeLister for one workspace. All objects returned here must be treated as read-only.

type PersistentVolumeClusterListerExpansion

type PersistentVolumeClusterListerExpansion interface{}

PersistentVolumeClusterListerExpansion allows custom methods to be added to PersistentVolumeClusterLister.

type PodClusterLister

type PodClusterLister interface {
	// List lists all Pods in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.Pod, err error)
	// Cluster returns a lister that can list and get Pods in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.PodLister
	PodClusterListerExpansion
}

PodClusterLister can list Pods across all workspaces, or scope down to a PodLister for one workspace. All objects returned here must be treated as read-only.

type PodClusterListerExpansion

type PodClusterListerExpansion interface{}

PodClusterListerExpansion allows custom methods to be added to PodClusterLister.

type PodTemplateClusterLister

type PodTemplateClusterLister interface {
	// List lists all PodTemplates in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.PodTemplate, err error)
	// Cluster returns a lister that can list and get PodTemplates in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.PodTemplateLister
	PodTemplateClusterListerExpansion
}

PodTemplateClusterLister can list PodTemplates across all workspaces, or scope down to a PodTemplateLister for one workspace. All objects returned here must be treated as read-only.

type PodTemplateClusterListerExpansion

type PodTemplateClusterListerExpansion interface{}

PodTemplateClusterListerExpansion allows custom methods to be added to PodTemplateClusterLister.

type ReplicationControllerClusterLister

type ReplicationControllerClusterLister interface {
	// List lists all ReplicationControllers in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.ReplicationController, err error)
	// Cluster returns a lister that can list and get ReplicationControllers in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.ReplicationControllerLister
	ReplicationControllerClusterListerExpansion
}

ReplicationControllerClusterLister can list ReplicationControllers across all workspaces, or scope down to a ReplicationControllerLister for one workspace. All objects returned here must be treated as read-only.

type ReplicationControllerClusterListerExpansion

type ReplicationControllerClusterListerExpansion interface{}

ReplicationControllerClusterListerExpansion allows custom methods to be added to ReplicationControllerClusterLister.

type ReplicationControllerListerExpansion

type ReplicationControllerListerExpansion interface {
	GetPodControllers(pod *v1.Pod) ([]*v1.ReplicationController, error)
}

ReplicationControllerListerExpansion allows custom methods to be added to ReplicationControllerLister.

type ReplicationControllerNamespaceListerExpansion

type ReplicationControllerNamespaceListerExpansion interface{}

ReplicationControllerNamespaceListerExpansion allows custom methods to be added to ReplicationControllerNamespaceLister.

type ResourceQuotaClusterLister

type ResourceQuotaClusterLister interface {
	// List lists all ResourceQuotas in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.ResourceQuota, err error)
	// Cluster returns a lister that can list and get ResourceQuotas in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.ResourceQuotaLister
	ResourceQuotaClusterListerExpansion
}

ResourceQuotaClusterLister can list ResourceQuotas across all workspaces, or scope down to a ResourceQuotaLister for one workspace. All objects returned here must be treated as read-only.

type ResourceQuotaClusterListerExpansion

type ResourceQuotaClusterListerExpansion interface{}

ResourceQuotaClusterListerExpansion allows custom methods to be added to ResourceQuotaClusterLister.

type SecretClusterLister

type SecretClusterLister interface {
	// List lists all Secrets in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.Secret, err error)
	// Cluster returns a lister that can list and get Secrets in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.SecretLister
	SecretClusterListerExpansion
}

SecretClusterLister can list Secrets across all workspaces, or scope down to a SecretLister for one workspace. All objects returned here must be treated as read-only.

type SecretClusterListerExpansion

type SecretClusterListerExpansion interface{}

SecretClusterListerExpansion allows custom methods to be added to SecretClusterLister.

type ServiceAccountClusterLister

type ServiceAccountClusterLister interface {
	// List lists all ServiceAccounts in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.ServiceAccount, err error)
	// Cluster returns a lister that can list and get ServiceAccounts in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.ServiceAccountLister
	ServiceAccountClusterListerExpansion
}

ServiceAccountClusterLister can list ServiceAccounts across all workspaces, or scope down to a ServiceAccountLister for one workspace. All objects returned here must be treated as read-only.

type ServiceAccountClusterListerExpansion

type ServiceAccountClusterListerExpansion interface{}

ServiceAccountClusterListerExpansion allows custom methods to be added to ServiceAccountClusterLister.

type ServiceClusterLister

type ServiceClusterLister interface {
	// List lists all Services in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*corev1.Service, err error)
	// Cluster returns a lister that can list and get Services in one workspace.
	Cluster(clusterName logicalcluster.Name) corev1listers.ServiceLister
	ServiceClusterListerExpansion
}

ServiceClusterLister can list Services across all workspaces, or scope down to a ServiceLister for one workspace. All objects returned here must be treated as read-only.

type ServiceClusterListerExpansion

type ServiceClusterListerExpansion interface{}

ServiceClusterListerExpansion allows custom methods to be added to ServiceClusterLister.

Jump to

Keyboard shortcuts

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