kubectl

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(ctx context.Context, opts ApplyOptions) error

func ApplyKustomize

func ApplyKustomize(ctx context.Context, contextName, path string) error

func ApplyURL

func ApplyURL(ctx context.Context, contextName, url string) error

func CreateNamespace

func CreateNamespace(ctx context.Context, contextName, name string) error

func EnsureInstalled

func EnsureInstalled() error

func GetJSONPath

func GetJSONPath(ctx context.Context, contextName, resource, name, namespace, jsonPath string) (string, error)

func GetSecretData

func GetSecretData(ctx context.Context, contextName, name, namespace, key string) ([]byte, error)

func LabelNodes

func LabelNodes(ctx context.Context, contextName string, labels map[string]string) error

func RolloutStatus

func RolloutStatus(ctx context.Context, contextName, namespace, kind, name string, timeout time.Duration) error

Types

type ApplyOptions

type ApplyOptions struct {
	Context string
	Stdin   []byte
	Path    string
}

Jump to

Keyboard shortcuts

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