Documentation
¶
Index ¶
- type DeploymentLister
- type DeploymentListerExpansion
- type DeploymentNamespaceLister
- type DeploymentNamespaceListerExpansion
- type ScaleLister
- type ScaleListerExpansion
- type ScaleNamespaceLister
- type ScaleNamespaceListerExpansion
- type StatefulSetLister
- type StatefulSetListerExpansion
- type StatefulSetNamespaceLister
- type StatefulSetNamespaceListerExpansion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeploymentLister ¶ added in v1.6.0
type DeploymentLister interface {
// List lists all Deployments in the indexer.
List(selector labels.Selector) (ret []*v1beta1.Deployment, err error)
// Deployments returns an object that can list and get Deployments.
Deployments(namespace string) DeploymentNamespaceLister
DeploymentListerExpansion
}
DeploymentLister helps list Deployments.
func NewDeploymentLister ¶ added in v1.6.0
func NewDeploymentLister(indexer cache.Indexer) DeploymentLister
NewDeploymentLister returns a new DeploymentLister.
type DeploymentListerExpansion ¶ added in v1.6.0
type DeploymentListerExpansion interface{}
DeploymentListerExpansion allows custom methods to be added to DeploymentLister.
type DeploymentNamespaceLister ¶ added in v1.6.0
type DeploymentNamespaceLister interface {
// List lists all Deployments in the indexer for a given namespace.
List(selector labels.Selector) (ret []*v1beta1.Deployment, err error)
// Get retrieves the Deployment from the indexer for a given namespace and name.
Get(name string) (*v1beta1.Deployment, error)
DeploymentNamespaceListerExpansion
}
DeploymentNamespaceLister helps list and get Deployments.
type DeploymentNamespaceListerExpansion ¶ added in v1.6.0
type DeploymentNamespaceListerExpansion interface{}
DeploymentNamespaceListerExpansion allows custom methods to be added to DeploymentNamespaeLister.
type ScaleLister ¶ added in v1.6.0
type ScaleLister interface {
// List lists all Scales in the indexer.
List(selector labels.Selector) (ret []*v1beta1.Scale, err error)
// Scales returns an object that can list and get Scales.
Scales(namespace string) ScaleNamespaceLister
ScaleListerExpansion
}
ScaleLister helps list Scales.
func NewScaleLister ¶ added in v1.6.0
func NewScaleLister(indexer cache.Indexer) ScaleLister
NewScaleLister returns a new ScaleLister.
type ScaleListerExpansion ¶ added in v1.6.0
type ScaleListerExpansion interface{}
ScaleListerExpansion allows custom methods to be added to ScaleLister.
type ScaleNamespaceLister ¶ added in v1.6.0
type ScaleNamespaceLister interface {
// List lists all Scales in the indexer for a given namespace.
List(selector labels.Selector) (ret []*v1beta1.Scale, err error)
// Get retrieves the Scale from the indexer for a given namespace and name.
Get(name string) (*v1beta1.Scale, error)
ScaleNamespaceListerExpansion
}
ScaleNamespaceLister helps list and get Scales.
type ScaleNamespaceListerExpansion ¶ added in v1.6.0
type ScaleNamespaceListerExpansion interface{}
ScaleNamespaceListerExpansion allows custom methods to be added to ScaleNamespaeLister.
type StatefulSetLister ¶
type StatefulSetLister interface {
// List lists all StatefulSets in the indexer.
List(selector labels.Selector) (ret []*v1beta1.StatefulSet, err error)
// StatefulSets returns an object that can list and get StatefulSets.
StatefulSets(namespace string) StatefulSetNamespaceLister
StatefulSetListerExpansion
}
StatefulSetLister helps list StatefulSets.
func NewStatefulSetLister ¶
func NewStatefulSetLister(indexer cache.Indexer) StatefulSetLister
NewStatefulSetLister returns a new StatefulSetLister.
type StatefulSetListerExpansion ¶
type StatefulSetListerExpansion interface {
GetPodStatefulSets(pod *v1.Pod) ([]*apps.StatefulSet, error)
}
StatefulSetListerExpansion allows custom methods to be added to StatefulSetLister.
type StatefulSetNamespaceLister ¶
type StatefulSetNamespaceLister interface {
// List lists all StatefulSets in the indexer for a given namespace.
List(selector labels.Selector) (ret []*v1beta1.StatefulSet, err error)
// Get retrieves the StatefulSet from the indexer for a given namespace and name.
Get(name string) (*v1beta1.StatefulSet, error)
StatefulSetNamespaceListerExpansion
}
StatefulSetNamespaceLister helps list and get StatefulSets.
type StatefulSetNamespaceListerExpansion ¶
type StatefulSetNamespaceListerExpansion interface{}
StatefulSetNamespaceListerExpansion allows custom methods to be added to StatefulSetNamespaeLister.