v1beta2

package
v0.0.0-...-0416c83 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewControllerRevisionClusterLister

func NewControllerRevisionClusterLister(indexer cache.Indexer) *controllerRevisionClusterLister

NewControllerRevisionClusterLister returns a new ControllerRevisionClusterLister. 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 NewDaemonSetClusterLister

func NewDaemonSetClusterLister(indexer cache.Indexer) *daemonSetClusterLister

NewDaemonSetClusterLister returns a new DaemonSetClusterLister. 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 NewDeploymentClusterLister

func NewDeploymentClusterLister(indexer cache.Indexer) *deploymentClusterLister

NewDeploymentClusterLister returns a new DeploymentClusterLister. 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 NewReplicaSetClusterLister

func NewReplicaSetClusterLister(indexer cache.Indexer) *replicaSetClusterLister

NewReplicaSetClusterLister returns a new ReplicaSetClusterLister. 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 NewStatefulSetClusterLister

func NewStatefulSetClusterLister(indexer cache.Indexer) *statefulSetClusterLister

NewStatefulSetClusterLister returns a new StatefulSetClusterLister. 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 ControllerRevisionClusterLister

type ControllerRevisionClusterLister interface {
	// List lists all ControllerRevisions in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*appsv1beta2.ControllerRevision, err error)
	// Cluster returns a lister that can list and get ControllerRevisions in one workspace.
	Cluster(clusterName logicalcluster.Name) appsv1beta2listers.ControllerRevisionLister
	ControllerRevisionClusterListerExpansion
}

ControllerRevisionClusterLister can list ControllerRevisions across all workspaces, or scope down to a ControllerRevisionLister for one workspace. All objects returned here must be treated as read-only.

type ControllerRevisionClusterListerExpansion

type ControllerRevisionClusterListerExpansion interface{}

ControllerRevisionClusterListerExpansion allows custom methods to be added to ControllerRevisionClusterLister.

type DaemonSetClusterLister

type DaemonSetClusterLister interface {
	// List lists all DaemonSets in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*appsv1beta2.DaemonSet, err error)
	// Cluster returns a lister that can list and get DaemonSets in one workspace.
	Cluster(clusterName logicalcluster.Name) appsv1beta2listers.DaemonSetLister
	DaemonSetClusterListerExpansion
}

DaemonSetClusterLister can list DaemonSets across all workspaces, or scope down to a DaemonSetLister for one workspace. All objects returned here must be treated as read-only.

type DaemonSetClusterListerExpansion

type DaemonSetClusterListerExpansion interface{}

DaemonSetClusterListerExpansion allows custom methods to be added to DaemonSetClusterLister.

type DaemonSetListerExpansion

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

DaemonSetListerExpansion allows custom methods to be added to DaemonSetLister.

type DaemonSetNamespaceListerExpansion

type DaemonSetNamespaceListerExpansion interface{}

DaemonSetNamespaceListerExpansion allows custom methods to be added to DaemonSetNamespaceLister.

type DeploymentClusterLister

type DeploymentClusterLister interface {
	// List lists all Deployments in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*appsv1beta2.Deployment, err error)
	// Cluster returns a lister that can list and get Deployments in one workspace.
	Cluster(clusterName logicalcluster.Name) appsv1beta2listers.DeploymentLister
	DeploymentClusterListerExpansion
}

DeploymentClusterLister can list Deployments across all workspaces, or scope down to a DeploymentLister for one workspace. All objects returned here must be treated as read-only.

type DeploymentClusterListerExpansion

type DeploymentClusterListerExpansion interface{}

DeploymentClusterListerExpansion allows custom methods to be added to DeploymentClusterLister.

type ReplicaSetClusterLister

type ReplicaSetClusterLister interface {
	// List lists all ReplicaSets in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*appsv1beta2.ReplicaSet, err error)
	// Cluster returns a lister that can list and get ReplicaSets in one workspace.
	Cluster(clusterName logicalcluster.Name) appsv1beta2listers.ReplicaSetLister
	ReplicaSetClusterListerExpansion
}

ReplicaSetClusterLister can list ReplicaSets across all workspaces, or scope down to a ReplicaSetLister for one workspace. All objects returned here must be treated as read-only.

type ReplicaSetClusterListerExpansion

type ReplicaSetClusterListerExpansion interface{}

ReplicaSetClusterListerExpansion allows custom methods to be added to ReplicaSetClusterLister.

type ReplicaSetListerExpansion

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

ReplicaSetListerExpansion allows custom methods to be added to ReplicaSetLister.

type ReplicaSetNamespaceListerExpansion

type ReplicaSetNamespaceListerExpansion interface{}

ReplicaSetNamespaceListerExpansion allows custom methods to be added to ReplicaSetNamespaceLister.

type StatefulSetClusterLister

type StatefulSetClusterLister interface {
	// List lists all StatefulSets in the indexer.
	// Objects returned here must be treated as read-only.
	List(selector labels.Selector) (ret []*appsv1beta2.StatefulSet, err error)
	// Cluster returns a lister that can list and get StatefulSets in one workspace.
	Cluster(clusterName logicalcluster.Name) appsv1beta2listers.StatefulSetLister
	StatefulSetClusterListerExpansion
}

StatefulSetClusterLister can list StatefulSets across all workspaces, or scope down to a StatefulSetLister for one workspace. All objects returned here must be treated as read-only.

type StatefulSetClusterListerExpansion

type StatefulSetClusterListerExpansion interface{}

StatefulSetClusterListerExpansion allows custom methods to be added to StatefulSetClusterLister.

type StatefulSetListerExpansion

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

StatefulSetListerExpansion allows custom methods to be added to StatefulSetLister.

type StatefulSetNamespaceListerExpansion

type StatefulSetNamespaceListerExpansion interface{}

StatefulSetNamespaceListerExpansion allows custom methods to be added to StatefulSetNamespaceLister.

Jump to

Keyboard shortcuts

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