Help us shape the future of Go! Take the 2026 Go Developer Survey

lister

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerRevisionLister

type ControllerRevisionLister interface {
	// List lists all ControllerRevisions in the indexer.
	List(selector labels.Selector) (ret []*v1.ControllerRevision, err error)

	ConversionList(selector labels.Selector) ([]*appsv1.ControllerRevision, error)
	// ControllerRevisions returns an object that can list and get ControllerRevisions.
	ControllerRevisions(namespace string) ControllerRevisionNamespaceLister
}

ControllerRevisionLister helps list ControllerRevisions.

func NewControllerRevisionLister

func NewControllerRevisionLister(indexer cache.Indexer) ControllerRevisionLister

NewControllerRevisionLister returns a new ControllerRevisionLister.

type ControllerRevisionNamespaceLister

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

ControllerRevisionNamespaceLister helps list and get ControllerRevisions.

type DaemonSetLister

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

DaemonSetLister helps list DaemonSets.

func NewDaemonSetLister

func NewDaemonSetLister(indexer cache.Indexer) DaemonSetLister

NewDaemonSetLister returns a new DaemonSetLister.

type DaemonSetNamespaceLister

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

DaemonSetNamespaceLister helps list and get DaemonSets.

type DeploymentLister

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

DeploymentLister helps list Deployments.

func NewDeploymentLister

func NewDeploymentLister(indexer cache.Indexer) DeploymentLister

NewDeploymentLister returns a new DeploymentLister.

type DeploymentNamespaceLister

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

DeploymentNamespaceLister helps list and get Deployments.

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
}

PodLister helps list Pods.

func NewPodLister

func NewPodLister(indexer cache.Indexer) PodLister

NewPodLister returns a new 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)
}

PodNamespaceLister helps list and get Pods.

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
}

PodTemplateLister helps list PodTemplates.

func NewPodTemplateLister

func NewPodTemplateLister(indexer cache.Indexer) PodTemplateLister

NewPodTemplateLister returns a new 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)
}

PodTemplateNamespaceLister helps list and get PodTemplates.

type ReplicaSetLister

type ReplicaSetLister interface {
	// List lists all ReplicaSets in the indexer.
	List(selector labels.Selector) (ret []*v1.ReplicaSet, err error)
	// ReplicaSets returns an object that can list and get ReplicaSets.
	ReplicaSets(namespace string) ReplicaSetNamespaceLister
	GetPodReplicaSets(pod *v1.Pod) ([]*v1.ReplicaSet, error)
}

ReplicaSetLister helps list ReplicaSets.

func NewReplicaSetLister

func NewReplicaSetLister(indexer cache.Indexer) ReplicaSetLister

NewReplicaSetLister returns a new ReplicaSetLister.

type ReplicaSetNamespaceLister

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

ReplicaSetNamespaceLister helps list and get ReplicaSets.

type StatefulSetLister

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

StatefulSetLister helps list StatefulSets.

func NewStatefulSetLister

func NewStatefulSetLister(indexer cache.Indexer) StatefulSetLister

NewStatefulSetLister returns a new StatefulSetLister.

type StatefulSetNamespaceLister

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

StatefulSetNamespaceLister helps list and get StatefulSets.

Jump to

Keyboard shortcuts

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