Back to godoc.org
k8s.io/client-go/listers/core/v1

package v1

v11.0.0+incompatible
Latest Go to latest
Published: Mar 13, 2019 | License: Apache-2.0 | Module: k8s.io/client-go

Index

type ComponentStatusLister

type ComponentStatusLister interface {
	// List lists all ComponentStatuses in the indexer.
	List(selector labels.Selector) (ret []*v1.ComponentStatus, err error)
	// Get retrieves the ComponentStatus from the index for a given name.
	Get(name string) (*v1.ComponentStatus, error)
	ComponentStatusListerExpansion
}

ComponentStatusLister helps list ComponentStatuses.

func NewComponentStatusLister

func NewComponentStatusLister(indexer cache.Indexer) ComponentStatusLister

NewComponentStatusLister returns a new ComponentStatusLister.

type ComponentStatusListerExpansion

type ComponentStatusListerExpansion interface{}

ComponentStatusListerExpansion allows custom methods to be added to ComponentStatusLister.

type ConfigMapLister

type ConfigMapLister interface {
	// List lists all ConfigMaps in the indexer.
	List(selector labels.Selector) (ret []*v1.ConfigMap, err error)
	// ConfigMaps returns an object that can list and get ConfigMaps.
	ConfigMaps(namespace string) ConfigMapNamespaceLister
	ConfigMapListerExpansion
}

ConfigMapLister helps list ConfigMaps.

func NewConfigMapLister

func NewConfigMapLister(indexer cache.Indexer) ConfigMapLister

NewConfigMapLister returns a new ConfigMapLister.

type ConfigMapListerExpansion

type ConfigMapListerExpansion interface{}

ConfigMapListerExpansion allows custom methods to be added to ConfigMapLister.

type ConfigMapNamespaceLister

type ConfigMapNamespaceLister interface {
	// List lists all ConfigMaps in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.ConfigMap, err error)
	// Get retrieves the ConfigMap from the indexer for a given namespace and name.
	Get(name string) (*v1.ConfigMap, error)
	ConfigMapNamespaceListerExpansion
}

ConfigMapNamespaceLister helps list and get ConfigMaps.

type ConfigMapNamespaceListerExpansion

type ConfigMapNamespaceListerExpansion interface{}

ConfigMapNamespaceListerExpansion allows custom methods to be added to ConfigMapNamespaceLister.

type EndpointsLister

type EndpointsLister interface {
	// List lists all Endpoints in the indexer.
	List(selector labels.Selector) (ret []*v1.Endpoints, err error)
	// Endpoints returns an object that can list and get Endpoints.
	Endpoints(namespace string) EndpointsNamespaceLister
	EndpointsListerExpansion
}

EndpointsLister helps list Endpoints.

func NewEndpointsLister

func NewEndpointsLister(indexer cache.Indexer) EndpointsLister

NewEndpointsLister returns a new EndpointsLister.

type EndpointsListerExpansion

type EndpointsListerExpansion interface{}

EndpointsListerExpansion allows custom methods to be added to EndpointsLister.

type EndpointsNamespaceLister

type EndpointsNamespaceLister interface {
	// List lists all Endpoints in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.Endpoints, err error)
	// Get retrieves the Endpoints from the indexer for a given namespace and name.
	Get(name string) (*v1.Endpoints, error)
	EndpointsNamespaceListerExpansion
}

EndpointsNamespaceLister helps list and get Endpoints.

type EndpointsNamespaceListerExpansion

type EndpointsNamespaceListerExpansion interface{}

EndpointsNamespaceListerExpansion allows custom methods to be added to EndpointsNamespaceLister.

type EventLister

type EventLister interface {
	// List lists all Events in the indexer.
	List(selector labels.Selector) (ret []*v1.Event, err error)
	// Events returns an object that can list and get Events.
	Events(namespace string) EventNamespaceLister
	EventListerExpansion
}

EventLister helps list Events.

func NewEventLister

func NewEventLister(indexer cache.Indexer) EventLister

NewEventLister returns a new EventLister.

type EventListerExpansion

type EventListerExpansion interface{}

EventListerExpansion allows custom methods to be added to EventLister.

type EventNamespaceLister

type EventNamespaceLister interface {
	// List lists all Events in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.Event, err error)
	// Get retrieves the Event from the indexer for a given namespace and name.
	Get(name string) (*v1.Event, error)
	EventNamespaceListerExpansion
}

EventNamespaceLister helps list and get Events.

type EventNamespaceListerExpansion

type EventNamespaceListerExpansion interface{}

EventNamespaceListerExpansion allows custom methods to be added to EventNamespaceLister.

type LimitRangeLister

