...

Package v1

import "k8s.io/client-go/listers/apps/v1"
Overview
Index

Overview ▾

type ControllerRevisionLister

ControllerRevisionLister helps list ControllerRevisions. All objects returned here must be treated as read-only.

type ControllerRevisionLister interface {
    // List lists all ControllerRevisions in the indexer.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.ControllerRevision, err error)
    // ControllerRevisions returns an object that can list and get ControllerRevisions.
    ControllerRevisions(namespace string) ControllerRevisionNamespaceLister
    ControllerRevisionListerExpansion
}

func NewControllerRevisionLister

func NewControllerRevisionLister(indexer cache.Indexer) ControllerRevisionLister

NewControllerRevisionLister returns a new ControllerRevisionLister.

type ControllerRevisionListerExpansion

ControllerRevisionListerExpansion allows custom methods to be added to ControllerRevisionLister.

type ControllerRevisionListerExpansion interface{}

type ControllerRevisionNamespaceLister

ControllerRevisionNamespaceLister helps list and get ControllerRevisions. All objects returned here must be treated as read-only.

type ControllerRevisionNamespaceLister interface {
    // List lists all ControllerRevisions in the indexer for a given namespace.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.ControllerRevision, err error)
    // Get retrieves the ControllerRevision from the indexer for a given namespace and name.
    // Objects returned here must be treated as read-only.
    Get(name string) (*v1.ControllerRevision, error)
    ControllerRevisionNamespaceListerExpansion
}

type ControllerRevisionNamespaceListerExpansion

ControllerRevisionNamespaceListerExpansion allows custom methods to be added to ControllerRevisionNamespaceLister.

type ControllerRevisionNamespaceListerExpansion interface{}

type DaemonSetLister

DaemonSetLister helps list DaemonSets. All objects returned here must be treated as read-only.

type DaemonSetLister interface {
    // List lists all DaemonSets in the indexer.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.DaemonSet, err error)
    // DaemonSets returns an object that can list and get DaemonSets.
    DaemonSets(namespace string) DaemonSetNamespaceLister
    DaemonSetListerExpansion
}

func NewDaemonSetLister

func NewDaemonSetLister(indexer cache.Indexer) DaemonSetLister

NewDaemonSetLister returns a new DaemonSetLister.

type DaemonSetListerExpansion

DaemonSetListerExpansion allows custom methods to be added to DaemonSetLister.

type DaemonSetListerExpansion interface {
    GetPodDaemonSets(pod *v1.Pod) ([]*apps.DaemonSet, error)
    GetHistoryDaemonSets(history *apps.ControllerRevision) ([]*apps.DaemonSet, error)
}

type DaemonSetNamespaceLister

DaemonSetNamespaceLister helps list and get DaemonSets. All objects returned here must be treated as read-only.

type DaemonSetNamespaceLister interface {
    // List lists all DaemonSets in the indexer for a given namespace.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.DaemonSet, err error)
    // Get retrieves the DaemonSet from the indexer for a given namespace and name.
    // Objects returned here must be treated as read-only.
    Get(name string) (*v1.DaemonSet, error)
    DaemonSetNamespaceListerExpansion
}

type DaemonSetNamespaceListerExpansion

DaemonSetNamespaceListerExpansion allows custom methods to be added to DaemonSetNamespaceLister.

type DaemonSetNamespaceListerExpansion interface{}

type DeploymentLister

DeploymentLister helps list Deployments. All objects returned here must be treated as read-only.

type DeploymentLister interface {
    // List lists all Deployments in the indexer.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.Deployment, err error)
    // Deployments returns an object that can list and get Deployments.
    Deployments(namespace string) DeploymentNamespaceLister
    DeploymentListerExpansion
}

func NewDeploymentLister

func NewDeploymentLister(indexer cache.Indexer) DeploymentLister

NewDeploymentLister returns a new DeploymentLister.

type DeploymentListerExpansion

DeploymentListerExpansion allows custom methods to be added to DeploymentLister.

