clienthelper

package
v0.0.0-...-b534984 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interface

type Interface interface {
	Reader
	Writer
}

func NewWithClient

func NewWithClient(log *logrus.Entry, client client.Client) Interface

type Reader

type Reader interface {
	client.Reader
	GetOne(ctx context.Context, key types.NamespacedName, obj kruntime.Object) error
}

type Writer

type Writer interface {
	client.Writer
	// Ensure applies self-contained objects to a Kubernetes API, merging
	// client-side if required.
	Ensure(ctx context.Context, objs ...kruntime.Object) error
	EnsureDeleted(ctx context.Context, gvk schema.GroupVersionKind, key types.NamespacedName) error
}

Jump to

Keyboard shortcuts

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