generic

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 License: Apache-2.0 Imports: 5 Imported by: 30

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Create(ctx context.Context, obj runtimeclient.Object) error
	Get(ctx context.Context, obj runtimeclient.Object, namespace, name string) error
	Update(ctx context.Context, obj runtimeclient.Object) error
	Delete(ctx context.Context, obj runtimeclient.Object, namespace, name string, opts ...runtimeclient.DeleteOption) error
	List(ctx context.Context, obj runtimeclient.ObjectList, namespace string, opts ...runtimeclient.ListOption) error
	UpdateStatus(ctx context.Context, obj runtimeclient.Object) error
	Patch(ctx context.Context, obj runtimeclient.Object, patch runtimeclient.Patch, opts ...runtimeclient.PatchOption) error
}

func New

func New(config *rest.Config) (Client, error)

func NewForConfigOrDie

func NewForConfigOrDie(config *rest.Config) Client

func NewForConfigOrDieWithUserAgent

func NewForConfigOrDieWithUserAgent(config *rest.Config, userAgent string) Client

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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