client-go: k8s.io/client-go/listers/core/v1 Index | Files

package v1

import "k8s.io/client-go/listers/core/v1"

Index

Package Files

componentstatus.go configmap.go endpoints.go event.go expansion_generated.go limitrange.go namespace.go node.go node_expansion.go persistentvolume.go persistentvolumeclaim.go pod.go podtemplate.go replicationcontroller.go replicationcontroller_expansion.go resourcequota.go secret.go service.go service_expansion.go serviceaccount.go

type ComponentStatusLister Uses

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 Uses

func NewComponentStatusLister(indexer cache.Indexer) ComponentStatusLister

NewComponentStatusLister returns a new ComponentStatusLister.

type ComponentStatusListerExpansion Uses

type ComponentStatusListerExpansion interface{}

ComponentStatusListerExpansion allows custom methods to be added to ComponentStatusLister.

type ConfigMapLister Uses

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 Uses

func NewConfigMapLister(indexer cache.Indexer) ConfigMapLister

NewConfigMapLister returns a new ConfigMapLister.

type ConfigMapListerExpansion Uses

type ConfigMapListerExpansion interface{}

ConfigMapListerExpansion allows custom methods to be added to ConfigMapLister.

type ConfigMapNamespaceLister Uses

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 Uses

type ConfigMapNamespaceListerExpansion interface{}

ConfigMapNamespaceListerExpansion allows custom methods to be added to ConfigMapNamespaceLister.

type EndpointsLister Uses

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 Uses

func NewEndpointsLister(indexer cache.Indexer) EndpointsLister

NewEndpointsLister returns a new EndpointsLister.

type EndpointsListerExpansion Uses

type EndpointsListerExpansion interface{}

EndpointsListerExpansion allows custom methods to be added to EndpointsLister.

type EndpointsNamespaceLister Uses

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 Uses

type EndpointsNamespaceListerExpansion interface{}

EndpointsNamespaceListerExpansion allows custom methods to be added to EndpointsNamespaceLister.

type EventLister Uses

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 Uses

func NewEventLister(indexer cache.Indexer) EventLister

NewEventLister returns a new EventLister.

type EventListerExpansion Uses

type EventListerExpansion interface{}

EventListerExpansion allows custom methods to be added to EventLister.

type EventNamespaceLister Uses

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 Uses

type EventNamespaceListerExpansion interface{}

EventNamespaceListerExpansion allows custom methods to be added to EventNamespaceLister.

type LimitRangeLister Uses

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 Uses

func NewLimitRangeLister(indexer cache.Indexer) LimitRangeLister

NewLimitRangeLister returns a new LimitRangeLister.

type LimitRangeListerExpansion Uses

type LimitRangeListerExpansion interface{}

LimitRangeListerExpansion allows custom methods to be added to LimitRangeLister.

type LimitRangeNamespaceLister Uses

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 Uses

type LimitRangeNamespaceListerExpansion interface{}

LimitRangeNamespaceListerExpansion allows custom methods to be added to LimitRangeNamespaceLister.

type NamespaceLister Uses

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 Uses

func NewNamespaceLister(indexer cache.Indexer) NamespaceLister

NewNamespaceLister returns a new NamespaceLister.

type NamespaceListerExpansion Uses

type NamespaceListerExpansion interface{}

NamespaceListerExpansion allows custom methods to be added to NamespaceLister.

type NodeConditionPredicate Uses

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 Uses

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 Uses

func NewNodeLister(indexer cache.Indexer) NodeLister

NewNodeLister returns a new NodeLister.

type NodeListerExpansion Uses

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

NodeListerExpansion allows custom methods to be added to NodeLister.

type PersistentVolumeClaimLister Uses

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 Uses

func NewPersistentVolumeClaimLister(indexer cache.Indexer) PersistentVolumeClaimLister

NewPersistentVolumeClaimLister returns a new PersistentVolumeClaimLister.

type PersistentVolumeClaimListerExpansion Uses

type PersistentVolumeClaimListerExpansion interface{}

PersistentVolumeClaimListerExpansion allows custom methods to be added to PersistentVolumeClaimLister.

type PersistentVolumeClaimNamespaceLister Uses

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 Uses

type PersistentVolumeClaimNamespaceListerExpansion interface{}

PersistentVolumeClaimNamespaceListerExpansion allows custom methods to be added to PersistentVolumeClaimNamespaceLister.

