v1

package
v0.0.0-...-bf1c9b8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

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

func NewForConfigAndClient(c *rest.Config, h *http.Client) (*AppsV1ClusterClient, error)

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 (*AppsV1ClusterClient) DaemonSets

func (*AppsV1ClusterClient) Deployments

func (*AppsV1ClusterClient) ReplicaSets

func (*AppsV1ClusterClient) StatefulSets

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL