Documentation ¶
Index ¶
- func NewControllerRevisionClusterLister(indexer cache.Indexer) *controllerRevisionClusterLister
- func NewDeploymentClusterLister(indexer cache.Indexer) *deploymentClusterLister
- func NewStatefulSetClusterLister(indexer cache.Indexer) *statefulSetClusterLister
- type ControllerRevisionClusterLister
- type ControllerRevisionClusterListerExpansion
- type DeploymentClusterLister
- type DeploymentClusterListerExpansion
- type StatefulSetClusterLister
- type StatefulSetClusterListerExpansion
- type StatefulSetListerExpansion
- type StatefulSetNamespaceListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControllerRevisionClusterLister ¶
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 NewDeploymentClusterLister ¶
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 NewStatefulSetClusterLister ¶
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 []*appsv1beta1.ControllerRevision, err error) // Cluster returns a lister that can list and get ControllerRevisions in one workspace. Cluster(clusterName logicalcluster.Name) appsv1beta1listers.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 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 []*appsv1beta1.Deployment, err error) // Cluster returns a lister that can list and get Deployments in one workspace. Cluster(clusterName logicalcluster.Name) appsv1beta1listers.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 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 []*appsv1beta1.StatefulSet, err error) // Cluster returns a lister that can list and get StatefulSets in one workspace. Cluster(clusterName logicalcluster.Name) appsv1beta1listers.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.