client

package
v0.0.0-...-9e848c1 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 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 OperationsClient

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

func (*OperationsClient) Create

func (c *OperationsClient) Create(ctx context.Context, operation *v1beta1.Operation) (*v1beta1.Operation, 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 *v1beta1.Operation) (*v1beta1.Operation, error)

func (*OperationsClient) Watch

type OperationsClientInterface

type OperationsClientInterface interface {
	Operations(string) OperationsInterface
}

func NewForConfig

func NewForConfig() (OperationsClientInterface, error)

type OperationsInterface

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

Jump to

Keyboard shortcuts

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