kubernetes

package
v0.18.11 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Apply

func Apply(resources string, opts *KubectlOpts) error

Apply config using kubectl

func GetCmd

func GetCmd(opts *KubectlOpts) []string

GetCmd returns the kubectl command

Types

type KubectlOpts

type KubectlOpts struct {
	Context   string
	Namespace string
}

KubectlOpts represents options/flags to pass to kubectl

Jump to

Keyboard shortcuts

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