type LimitRangeLister interface {
	// List lists all LimitRanges in the indexer.
	List(selector labels.Selector) (ret []*v1.LimitRange, err error)
	// LimitRanges returns an object that can list and get LimitRanges.
	LimitRanges(namespace string) LimitRangeNamespaceLister
	LimitRangeListerExpansion
}

LimitRangeLister helps list LimitRanges.

func NewLimitRangeLister

func NewLimitRangeLister(indexer cache.Indexer) LimitRangeLister

NewLimitRangeLister returns a new LimitRangeLister.

type LimitRangeListerExpansion

type LimitRangeListerExpansion interface{}

LimitRangeListerExpansion allows custom methods to be added to LimitRangeLister.

type LimitRangeNamespaceLister

type LimitRangeNamespaceLister interface {
	// List lists all LimitRanges in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.LimitRange, err error)
	// Get retrieves the LimitRange from the indexer for a given namespace and name.
	Get(name string) (*v1.LimitRange, error)
	LimitRangeNamespaceListerExpansion
}

LimitRangeNamespaceLister helps list and get LimitRanges.

type LimitRangeNamespaceListerExpansion

type LimitRangeNamespaceListerExpansion interface{}

LimitRangeNamespaceListerExpansion allows custom methods to be added to LimitRangeNamespaceLister.

type NamespaceLister

type NamespaceLister interface {
	// List lists all Namespaces in the indexer.
	List(selector labels.Selector) (ret []*v1.Namespace, err error)
	// Get retrieves the Namespace from the index for a given name.
	Get(name string) (*v1.Namespace, error)
	NamespaceListerExpansion
}

NamespaceLister helps list Namespaces.

func NewNamespaceLister

func NewNamespaceLister(indexer cache.Indexer) NamespaceLister

NewNamespaceLister returns a new NamespaceLister.

type NamespaceListerExpansion

type NamespaceListerExpansion interface{}

NamespaceListerExpansion allows custom methods to be added to NamespaceLister.

type NodeConditionPredicate

type NodeConditionPredicate func(node *v1.Node) bool

NodeConditionPredicate is a function that indicates whether the given node's conditions meet some set of criteria defined by the function.

type NodeLister

type NodeLister interface {
	// List lists all Nodes in the indexer.
	List(selector labels.Selector) (ret []*v1.Node, err error)
	// Get retrieves the Node from the index for a given name.
	Get(name string) (*v1.Node, error)
	NodeListerExpansion
}

NodeLister helps list Nodes.

func NewNodeLister

func NewNodeLister(indexer cache.Indexer) NodeLister

NewNodeLister returns a new NodeLister.

type NodeListerExpansion

type NodeListerExpansion interface {
	ListWithPredicate(predicate NodeConditionPredicate) ([]*v1.Node, error)
}

NodeListerExpansion allows custom methods to be added to NodeLister.

type PersistentVolumeClaimLister

type PersistentVolumeClaimLister interface {
	// List lists all PersistentVolumeClaims in the indexer.
	List(selector labels.Selector) (ret []*v1.PersistentVolumeClaim, err error)
	// PersistentVolumeClaims returns an object that can list and get PersistentVolumeClaims.
	PersistentVolumeClaims(namespace string) PersistentVolumeClaimNamespaceLister
	PersistentVolumeClaimListerExpansion
}

PersistentVolumeClaimLister helps list PersistentVolumeClaims.

func NewPersistentVolumeClaimLister

func NewPersistentVolumeClaimLister(indexer cache.Indexer) PersistentVolumeClaimLister

NewPersistentVolumeClaimLister returns a new PersistentVolumeClaimLister.

type PersistentVolumeClaimListerExpansion

type PersistentVolumeClaimListerExpansion interface{}

PersistentVolumeClaimListerExpansion allows custom methods to be added to PersistentVolumeClaimLister.

type PersistentVolumeClaimNamespaceLister

type PersistentVolumeClaimNamespaceLister interface {
	// List lists all PersistentVolumeClaims in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.PersistentVolumeClaim, err error)
	// Get retrieves the PersistentVolumeClaim from the indexer for a given namespace and name.
	Get(name string) (*v1.PersistentVolumeClaim, error)
	PersistentVolumeClaimNamespaceListerExpansion
}

PersistentVolumeClaimNamespaceLister helps list and get PersistentVolumeClaims.

type PersistentVolumeClaimNamespaceListerExpansion

type PersistentVolumeClaimNamespaceListerExpansion interface{}

PersistentVolumeClaimNamespaceListerExpansion allows custom methods to be added to PersistentVolumeClaimNamespaceLister.

type PersistentVolumeLister

type PersistentVolumeLister interface {
	// List lists all PersistentVolumes in the indexer.
	List(selector labels.Selector) (ret []*v1.PersistentVolume, err error)
	// Get retrieves the PersistentVolume from the index for a given name.
	Get(name string) (*v1.PersistentVolume, error)
	PersistentVolumeListerExpansion
}

