kubernetes_manager

package
v0.0.0-...-1d907cd Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: Apache-2.0 Imports: 6 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 {
	Get(ctx context.Context, key client.ObjectKey, obj client.Object) error

	Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
	Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error
	Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
}

type KubernetesManager

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

func NewKubernetesManager

func NewKubernetesManager(objClient Client) *KubernetesManager

func (*KubernetesManager) ApplyResources

func (km *KubernetesManager) ApplyResources(resources []client.Object) error

func (*KubernetesManager) DeleteResources

func (km *KubernetesManager) DeleteResources(resources []client.Object) error

Jump to

Keyboard shortcuts

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