Documentation ¶
Index ¶
- type AppsV1ClusterClient
- func (c *AppsV1ClusterClient) Cluster(clusterPath logicalcluster.Path) appsv1.AppsV1Interface
- func (c *AppsV1ClusterClient) ControllerRevisions() ControllerRevisionClusterInterface
- func (c *AppsV1ClusterClient) DaemonSets() DaemonSetClusterInterface
- func (c *AppsV1ClusterClient) Deployments() DeploymentClusterInterface
- func (c *AppsV1ClusterClient) ReplicaSets() ReplicaSetClusterInterface
- func (c *AppsV1ClusterClient) StatefulSets() StatefulSetClusterInterface
- type AppsV1ClusterInterface
- type AppsV1ClusterScoper
- type ControllerRevisionClusterInterface
- type ControllerRevisionsClusterGetter
- type ControllerRevisionsNamespacer
- type DaemonSetClusterInterface
- type DaemonSetsClusterGetter
- type DaemonSetsNamespacer
- type DeploymentClusterInterface
- type DeploymentsClusterGetter
- type DeploymentsNamespacer
- type ReplicaSetClusterInterface
- type ReplicaSetsClusterGetter
- type ReplicaSetsNamespacer
- type StatefulSetClusterInterface
- type StatefulSetsClusterGetter
- type StatefulSetsNamespacer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppsV1ClusterClient ¶
type AppsV1ClusterClient struct {
// contains filtered or unexported fields
}
func NewForConfig ¶
func NewForConfig(c *rest.Config) (*AppsV1ClusterClient, error)
NewForConfig creates a new AppsV1ClusterClient 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 AppsV1ClusterClient 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) *AppsV1ClusterClient
NewForConfigOrDie creates a new AppsV1ClusterClient for the given config and panics if there is an error in the config.
func (*AppsV1ClusterClient) Cluster ¶
func (c *AppsV1ClusterClient) Cluster(clusterPath logicalcluster.Path) appsv1.AppsV1Interface
func (*AppsV1ClusterClient) ControllerRevisions ¶
func (c *AppsV1ClusterClient) ControllerRevisions() ControllerRevisionClusterInterface
func (*AppsV1ClusterClient) DaemonSets ¶
func (c *AppsV1ClusterClient) DaemonSets() DaemonSetClusterInterface
func (*AppsV1ClusterClient) Deployments ¶
func (c *AppsV1ClusterClient) Deployments() DeploymentClusterInterface
func (*AppsV1ClusterClient) ReplicaSets ¶
func (c *AppsV1ClusterClient) ReplicaSets() ReplicaSetClusterInterface
func (*AppsV1ClusterClient) StatefulSets ¶
func (c *AppsV1ClusterClient) StatefulSets() StatefulSetClusterInterface
type AppsV1ClusterInterface ¶
type AppsV1ClusterInterface interface { AppsV1ClusterScoper StatefulSetsClusterGetter DeploymentsClusterGetter DaemonSetsClusterGetter ReplicaSetsClusterGetter ControllerRevisionsClusterGetter }
type AppsV1ClusterScoper ¶
type AppsV1ClusterScoper interface {
Cluster(logicalcluster.Path) appsv1.AppsV1Interface
}
type ControllerRevisionClusterInterface ¶
type ControllerRevisionClusterInterface interface { Cluster(logicalcluster.Path) ControllerRevisionsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*appsv1.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) appsv1client.ControllerRevisionInterface
}
ControllerRevisionsNamespacer can scope to objects within a namespace, returning a appsv1client.ControllerRevisionInterface.
type DaemonSetClusterInterface ¶
type DaemonSetClusterInterface interface { Cluster(logicalcluster.Path) DaemonSetsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*appsv1.DaemonSetList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
DaemonSetClusterInterface can operate on DaemonSets across all clusters, or scope down to one cluster and return a DaemonSetsNamespacer.
type DaemonSetsClusterGetter ¶
type DaemonSetsClusterGetter interface {
DaemonSets() DaemonSetClusterInterface
}
DaemonSetsClusterGetter has a method to return a DaemonSetClusterInterface. A group's cluster client should implement this interface.
type DaemonSetsNamespacer ¶
type DaemonSetsNamespacer interface {
Namespace(string) appsv1client.DaemonSetInterface
}
DaemonSetsNamespacer can scope to objects within a namespace, returning a appsv1client.DaemonSetInterface.
type DeploymentClusterInterface ¶
type DeploymentClusterInterface interface { Cluster(logicalcluster.Path) DeploymentsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*appsv1.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) appsv1client.DeploymentInterface
}
DeploymentsNamespacer can scope to objects within a namespace, returning a appsv1client.DeploymentInterface.
type ReplicaSetClusterInterface ¶
type ReplicaSetClusterInterface interface { Cluster(logicalcluster.Path) ReplicaSetsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*appsv1.ReplicaSetList, error) Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error) }
ReplicaSetClusterInterface can operate on ReplicaSets across all clusters, or scope down to one cluster and return a ReplicaSetsNamespacer.
type ReplicaSetsClusterGetter ¶
type ReplicaSetsClusterGetter interface {
ReplicaSets() ReplicaSetClusterInterface
}
ReplicaSetsClusterGetter has a method to return a ReplicaSetClusterInterface. A group's cluster client should implement this interface.
type ReplicaSetsNamespacer ¶
type ReplicaSetsNamespacer interface {
Namespace(string) appsv1client.ReplicaSetInterface
}
ReplicaSetsNamespacer can scope to objects within a namespace, returning a appsv1client.ReplicaSetInterface.
type StatefulSetClusterInterface ¶
type StatefulSetClusterInterface interface { Cluster(logicalcluster.Path) StatefulSetsNamespacer List(ctx context.Context, opts metav1.ListOptions) (*appsv1.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) appsv1client.StatefulSetInterface
}
StatefulSetsNamespacer can scope to objects within a namespace, returning a appsv1client.StatefulSetInterface.