generic

package
v0.0.0-...-5ee5d88 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 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 Client

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

	ListWithOptions(ctx context.Context, obj client.ObjectList, opts ...client.ListOption) 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