type DeploymentListerExpansion interface{}

type DeploymentNamespaceLister

DeploymentNamespaceLister helps list and get Deployments. All objects returned here must be treated as read-only.

type DeploymentNamespaceLister interface {
    // List lists all Deployments in the indexer for a given namespace.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.Deployment, err error)
    // Get retrieves the Deployment from the indexer for a given namespace and name.
    // Objects returned here must be treated as read-only.
    Get(name string) (*v1.Deployment, error)
    DeploymentNamespaceListerExpansion
}

type DeploymentNamespaceListerExpansion

DeploymentNamespaceListerExpansion allows custom methods to be added to DeploymentNamespaceLister.

type DeploymentNamespaceListerExpansion interface{}

type ReplicaSetLister

ReplicaSetLister helps list ReplicaSets. All objects returned here must be treated as read-only.

type ReplicaSetLister interface {
    // List lists all ReplicaSets in the indexer.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.ReplicaSet, err error)
    // ReplicaSets returns an object that can list and get ReplicaSets.
    ReplicaSets(namespace string) ReplicaSetNamespaceLister
    ReplicaSetListerExpansion
}

func NewReplicaSetLister

func NewReplicaSetLister(indexer cache.Indexer) ReplicaSetLister

NewReplicaSetLister returns a new ReplicaSetLister.

type ReplicaSetListerExpansion

ReplicaSetListerExpansion allows custom methods to be added to ReplicaSetLister.

type ReplicaSetListerExpansion interface {
    GetPodReplicaSets(pod *v1.Pod) ([]*apps.ReplicaSet, error)
}

type ReplicaSetNamespaceLister

ReplicaSetNamespaceLister helps list and get ReplicaSets. All objects returned here must be treated as read-only.

type ReplicaSetNamespaceLister interface {
    // List lists all ReplicaSets in the indexer for a given namespace.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.ReplicaSet, err error)
    // Get retrieves the ReplicaSet from the indexer for a given namespace and name.
    // Objects returned here must be treated as read-only.
    Get(name string) (*v1.ReplicaSet, error)
    ReplicaSetNamespaceListerExpansion
}

type ReplicaSetNamespaceListerExpansion

ReplicaSetNamespaceListerExpansion allows custom methods to be added to ReplicaSetNamespaceLister.

type ReplicaSetNamespaceListerExpansion interface{}

type StatefulSetLister

StatefulSetLister helps list StatefulSets. All objects returned here must be treated as read-only.

type StatefulSetLister interface {
    // List lists all StatefulSets in the indexer.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.StatefulSet, err error)
    // StatefulSets returns an object that can list and get StatefulSets.
    StatefulSets(namespace string) StatefulSetNamespaceLister
    StatefulSetListerExpansion
}

func NewStatefulSetLister

func NewStatefulSetLister(indexer cache.Indexer) StatefulSetLister

NewStatefulSetLister returns a new StatefulSetLister.

type StatefulSetListerExpansion

StatefulSetListerExpansion allows custom methods to be added to StatefulSetLister.

type StatefulSetListerExpansion interface {
    GetPodStatefulSets(pod *v1.Pod) ([]*apps.StatefulSet, error)
}

type StatefulSetNamespaceLister

StatefulSetNamespaceLister helps list and get StatefulSets. All objects returned here must be treated as read-only.

type StatefulSetNamespaceLister interface {
    // List lists all StatefulSets in the indexer for a given namespace.
    // Objects returned here must be treated as read-only.
    List(selector labels.Selector) (ret []*v1.StatefulSet, err error)
    // Get retrieves the StatefulSet from the indexer for a given namespace and name.
    // Objects returned here must be treated as read-only.
    Get(name string) (*v1.StatefulSet, error)
    StatefulSetNamespaceListerExpansion
}

type StatefulSetNamespaceListerExpansion

StatefulSetNamespaceListerExpansion allows custom methods to be added to StatefulSetNamespaceLister.

type StatefulSetNamespaceListerExpansion interface{}