Documentation ¶
Index ¶
- func Kubectl(stdin io.Reader, args ...string) error
- func KubectlApply(manifest []byte, extraArgs ...string) error
- func KubectlApplyOut(manifest []byte, extraArgs ...string) ([]byte, error)
- func KubectlDelete(manifest []byte, extraArgs ...string) error
- func KubectlOut(stdin io.Reader, args ...string) ([]byte, error)
- func SetVerbose(b bool)
- type CmdKubectl
- type KubeCli
- type MockKubectl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KubectlApply ¶ added in v0.13.0
func KubectlApplyOut ¶ added in v0.20.3
func KubectlDelete ¶ added in v0.17.0
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
type MockKubectl ¶ added in v0.21.1
func NewMockKubectl ¶ added in v0.21.1
func NewMockKubectl(cmds []string, stdoutLines []string) *MockKubectl
func (*MockKubectl) Kubectl ¶ added in v0.21.1
func (k *MockKubectl) Kubectl(stdin io.Reader, args ...string) error
func (*MockKubectl) KubectlOut ¶ added in v0.21.1
Click to show internal directories.
Click to hide internal directories.