Documentation
¶
Index ¶
- func NewDaemonSetLister(indexer cache.Indexer) listersextensionsv1beta1.DaemonSetLister
- func NewDeploymentLister(indexer cache.Indexer) listersextensionsv1beta1.DeploymentLister
- func NewIngressLister(indexer cache.Indexer) listersextensionsv1beta1.IngressLister
- func NewNetworkPolicyLister(indexer cache.Indexer) listersextensionsv1beta1.NetworkPolicyLister
- func NewReplicaSetLister(indexer cache.Indexer) listersextensionsv1beta1.ReplicaSetLister
- type DaemonSetClusterLister
- type DaemonSetClusterListerExpansion
- type DaemonSetListerExpansion
- type DaemonSetNamespaceListerExpansion
- type DeploymentClusterLister
- type DeploymentClusterListerExpansion
- type IngressClusterLister
- type IngressClusterListerExpansion
- type NetworkPolicyClusterLister
- type NetworkPolicyClusterListerExpansion
- type ReplicaSetClusterLister
- type ReplicaSetClusterListerExpansion
- type ReplicaSetListerExpansion
- type ReplicaSetNamespaceListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDaemonSetLister ¶
func NewDaemonSetLister(indexer cache.Indexer) listersextensionsv1beta1.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) listersextensionsv1beta1.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 NewIngressLister ¶
func NewIngressLister(indexer cache.Indexer) listersextensionsv1beta1.IngressLister
NewIngressLister returns a new IngressLister. 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 NewNetworkPolicyLister ¶
func NewNetworkPolicyLister(indexer cache.Indexer) listersextensionsv1beta1.NetworkPolicyLister
NewNetworkPolicyLister returns a new NetworkPolicyLister. 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) listersextensionsv1beta1.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
Types ¶
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 []*extensionsv1beta1.DaemonSet, err error)
// Cluster returns a lister that can list and get DaemonSets in one workspace.
Cluster(clusterName logicalcluster.Name) listersextensionsv1beta1.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) ([]*v1beta1.DaemonSet, error)
GetHistoryDaemonSets(history *apps.ControllerRevision) ([]*v1beta1.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 []*extensionsv1beta1.Deployment, err error)
// Cluster returns a lister that can list and get Deployments in one workspace.
Cluster(clusterName logicalcluster.Name) listersextensionsv1beta1.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 IngressClusterLister ¶
type IngressClusterLister interface {
// List lists all Ingresses in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*extensionsv1beta1.Ingress, err error)
// Cluster returns a lister that can list and get Ingresses in one workspace.
Cluster(clusterName logicalcluster.Name) listersextensionsv1beta1.IngressLister
IngressClusterListerExpansion
}
IngressClusterLister helps list Ingresses across all workspaces, or scope down to a IngressLister for one workspace. All objects returned here must be treated as read-only.
func NewIngressClusterLister ¶
func NewIngressClusterLister(indexer cache.Indexer) IngressClusterLister
NewIngressClusterLister returns a new IngressClusterLister. 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 IngressClusterListerExpansion ¶
type IngressClusterListerExpansion interface{}
IngressClusterListerExpansion allows custom methods to be added to IngressClusterLister.
type NetworkPolicyClusterLister ¶
type NetworkPolicyClusterLister interface {
// List lists all NetworkPolicies in the indexer.
// Objects returned here must be treated as read-only.
List(selector labels.Selector) (ret []*extensionsv1beta1.NetworkPolicy, err error)
// Cluster returns a lister that can list and get NetworkPolicies in one workspace.
Cluster(clusterName logicalcluster.Name) listersextensionsv1beta1.NetworkPolicyLister
NetworkPolicyClusterListerExpansion
}
NetworkPolicyClusterLister helps list NetworkPolicies across all workspaces, or scope down to a NetworkPolicyLister for one workspace. All objects returned here must be treated as read-only.
func NewNetworkPolicyClusterLister ¶
func NewNetworkPolicyClusterLister(indexer cache.Indexer) NetworkPolicyClusterLister
NewNetworkPolicyClusterLister returns a new NetworkPolicyClusterLister. 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 NetworkPolicyClusterListerExpansion ¶
type NetworkPolicyClusterListerExpansion interface{}
NetworkPolicyClusterListerExpansion allows custom methods to be added to NetworkPolicyClusterLister.
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 []*extensionsv1beta1.ReplicaSet, err error)
// Cluster returns a lister that can list and get ReplicaSets in one workspace.
Cluster(clusterName logicalcluster.Name) listersextensionsv1beta1.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) ([]*extensions.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.