client

package
v0.0.0-...-3e5e6b6 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperationsClient

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

func (*OperationsClient) Create

func (c *OperationsClient) Create(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)

func (*OperationsClient) Delete

func (c *OperationsClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error

func (*OperationsClient) Get

func (*OperationsClient) List

func (*OperationsClient) Operations

func (c *OperationsClient) Operations(namespace string) OperationsInterface

func (*OperationsClient) Update

func (c *OperationsClient) Update(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)

func (*OperationsClient) Watch

type OperationsClientInterface

type OperationsClientInterface interface {
	Operations(string) OperationsInterface
}

func NewForConfig

func NewForConfig(cfg *rest.Config) (OperationsClientInterface, error)

type OperationsInterface

type OperationsInterface interface {
	List(ctx context.Context, opts metav1.ListOptions) (*v1alpha1.OperationList, error)
	Get(ctx context.Context, name string, options metav1.GetOptions) (*v1alpha1.Operation, error)
	Create(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)
	Watch(ctx context.Context, opts metav1.ListOptions) (watch.Interface, error)
	Update(ctx context.Context, operation *v1alpha1.Operation) (*v1alpha1.Operation, error)
	Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error
}

Jump to

Keyboard shortcuts

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