install

package
v1.14.6 Latest Latest
Warning

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

Go to latest
Published: May 28, 2023 License: Apache-2.0 Imports: 6 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Kubectl

func Kubectl(stdin io.Reader, args ...string) error

func KubectlApply added in v0.13.0

func KubectlApply(manifest []byte, extraArgs ...string) error

func KubectlApplyOut added in v0.20.3

func KubectlApplyOut(manifest []byte, extraArgs ...string) ([]byte, error)

func KubectlDelete added in v0.17.0

func KubectlDelete(manifest []byte, extraArgs ...string) error

func KubectlOut added in v0.20.3

func KubectlOut(stdin io.Reader, args ...string) ([]byte, error)

func SetVerbose added in v0.17.0

func SetVerbose(b bool)

Types

type CmdKubectl added in v0.12.0

type CmdKubectl struct{}

func (*CmdKubectl) Kubectl added in v0.12.0

func (k *CmdKubectl) Kubectl(stdin io.Reader, args ...string) error

func (*CmdKubectl) KubectlOut added in v0.21.0

func (k *CmdKubectl) KubectlOut(stdin io.Reader, args ...string) ([]byte, error)

type KubeCli added in v0.12.0

type KubeCli interface {
	Kubectl(stdin io.Reader, args ...string) error
	KubectlOut(stdin io.Reader, args ...string) ([]byte, error)
}

Jump to

Keyboard shortcuts

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