kubernetes

package
v0.0.0-...-f1775f8 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubernetesClient

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

func NewKubernetesClient

func NewKubernetesClient(c client.Client, owner Owner) (*KubernetesClient, error)

func (KubernetesClient) Apply

func (c KubernetesClient) Apply(ctx context.Context, obj client.Object) error

func (KubernetesClient) Create

func (c KubernetesClient) Create(ctx context.Context, obj client.Object) error

func (*KubernetesClient) Delete

Delete deletes the given object (not found errors are ignored).

func (KubernetesClient) Get

Get gets the given object.

func (KubernetesClient) List

List lists all resources of the given kind.

func (KubernetesClient) PatchStatus

func (c KubernetesClient) PatchStatus(ctx context.Context, obj client.Object) error

type Owner

type Owner struct {
	// Field sets the field manager name for the given server-side apply patch.
	Field string
}

Owner contains options for setting the field manager.

Jump to

Keyboard shortcuts

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