Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCommand ¶
type MockCommand struct {
// contains filtered or unexported fields
}
MockCommand is a mock of Command interface
func NewMockCommand ¶
func NewMockCommand(ctrl *gomock.Controller) *MockCommand
NewMockCommand creates a new mock instance
func (*MockCommand) DryRun ¶
func (m *MockCommand) DryRun() ([]byte, error)
DryRun mocks base method
func (*MockCommand) EXPECT ¶
func (m *MockCommand) EXPECT() *MockCommandMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockCommand) WithLogger ¶
func (m *MockCommand) WithLogger(arg0 logr.Logger) kubectl.Command
WithLogger mocks base method
type MockCommandMockRecorder ¶
type MockCommandMockRecorder struct {
// contains filtered or unexported fields
}
MockCommandMockRecorder is the mock recorder for MockCommand
func (*MockCommandMockRecorder) Build ¶
func (mr *MockCommandMockRecorder) Build() *gomock.Call
Build indicates an expected call of Build
func (*MockCommandMockRecorder) DryRun ¶
func (mr *MockCommandMockRecorder) DryRun() *gomock.Call
DryRun indicates an expected call of DryRun
func (*MockCommandMockRecorder) Run ¶
func (mr *MockCommandMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run
func (*MockCommandMockRecorder) WithLogger ¶
func (mr *MockCommandMockRecorder) WithLogger(arg0 interface{}) *gomock.Call
WithLogger indicates an expected call of WithLogger
type MockExecProvider ¶
type MockExecProvider struct {
// contains filtered or unexported fields
}
MockExecProvider is a mock of ExecProvider interface
func NewMockExecProvider ¶
func NewMockExecProvider(ctrl *gomock.Controller) *MockExecProvider
NewMockExecProvider creates a new mock instance
func (*MockExecProvider) EXPECT ¶
func (m *MockExecProvider) EXPECT() *MockExecProviderMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockExecProvider) ExecCmd ¶
func (m *MockExecProvider) ExecCmd(name string, arg ...string) ([]byte, error)
ExecCmd mocks base method
func (*MockExecProvider) FileExists ¶
func (m *MockExecProvider) FileExists(filePath string) bool
FileExists mocks base method
func (*MockExecProvider) FindOnPath ¶
func (m *MockExecProvider) FindOnPath(file string) (string, error)
FindOnPath mocks base method
type MockExecProviderMockRecorder ¶
type MockExecProviderMockRecorder struct {
// contains filtered or unexported fields
}
MockExecProviderMockRecorder is the mock recorder for MockExecProvider
func (*MockExecProviderMockRecorder) ExecCmd ¶
func (mr *MockExecProviderMockRecorder) ExecCmd(name interface{}, arg ...interface{}) *gomock.Call
ExecCmd indicates an expected call of ExecCmd
func (*MockExecProviderMockRecorder) FileExists ¶
func (mr *MockExecProviderMockRecorder) FileExists(filePath interface{}) *gomock.Call
FileExists indicates an expected call of FileExists
func (*MockExecProviderMockRecorder) FindOnPath ¶
func (mr *MockExecProviderMockRecorder) FindOnPath(file interface{}) *gomock.Call
FindOnPath indicates an expected call of FindOnPath
type MockKubectl ¶
type MockKubectl struct {
// contains filtered or unexported fields
}
MockKubectl is a mock of Kubectl interface
func NewMockKubectl ¶
func NewMockKubectl(ctrl *gomock.Controller) *MockKubectl
NewMockKubectl creates a new mock instance
func (*MockKubectl) Apply ¶
func (m *MockKubectl) Apply(arg0 string) kubectl.Command
Apply mocks base method
func (*MockKubectl) Delete ¶
func (m *MockKubectl) Delete(arg0 ...string) kubectl.Command
Delete mocks base method
func (*MockKubectl) EXPECT ¶
func (m *MockKubectl) EXPECT() *MockKubectlMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockKubectlMockRecorder ¶
type MockKubectlMockRecorder struct {
// contains filtered or unexported fields
}
MockKubectlMockRecorder is the mock recorder for MockKubectl
func (*MockKubectlMockRecorder) Apply ¶
func (mr *MockKubectlMockRecorder) Apply(arg0 interface{}) *gomock.Call
Apply indicates an expected call of Apply
func (*MockKubectlMockRecorder) Delete ¶
func (mr *MockKubectlMockRecorder) Delete(arg0 ...interface{}) *gomock.Call
Delete indicates an expected call of Delete
func (*MockKubectlMockRecorder) Get ¶
func (mr *MockKubectlMockRecorder) Get(arg0 ...interface{}) *gomock.Call
Get indicates an expected call of Get