Documentation
¶
Index ¶
- func NewControllerRevisionLister(indexer cache.Indexer) listersappsv1.ControllerRevisionLister
- func NewDaemonSetLister(indexer cache.Indexer) listersappsv1.DaemonSetLister
- func NewDeploymentLister(indexer cache.Indexer) listersappsv1.DeploymentLister
- func NewReplicaSetLister(indexer cache.Indexer) listersappsv1.ReplicaSetLister
- func NewStatefulSetLister(indexer cache.Indexer) listersappsv1.StatefulSetLister
- type ControllerRevisionClusterLister
- type ControllerRevisionClusterListerExpansion
- type DaemonSetClusterLister
- type DaemonSetClusterListerExpansion
- type DaemonSetListerExpansion
- type DaemonSetNamespaceListerExpansion
- type DeploymentClusterLister
- type DeploymentClusterListerExpansion
- type ReplicaSetClusterLister
- type ReplicaSetClusterListerExpansion
- type ReplicaSetListerExpansion
- type ReplicaSetNamespaceListerExpansion
- type StatefulSetClusterLister
- type StatefulSetClusterListerExpansion
- type StatefulSetListerExpansion
- type StatefulSetNamespaceListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewControllerRevisionLister ¶
func NewControllerRevisionLister(indexer cache.Indexer) listersappsv1.ControllerRevisionLister
NewControllerRevisionLister returns a new ControllerRevisionLister. 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 NewDaemonSetLister ¶
func NewDaemonSetLister(indexer cache.Indexer) listersappsv1.DaemonSetLister
NewDaemonSetLister returns a new DaemonSetLister. 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 NewDeploymentLister ¶
func NewDeploymentLister(indexer cache.Indexer) listersappsv1.DeploymentLister
NewDeploymentLister returns a new DeploymentLister. 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 NewReplicaSetLister ¶
func NewReplicaSetLister(indexer cache.Indexer) listersappsv1.ReplicaSetLister
NewReplicaSetLister returns a new ReplicaSetLister. 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 NewStatefulSetLister ¶
func NewStatefulSetLister(indexer cache.Indexer) listersappsv1.StatefulSetLister
NewStatefulSetLister returns a new StatefulSetLister. 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 []*appsv1.ControllerRevision, err error)
// Cluster returns a lister that can list and get ControllerRevisions in one workspace.
Cluster(clusterName logicalcluster.Name) listersappsv1.ControllerRevisionLister
ControllerRevisionClusterListerExpansion
}
ControllerRevisionClusterLister helps list ControllerRevisions across all workspaces, or scope down to a ControllerRevisionLister for one workspace. All objects returned here must be treated as read-only.
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
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 []*appsv1.DaemonSet, err error)
// Cluster returns a lister that can list and get DaemonSets in one workspace.
Cluster(clusterName logicalcluster.Name) listersappsv1.DaemonSetLister
DaemonSetClusterListerExpansion
}
DaemonSetClusterLister helps list DaemonSets across all workspaces, or scope down to a DaemonSetLister for one workspace. All objects returned here must be treated as read-only.
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
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 []*appsv1.Deployment, err error)
// Cluster returns a lister that can list and get Deployments in one workspace.
Cluster(clusterName logicalcluster.Name) listersappsv1.DeploymentLister
DeploymentClusterListerExpansion
}
DeploymentClusterLister helps list Deployments across all workspaces, or scope down to a DeploymentLister for one workspace. All objects returned here must be treated as read-only.
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
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 []*appsv1.ReplicaSet, err error)
// Cluster returns a lister that can list and get ReplicaSets in one workspace.
Cluster(clusterName logicalcluster.Name) listersappsv1.ReplicaSetLister
ReplicaSetClusterListerExpansion
}
ReplicaSetClusterLister helps list ReplicaSets across all workspaces, or scope down to a ReplicaSetLister for one workspace. All objects returned here must be treated as read-only.
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
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 []*appsv1.StatefulSet, err error)
// Cluster returns a lister that can list and get StatefulSets in one workspace.
Cluster(clusterName logicalcluster.Name) listersappsv1.StatefulSetLister
StatefulSetClusterListerExpansion
}
StatefulSetClusterLister helps list StatefulSets across all workspaces, or scope down to a StatefulSetLister for one workspace. All objects returned here must be treated as read-only.
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
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.