Documentation ¶
Index ¶
- func NewComponentStatusClusterLister(indexer cache.Indexer) *componentStatusClusterLister
- func NewConfigMapClusterLister(indexer cache.Indexer) *configMapClusterLister
- func NewEndpointsClusterLister(indexer cache.Indexer) *endpointsClusterLister
- func NewEventClusterLister(indexer cache.Indexer) *eventClusterLister
- func NewLimitRangeClusterLister(indexer cache.Indexer) *limitRangeClusterLister
- func NewNamespaceClusterLister(indexer cache.Indexer) *namespaceClusterLister
- func NewNodeClusterLister(indexer cache.Indexer) *nodeClusterLister
- func NewPersistentVolumeClaimClusterLister(indexer cache.Indexer) *persistentVolumeClaimClusterLister
- func NewPersistentVolumeClusterLister(indexer cache.Indexer) *persistentVolumeClusterLister
- func NewPodClusterLister(indexer cache.Indexer) *podClusterLister
- func NewPodTemplateClusterLister(indexer cache.Indexer) *podTemplateClusterLister
- func NewReplicationControllerClusterLister(indexer cache.Indexer) *replicationControllerClusterLister
- func NewResourceQuotaClusterLister(indexer cache.Indexer) *resourceQuotaClusterLister
- func NewSecretClusterLister(indexer cache.Indexer) *secretClusterLister
- func NewServiceAccountClusterLister(indexer cache.Indexer) *serviceAccountClusterLister
- func NewServiceClusterLister(indexer cache.Indexer) *serviceClusterLister
- type ComponentStatusClusterLister
- type ComponentStatusClusterListerExpansion
- type ConfigMapClusterLister
- type ConfigMapClusterListerExpansion
- type EndpointsClusterLister
- type EndpointsClusterListerExpansion
- type EventClusterLister
- type EventClusterListerExpansion
- type LimitRangeClusterLister
- type LimitRangeClusterListerExpansion
- type NamespaceClusterLister
- type NamespaceClusterListerExpansion
- type NodeClusterLister
- type NodeClusterListerExpansion
- type PersistentVolumeClaimClusterLister
- type PersistentVolumeClaimClusterListerExpansion
- type PersistentVolumeClusterLister
- type PersistentVolumeClusterListerExpansion
- type PodClusterLister
- type PodClusterListerExpansion
- type PodTemplateClusterLister
- type PodTemplateClusterListerExpansion
- type ReplicationControllerClusterLister
- type ReplicationControllerClusterListerExpansion
- type ReplicationControllerListerExpansion
- type ReplicationControllerNamespaceListerExpansion
- type ResourceQuotaClusterLister
- type ResourceQuotaClusterListerExpansion
- type SecretClusterLister
- type SecretClusterListerExpansion
- type ServiceAccountClusterLister
- type ServiceAccountClusterListerExpansion
- type ServiceClusterLister
- type ServiceClusterListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewComponentStatusClusterLister ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
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.
Source Files ¶
- componentstatus.go
- componentstatus_expansion.go
- configmap.go
- configmap_expansion.go
- endpoints.go
- endpoints_expansion.go
- event.go
- event_expansion.go
- limitrange.go
- limitrange_expansion.go
- namespace.go
- namespace_expansion.go
- node.go
- node_expansion.go
- persistentvolume.go
- persistentvolume_expansion.go
- persistentvolumeclaim.go
- persistentvolumeclaim_expansion.go
- pod.go
- pod_expansion.go
- podtemplate.go
- podtemplate_expansion.go
- replicationcontroller.go
- replicationcontroller_expansion.go
- resourcequota.go
- resourcequota_expansion.go
- secret.go
- secret_expansion.go
- service.go
- service_expansion.go
- serviceaccount.go
- serviceaccount_expansion.go