PersistentVolumeLister helps list PersistentVolumes.

func NewPersistentVolumeLister

func NewPersistentVolumeLister(indexer cache.Indexer) PersistentVolumeLister

NewPersistentVolumeLister returns a new PersistentVolumeLister.

type PersistentVolumeListerExpansion

type PersistentVolumeListerExpansion interface{}

PersistentVolumeListerExpansion allows custom methods to be added to PersistentVolumeLister.

type PodLister

type PodLister interface {
	// List lists all Pods in the indexer.
	List(selector labels.Selector) (ret []*v1.Pod, err error)
	// Pods returns an object that can list and get Pods.
	Pods(namespace string) PodNamespaceLister
	PodListerExpansion
}

PodLister helps list Pods.

func NewPodLister

func NewPodLister(indexer cache.Indexer) PodLister

NewPodLister returns a new PodLister.

type PodListerExpansion

type PodListerExpansion interface{}

PodListerExpansion allows custom methods to be added to PodLister.

type PodNamespaceLister

type PodNamespaceLister interface {
	// List lists all Pods in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.Pod, err error)
	// Get retrieves the Pod from the indexer for a given namespace and name.
	Get(name string) (*v1.Pod, error)
	PodNamespaceListerExpansion
}

PodNamespaceLister helps list and get Pods.

type PodNamespaceListerExpansion

type PodNamespaceListerExpansion interface{}

PodNamespaceListerExpansion allows custom methods to be added to PodNamespaceLister.

type PodTemplateLister

type PodTemplateLister interface {
	// List lists all PodTemplates in the indexer.
	List(selector labels.Selector) (ret []*v1.PodTemplate, err error)
	// PodTemplates returns an object that can list and get PodTemplates.
	PodTemplates(namespace string) PodTemplateNamespaceLister
	PodTemplateListerExpansion
}

PodTemplateLister helps list PodTemplates.

func NewPodTemplateLister

func NewPodTemplateLister(indexer cache.Indexer) PodTemplateLister

NewPodTemplateLister returns a new PodTemplateLister.

type PodTemplateListerExpansion

type PodTemplateListerExpansion interface{}

PodTemplateListerExpansion allows custom methods to be added to PodTemplateLister.

type PodTemplateNamespaceLister

type PodTemplateNamespaceLister interface {
	// List lists all PodTemplates in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.PodTemplate, err error)
	// Get retrieves the PodTemplate from the indexer for a given namespace and name.
	Get(name string) (*v1.PodTemplate, error)
	PodTemplateNamespaceListerExpansion
}

PodTemplateNamespaceLister helps list and get PodTemplates.

type PodTemplateNamespaceListerExpansion

type PodTemplateNamespaceListerExpansion interface{}

PodTemplateNamespaceListerExpansion allows custom methods to be added to PodTemplateNamespaceLister.

type ReplicationControllerLister

type ReplicationControllerLister interface {
	// List lists all ReplicationControllers in the indexer.
	List(selector labels.Selector) (ret []*v1.ReplicationController, err error)
	// ReplicationControllers returns an object that can list and get ReplicationControllers.
	ReplicationControllers(namespace string) ReplicationControllerNamespaceLister
	ReplicationControllerListerExpansion
}

ReplicationControllerLister helps list ReplicationControllers.

func NewReplicationControllerLister

func NewReplicationControllerLister(indexer cache.Indexer) ReplicationControllerLister

NewReplicationControllerLister returns a new ReplicationControllerLister.

type ReplicationControllerListerExpansion

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

ReplicationControllerListerExpansion allows custom methods to be added to ReplicationControllerLister.

type ReplicationControllerNamespaceLister

type ReplicationControllerNamespaceLister interface {
	// List lists all ReplicationControllers in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.ReplicationController, err error)
	// Get retrieves the ReplicationController from the indexer for a given namespace and name.
	Get(name string) (*v1.ReplicationController, error)
	ReplicationControllerNamespaceListerExpansion
}

ReplicationControllerNamespaceLister helps list and get ReplicationControllers.

type ReplicationControllerNamespaceListerExpansion

type ReplicationControllerNamespaceListerExpansion interface{}

ReplicationControllerNamespaceListerExpansion allows custom methods to be added to ReplicationControllerNamespaceLister.

type ResourceQuotaLister

type ResourceQuotaLister interface {
	// List lists all ResourceQuotas in the indexer.
	List(selector labels.Selector) (ret []*v1.ResourceQuota, err error)
	// ResourceQuotas returns an object that can list and get ResourceQuotas.
	ResourceQuotas(namespace string) ResourceQuotaNamespaceLister
	ResourceQuotaListerExpansion
}

ResourceQuotaLister helps list ResourceQuotas.

func NewResourceQuotaLister

