v1alpha1

package
v0.0.0-...-2c759a0 Latest Latest
Warning

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

Go to latest
Published: May 22, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterManagerGetter

type ClusterManagerGetter interface {
	ClusterManagers(namespace string) ClusterManagerInterface
}

ClusterManagerGetter has a method to return a ClusterManagerInterface. A group's client should implement this interface.

type ClusterManagerInterface

type ClusterManagerInterface interface {
	Create(ctx context.Context, clusterManager *v1alpha1.ClusterManager, opts metav1.CreateOptions) (*v1alpha1.ClusterManager, error)
	Update(ctx context.Context, clusterManager *v1alpha1.ClusterManager, opts metav1.UpdateOptions) (*v1alpha1.ClusterManager, error)
	UpdateStatus(ctx context.Context, clusterManager *v1alpha1.ClusterManager, opts metav1.UpdateOptions) (*v1alpha1.ClusterManager, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
	DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error
	Get(ctx context.Context, name string, opts metav1.GetOptions) (*v1alpha1.ClusterManager, error)
	List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.ClusterManagerList, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Patch(ctx context.Context, name string, pt types.PatchType, data []byte, opts metav1.PatchOptions, subresources ...string) (result *v1alpha1.ClusterManager, err error)
	// contains filtered or unexported methods
}

ClusterManagerInterface has methods to work with clusterManager resources.

type ClusterV1alpha1Client

type ClusterV1alpha1Client struct {
	// contains filtered or unexported fields
}

ClusterV1alpha1Client is used to interact with features provided by the group.

func NewForConfig

func NewForConfig(c *rest.Config) (*ClusterV1alpha1Client, error)

NewForConfig creates a new ClusterV1alpha1Client for the given config.

func (*ClusterV1alpha1Client) ClusterManagers

func (c *ClusterV1alpha1Client) ClusterManagers(namespace string) ClusterManagerInterface

func (*ClusterV1alpha1Client) RESTClient

func (c *ClusterV1alpha1Client) RESTClient() rest.Interface

RESTClient returns a RESTClient that is used to communicate with API server by this client implementation.

type ClusterV1alpha1Interface

type ClusterV1alpha1Interface interface {
	RESTClient() rest.Interface
	ClusterManagerGetter
}

Jump to

Keyboard shortcuts

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