kubectl

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyManifests

func ApplyManifests(manifestPath string) error

func ApplyManifestsFromStdin added in v0.2.0

func ApplyManifestsFromStdin(stdin io.Reader) error

func Delete

func Delete(kind, name, namespace string) error

func DeleteManifests

func DeleteManifests(manifestsPath string) error

func Exec

func Exec(pod, namespace, container string, args ...string) error

Types

type ConfigFlags

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

func NewConfigFlags

func NewConfigFlags() ConfigFlags

func (*ConfigFlags) AddPersistentFlags added in v0.4.0

func (o *ConfigFlags) AddPersistentFlags(flags *pflag.FlagSet)

func (ConfigFlags) ClientSet

func (o ConfigFlags) ClientSet() (*kubernetes.Clientset, error)

func (ConfigFlags) Raw

type RunOptions added in v0.2.0

type RunOptions func(*exec.Cmd)

func AttachIO added in v0.2.0

func AttachIO() RunOptions

func WithStdin added in v0.2.0

func WithStdin(stdin io.Reader) RunOptions

Jump to

Keyboard shortcuts

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