kubectlmock

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdRunner

type CmdRunner struct {
	mock.Mock
}

CmdRunner is an autogenerated mock type for the CmdRunner type

func (*CmdRunner) Run

func (_m *CmdRunner) Run(_a0 *exec.Cmd) error

Run provides a mock function with given fields: _a0

type FSManager

type FSManager struct {
	mock.Mock
}

FSManager is an autogenerated mock type for the FSManager type

func (*FSManager) RemoveAll

func (_m *FSManager) RemoveAll(path string) error

RemoveAll provides a mock function with given fields: path

func (*FSManager) TempDir

func (_m *FSManager) TempDir(dir string, pattern string) (string, error)

TempDir provides a mock function with given fields: dir, pattern

func (*FSManager) WriteFile

func (_m *FSManager) WriteFile(filename string, data []byte, perm os.FileMode) error

WriteFile provides a mock function with given fields: filename, data, perm

type K8sObjectEncoder

type K8sObjectEncoder struct {
	mock.Mock
}

K8sObjectEncoder is an autogenerated mock type for the K8sObjectEncoder type

func (*K8sObjectEncoder) EncodeObjects

func (_m *K8sObjectEncoder) EncodeObjects(ctx context.Context, objs []model.K8sObject) ([]byte, error)

EncodeObjects provides a mock function with given fields: ctx, objs

Jump to

Keyboard shortcuts

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