kubectl

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: May 23, 2018 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeCtl

type KubeCtl interface {
	Exec(cmdArgs []string) (string, error)
	ExecStdin(cmdArgs []string, stdin *[]byte) (string, error)
}

func DryRunKubeCtl

func DryRunKubeCtl() KubeCtl

func RealKubeCtl

func RealKubeCtl() KubeCtl

type MockKubeCtl

type MockKubeCtl struct {
	mock.Mock
}

MockKubeCtl is an autogenerated mock type for the KubeCtl type

func (*MockKubeCtl) Exec

func (_m *MockKubeCtl) Exec(cmdArgs []string) (string, error)

Exec provides a mock function with given fields: cmdArgs

func (*MockKubeCtl) ExecStdin added in v0.0.6

func (_m *MockKubeCtl) ExecStdin(cmdArgs []string, stdin *[]byte) (string, error)

ExecStdin provides a mock function with given fields: cmdArgs, stdin

Jump to

Keyboard shortcuts

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