func NewResourceQuotaLister(indexer cache.Indexer) ResourceQuotaLister

NewResourceQuotaLister returns a new ResourceQuotaLister.

type ResourceQuotaListerExpansion

type ResourceQuotaListerExpansion interface{}

ResourceQuotaListerExpansion allows custom methods to be added to ResourceQuotaLister.

type ResourceQuotaNamespaceLister

type ResourceQuotaNamespaceLister interface {
	// List lists all ResourceQuotas in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.ResourceQuota, err error)
	// Get retrieves the ResourceQuota from the indexer for a given namespace and name.
	Get(name string) (*v1.ResourceQuota, error)
	ResourceQuotaNamespaceListerExpansion
}

ResourceQuotaNamespaceLister helps list and get ResourceQuotas.

type ResourceQuotaNamespaceListerExpansion

type ResourceQuotaNamespaceListerExpansion interface{}

ResourceQuotaNamespaceListerExpansion allows custom methods to be added to ResourceQuotaNamespaceLister.

type SecretLister

type SecretLister interface {
	// List lists all Secrets in the indexer.
	List(selector labels.Selector) (ret []*v1.Secret, err error)
	// Secrets returns an object that can list and get Secrets.
	Secrets(namespace string) SecretNamespaceLister
	SecretListerExpansion
}

SecretLister helps list Secrets.

func NewSecretLister

func NewSecretLister(indexer cache.Indexer) SecretLister

NewSecretLister returns a new SecretLister.

type SecretListerExpansion

type SecretListerExpansion interface{}

SecretListerExpansion allows custom methods to be added to SecretLister.

type SecretNamespaceLister

type SecretNamespaceLister interface {
	// List lists all Secrets in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.Secret, err error)
	// Get retrieves the Secret from the indexer for a given namespace and name.
	Get(name string) (*v1.Secret, error)
	SecretNamespaceListerExpansion
}

SecretNamespaceLister helps list and get Secrets.

type SecretNamespaceListerExpansion

type SecretNamespaceListerExpansion interface{}

SecretNamespaceListerExpansion allows custom methods to be added to SecretNamespaceLister.

type ServiceAccountLister

type ServiceAccountLister interface {
	// List lists all ServiceAccounts in the indexer.
	List(selector labels.Selector) (ret []*v1.ServiceAccount, err error)
	// ServiceAccounts returns an object that can list and get ServiceAccounts.
	ServiceAccounts(namespace string) ServiceAccountNamespaceLister
	ServiceAccountListerExpansion
}

ServiceAccountLister helps list ServiceAccounts.

func NewServiceAccountLister

func NewServiceAccountLister(indexer cache.Indexer) ServiceAccountLister

NewServiceAccountLister returns a new ServiceAccountLister.

type ServiceAccountListerExpansion

type ServiceAccountListerExpansion interface{}

ServiceAccountListerExpansion allows custom methods to be added to ServiceAccountLister.

type ServiceAccountNamespaceLister

type ServiceAccountNamespaceLister interface {
	// List lists all ServiceAccounts in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.ServiceAccount, err error)
	// Get retrieves the ServiceAccount from the indexer for a given namespace and name.
	Get(name string) (*v1.ServiceAccount, error)
	ServiceAccountNamespaceListerExpansion
}

ServiceAccountNamespaceLister helps list and get ServiceAccounts.

type ServiceAccountNamespaceListerExpansion

type ServiceAccountNamespaceListerExpansion interface{}

ServiceAccountNamespaceListerExpansion allows custom methods to be added to ServiceAccountNamespaceLister.

type ServiceLister

type ServiceLister interface {
	// List lists all Services in the indexer.
	List(selector labels.Selector) (ret []*v1.Service, err error)
	// Services returns an object that can list and get Services.
	Services(namespace string) ServiceNamespaceLister
	ServiceListerExpansion
}

ServiceLister helps list Services.

func NewServiceLister

func NewServiceLister(indexer cache.Indexer) ServiceLister

NewServiceLister returns a new ServiceLister.

type ServiceListerExpansion

type ServiceListerExpansion interface {
	GetPodServices(pod *v1.Pod) ([]*v1.Service, error)
}

ServiceListerExpansion allows custom methods to be added to ServiceLister.

type ServiceNamespaceLister

type ServiceNamespaceLister interface {
	// List lists all Services in the indexer for a given namespace.
	List(selector labels.Selector) (ret []*v1.Service, err error)
	// Get retrieves the Service from the indexer for a given namespace and name.
	Get(name string) (*v1.Service, error)
	ServiceNamespaceListerExpansion
}

ServiceNamespaceLister helps list and get Services.

type ServiceNamespaceListerExpansion

type ServiceNamespaceListerExpansion interface{}

ServiceNamespaceListerExpansion allows custom methods to be added to ServiceNamespaceLister.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier