Documentation
¶
Index ¶
- type AppsV1beta1ClusterClient
- func (c *AppsV1beta1ClusterClient) Cluster(clusterPath logicalcluster.Path) appsv1beta1.AppsV1beta1Interface
- func (c *AppsV1beta1ClusterClient) ControllerRevisions() ControllerRevisionClusterInterface
- func (c *AppsV1beta1ClusterClient) Deployments() DeploymentClusterInterface
- func (c *AppsV1beta1ClusterClient) StatefulSets() StatefulSetClusterInterface
- type AppsV1beta1ClusterInterface
- type AppsV1beta1ClusterScoper
- type ControllerRevisionClusterInterface
- type ControllerRevisionsClusterGetter
- type ControllerRevisionsNamespacer
- type DeploymentClusterInterface
- type DeploymentsClusterGetter
- type DeploymentsNamespacer
- type StatefulSetClusterInterface
- type StatefulSetsClusterGetter
- type StatefulSetsNamespacer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsV1beta1ClusterClient ¶
type AppsV1beta1ClusterClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AppsV1beta1ClusterClient, error)
NewForConfig creates a new AppsV1beta1ClusterClient for the given config. NewForConfig is equivalent to NewForConfigAndClient(c, httpClient), where httpClient was generated with rest.HTTPClientFor(c).
func NewForConfigAndClient ¶
NewForConfigAndClient creates a new AppsV1beta1ClusterClient for the given config and http client. Note the http client provided takes precedence over the configured transport values.
func NewForConfigOrDie ¶
func NewForConfigOrDie(c *rest.Config) *AppsV1beta1ClusterClient
NewForConfigOrDie creates a new AppsV1beta1ClusterClient for the given config and panics if there is an error in the config.
func (*AppsV1beta1ClusterClient) Cluster ¶
func (c *AppsV1beta1ClusterClient) Cluster(clusterPath logicalcluster.Path) appsv1beta1.AppsV1beta1Interface
func (*AppsV1beta1ClusterClient) ControllerRevisions ¶
func (c *AppsV1beta1ClusterClient) ControllerRevisions() ControllerRevisionClusterInterface
func (*AppsV1beta1ClusterClient) Deployments ¶
func (c *AppsV1beta1ClusterClient) Deployments() DeploymentClusterInterface
func (*AppsV1beta1ClusterClient) StatefulSets ¶
func (c *AppsV1beta1ClusterClient) StatefulSets() StatefulSetClusterInterface
type AppsV1beta1ClusterInterface ¶
type AppsV1beta1ClusterInterface interface { AppsV1beta1ClusterScoper StatefulSetsClusterGetter DeploymentsClusterGetter ControllerRevisionsClusterGetter }
type AppsV1beta1ClusterScoper ¶
type AppsV1beta1ClusterScoper interface {
Cluster(logicalcluster.Path) appsv1beta1.AppsV1beta1Interface
}
type ControllerRevisionClusterInterface ¶
type ControllerRevisionClusterInterface interface { Cluster(logicalcluster.Path) ControllerRevisionsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*appsv1beta1.ControllerRevisionList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ControllerRevisionClusterInterface can operate on ControllerRevisions across all clusters, or scope down to one cluster and return a ControllerRevisionsNamespacer.
type ControllerRevisionsClusterGetter ¶
type ControllerRevisionsClusterGetter interface {
ControllerRevisions() ControllerRevisionClusterInterface
}
ControllerRevisionsClusterGetter has a method to return a ControllerRevisionClusterInterface. A group's cluster client should implement this interface.
type ControllerRevisionsNamespacer ¶
type ControllerRevisionsNamespacer interface {
Namespace(string) appsv1beta1client.ControllerRevisionInterface
}
ControllerRevisionsNamespacer can scope to objects within a namespace, returning a appsv1beta1client.ControllerRevisionInterface.
type DeploymentClusterInterface ¶
type DeploymentClusterInterface interface { Cluster(logicalcluster.Path) DeploymentsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*appsv1beta1.DeploymentList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
DeploymentClusterInterface can operate on Deployments across all clusters, or scope down to one cluster and return a DeploymentsNamespacer.
type DeploymentsClusterGetter ¶
type DeploymentsClusterGetter interface {
Deployments() DeploymentClusterInterface
}
DeploymentsClusterGetter has a method to return a DeploymentClusterInterface. A group's cluster client should implement this interface.
type DeploymentsNamespacer ¶
type DeploymentsNamespacer interface {
Namespace(string) appsv1beta1client.DeploymentInterface
}
DeploymentsNamespacer can scope to objects within a namespace, returning a appsv1beta1client.DeploymentInterface.
type StatefulSetClusterInterface ¶
type StatefulSetClusterInterface interface { Cluster(logicalcluster.Path) StatefulSetsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*appsv1beta1.StatefulSetList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
StatefulSetClusterInterface can operate on StatefulSets across all clusters, or scope down to one cluster and return a StatefulSetsNamespacer.
type StatefulSetsClusterGetter ¶
type StatefulSetsClusterGetter interface {
StatefulSets() StatefulSetClusterInterface
}
StatefulSetsClusterGetter has a method to return a StatefulSetClusterInterface. A group's cluster client should implement this interface.
type StatefulSetsNamespacer ¶
type StatefulSetsNamespacer interface {
Namespace(string) appsv1beta1client.StatefulSetInterface
}
StatefulSetsNamespacer can scope to objects within a namespace, returning a appsv1beta1client.StatefulSetInterface.