kubernetes

package
v1.56.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeCtl

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

func NewKubeCtl

func NewKubeCtl(fromKubeConfig string, withContext string) (*KubeCtl, error)

func (*KubeCtl) Create

func (ctl *KubeCtl) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error

func (*KubeCtl) Delete

func (ctl *KubeCtl) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error

func (*KubeCtl) FindAtlasOperator

func (ctl *KubeCtl) FindAtlasOperator(ctx context.Context) (*appsv1.Deployment, error)

func (*KubeCtl) Get

func (ctl *KubeCtl) Get(ctx context.Context, key client.ObjectKey, obj client.Object, opts ...client.GetOption) error

func (*KubeCtl) List

func (ctl *KubeCtl) List(ctx context.Context, obj client.ObjectList, opts ...client.ListOption) error

func (*KubeCtl) Update

func (ctl *KubeCtl) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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