type PersistentVolumeLister Uses

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 Uses

func NewPersistentVolumeLister(indexer cache.Indexer) PersistentVolumeLister

NewPersistentVolumeLister returns a new PersistentVolumeLister.

type PersistentVolumeListerExpansion Uses

type PersistentVolumeListerExpansion interface{}

PersistentVolumeListerExpansion allows custom methods to be added to PersistentVolumeLister.

type PodLister Uses

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 Uses

func NewPodLister(indexer cache.Indexer) PodLister

NewPodLister returns a new PodLister.

type PodListerExpansion Uses

type PodListerExpansion interface{}

PodListerExpansion allows custom methods to be added to PodLister.

type PodNamespaceLister Uses

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 Uses

type PodNamespaceListerExpansion interface{}

PodNamespaceListerExpansion allows custom methods to be added to PodNamespaceLister.

type PodTemplateLister Uses

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 Uses

func NewPodTemplateLister(indexer cache.Indexer) PodTemplateLister

NewPodTemplateLister returns a new PodTemplateLister.

type PodTemplateListerExpansion Uses

type PodTemplateListerExpansion interface{}

PodTemplateListerExpansion allows custom methods to be added to PodTemplateLister.

type PodTemplateNamespaceLister Uses

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 Uses

type PodTemplateNamespaceListerExpansion interface{}

PodTemplateNamespaceListerExpansion allows custom methods to be added to PodTemplateNamespaceLister.

type ReplicationControllerLister Uses

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 Uses

func NewReplicationControllerLister(indexer cache.Indexer) ReplicationControllerLister

NewReplicationControllerLister returns a new ReplicationControllerLister.

type ReplicationControllerListerExpansion Uses

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

ReplicationControllerListerExpansion allows custom methods to be added to ReplicationControllerLister.

type ReplicationControllerNamespaceLister Uses

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 Uses

type ReplicationControllerNamespaceListerExpansion interface{}

ReplicationControllerNamespaceListerExpansion allows custom methods to be added to ReplicationControllerNamespaceLister.

type ResourceQuotaLister Uses

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 Uses

func NewResourceQuotaLister(indexer cache.Indexer) ResourceQuotaLister

NewResourceQuotaLister returns a new ResourceQuotaLister.

type ResourceQuotaListerExpansion Uses

type ResourceQuotaListerExpansion interface{}

ResourceQuotaListerExpansion allows custom methods to be added to ResourceQuotaLister.

type ResourceQuotaNamespaceLister Uses

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 Uses

type ResourceQuotaNamespaceListerExpansion interface{}

ResourceQuotaNamespaceListerExpansion allows custom methods to be added to ResourceQuotaNamespaceLister.

type SecretLister Uses

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 Uses

func NewSecretLister(indexer cache.Indexer) SecretLister

NewSecretLister returns a new SecretLister.

type SecretListerExpansion Uses

type SecretListerExpansion interface{}

SecretListerExpansion allows custom methods to be added to SecretLister.

type SecretNamespaceLister Uses

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 Uses

type SecretNamespaceListerExpansion interface{}

SecretNamespaceListerExpansion allows custom methods to be added to SecretNamespaceLister.

type ServiceAccountLister Uses

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 Uses

func NewServiceAccountLister(indexer cache.Indexer) ServiceAccountLister

NewServiceAccountLister returns a new ServiceAccountLister.

type ServiceAccountListerExpansion Uses

type ServiceAccountListerExpansion interface{}

ServiceAccountListerExpansion allows custom methods to be added to ServiceAccountLister.

type ServiceAccountNamespaceLister Uses

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 Uses

type ServiceAccountNamespaceListerExpansion interface{}

ServiceAccountNamespaceListerExpansion allows custom methods to be added to ServiceAccountNamespaceLister.

type ServiceLister Uses

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 Uses

func NewServiceLister(indexer cache.Indexer) ServiceLister

NewServiceLister returns a new ServiceLister.

type ServiceListerExpansion Uses

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

ServiceListerExpansion allows custom methods to be added to ServiceLister.

type ServiceNamespaceLister Uses

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 Uses

type ServiceNamespaceListerExpansion interface{}

ServiceNamespaceListerExpansion allows custom methods to be added to ServiceNamespaceLister.

Package v1 imports 5 packages (graph) and is imported by 234 packages. Updated 2018-01-04. Refresh now. Tools for package owners.