Documentation ¶
Index ¶
- type KubectlRunner
- func (k *KubectlRunner) CreateRandomNamespace() string
- func (k *KubectlRunner) DeleteNamespace(namespace string) error
- func (k *KubectlRunner) GetPod(name, namespace string) *api.Pod
- func (k *KubectlRunner) IsPodReady(p *api.Pod) bool
- func (k *KubectlRunner) RunCommand(args []string) (stdout []byte, err error)
- func (k *KubectlRunner) RunCommandParseOutput(args []string, outputObj interface{}) error
- type MinikubeRunner
- func (m *MinikubeRunner) CheckStatus(desired string)
- func (m *MinikubeRunner) CheckStatusNoFail(desired string) error
- func (m *MinikubeRunner) EnsureRunning()
- func (m *MinikubeRunner) GetStatus() string
- func (m *MinikubeRunner) RunCommand(command string, checkError bool) string
- func (m *MinikubeRunner) SSH(command string) (string, error)
- func (m *MinikubeRunner) SetEnvFromEnvCmdOutput(dockerEnvVars string) error
- func (m *MinikubeRunner) Start()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KubectlRunner ¶
func NewKubectlRunner ¶
func NewKubectlRunner(t *testing.T) *KubectlRunner
func (*KubectlRunner) CreateRandomNamespace ¶
func (k *KubectlRunner) CreateRandomNamespace() string
func (*KubectlRunner) DeleteNamespace ¶
func (k *KubectlRunner) DeleteNamespace(namespace string) error
func (*KubectlRunner) IsPodReady ¶
func (k *KubectlRunner) IsPodReady(p *api.Pod) bool
func (*KubectlRunner) RunCommand ¶
func (k *KubectlRunner) RunCommand(args []string) (stdout []byte, err error)
func (*KubectlRunner) RunCommandParseOutput ¶
func (k *KubectlRunner) RunCommandParseOutput(args []string, outputObj interface{}) error
type MinikubeRunner ¶
func (*MinikubeRunner) CheckStatus ¶
func (m *MinikubeRunner) CheckStatus(desired string)
func (*MinikubeRunner) CheckStatusNoFail ¶ added in v0.17.0
func (m *MinikubeRunner) CheckStatusNoFail(desired string) error
func (*MinikubeRunner) EnsureRunning ¶
func (m *MinikubeRunner) EnsureRunning()
func (*MinikubeRunner) GetStatus ¶
func (m *MinikubeRunner) GetStatus() string
func (*MinikubeRunner) RunCommand ¶
func (m *MinikubeRunner) RunCommand(command string, checkError bool) string
func (*MinikubeRunner) SetEnvFromEnvCmdOutput ¶
func (m *MinikubeRunner) SetEnvFromEnvCmdOutput(dockerEnvVars string) error
func (*MinikubeRunner) Start ¶
func (m *MinikubeRunner) Start()
Click to show internal directories.
Click to hide internal directories.