Documentation

Overview

Package mocks is a generated GoMock package.

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 MockApplicationAPI

type MockApplicationAPI struct {
	// contains filtered or unexported fields
}

MockApplicationAPI is a mock of ApplicationAPI interface

func NewMockApplicationAPI

func NewMockApplicationAPI(ctrl *gomock.Controller) *MockApplicationAPI

NewMockApplicationAPI creates a new mock instance

func (*MockApplicationAPI) Close

func (m *MockApplicationAPI) Close() error

Close mocks base method

func (*MockApplicationAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockApplicationAPI) UnitsInfo

func (m *MockApplicationAPI) UnitsInfo(arg0 []names.UnitTag) ([]application.UnitInfo, error)

UnitsInfo mocks base method

type MockApplicationAPIMockRecorder

type MockApplicationAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockApplicationAPIMockRecorder is the mock recorder for MockApplicationAPI

func (*MockApplicationAPIMockRecorder) Close

Close indicates an expected call of Close

func (*MockApplicationAPIMockRecorder) UnitsInfo

func (mr *MockApplicationAPIMockRecorder) UnitsInfo(arg0 interface{}) *gomock.Call

UnitsInfo indicates an expected call of UnitsInfo

type MockCloudCredentialAPI

type MockCloudCredentialAPI struct {
	// contains filtered or unexported fields
}

MockCloudCredentialAPI is a mock of CloudCredentialAPI interface

func NewMockCloudCredentialAPI

func NewMockCloudCredentialAPI(ctrl *gomock.Controller) *MockCloudCredentialAPI

NewMockCloudCredentialAPI creates a new mock instance

func (*MockCloudCredentialAPI) BestAPIVersion

func (m *MockCloudCredentialAPI) BestAPIVersion() int

BestAPIVersion mocks base method

func (*MockCloudCredentialAPI) Close

func (m *MockCloudCredentialAPI) Close() error

Close mocks base method

func (*MockCloudCredentialAPI) Cloud

Cloud mocks base method

func (*MockCloudCredentialAPI) CredentialContents

func (m *MockCloudCredentialAPI) CredentialContents(arg0, arg1 string, arg2 bool) ([]params.CredentialContentResult, error)

CredentialContents mocks base method

func (*MockCloudCredentialAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

type MockCloudCredentialAPIMockRecorder

type MockCloudCredentialAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockCloudCredentialAPIMockRecorder is the mock recorder for MockCloudCredentialAPI

func (*MockCloudCredentialAPIMockRecorder) BestAPIVersion

func (mr *MockCloudCredentialAPIMockRecorder) BestAPIVersion() *gomock.Call

BestAPIVersion indicates an expected call of BestAPIVersion

func (*MockCloudCredentialAPIMockRecorder) Close

Close indicates an expected call of Close

func (*MockCloudCredentialAPIMockRecorder) Cloud

func (mr *MockCloudCredentialAPIMockRecorder) Cloud(arg0 interface{}) *gomock.Call

Cloud indicates an expected call of Cloud

func (*MockCloudCredentialAPIMockRecorder) CredentialContents

func (mr *MockCloudCredentialAPIMockRecorder) CredentialContents(arg0, arg1, arg2 interface{}) *gomock.Call

CredentialContents indicates an expected call of CredentialContents

type MockContext

type MockContext struct {
	// contains filtered or unexported fields
}

MockContext is a mock of Context interface

func NewMockContext

func NewMockContext(ctrl *gomock.Controller) *MockContext

NewMockContext creates a new mock instance

func (*MockContext) EXPECT

func (m *MockContext) EXPECT() *MockContextMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockContext) GetStderr

func (m *MockContext) GetStderr() io.Writer

GetStderr mocks base method

func (*MockContext) GetStdin

func (m *MockContext) GetStdin() io.Reader

GetStdin mocks base method

func (*MockContext) GetStdout

func (m *MockContext) GetStdout() io.Writer

GetStdout mocks base method

func (*MockContext) InterruptNotify

func (m *MockContext) InterruptNotify(arg0 chan<- os.Signal)

InterruptNotify mocks base method

func (*MockContext) StopInterruptNotify

func (m *MockContext) StopInterruptNotify(arg0 chan<- os.Signal)

StopInterruptNotify mocks base method

type MockContextMockRecorder

type MockContextMockRecorder struct {
	// contains filtered or unexported fields
}

MockContextMockRecorder is the mock recorder for MockContext

func (*MockContextMockRecorder) GetStderr

func (mr *MockContextMockRecorder) GetStderr() *gomock.Call

GetStderr indicates an expected call of GetStderr

func (*MockContextMockRecorder) GetStdin

func (mr *MockContextMockRecorder) GetStdin() *gomock.Call

GetStdin indicates an expected call of GetStdin

func (*MockContextMockRecorder) GetStdout

func (mr *MockContextMockRecorder) GetStdout() *gomock.Call

GetStdout indicates an expected call of GetStdout

func (*MockContextMockRecorder) InterruptNotify

func (mr *MockContextMockRecorder) InterruptNotify(arg0 interface{}) *gomock.Call

InterruptNotify indicates an expected call of InterruptNotify

func (*MockContextMockRecorder) StopInterruptNotify

func (mr *MockContextMockRecorder) StopInterruptNotify(arg0 interface{}) *gomock.Call

StopInterruptNotify indicates an expected call of StopInterruptNotify

type MockExecutor

type MockExecutor struct {
	// contains filtered or unexported fields
}

MockExecutor is a mock of Executor interface

func NewMockExecutor

func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor

NewMockExecutor creates a new mock instance

func (*MockExecutor) Copy

func (m *MockExecutor) Copy(arg0 exec.CopyParams, arg1 <-chan struct{}) error

Copy mocks base method

func (*MockExecutor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockExecutor) Exec

func (m *MockExecutor) Exec(arg0 exec.ExecParams, arg1 <-chan struct{}) error

Exec mocks base method

func (*MockExecutor) NameSpace

func (m *MockExecutor) NameSpace() string

NameSpace mocks base method

func (*MockExecutor) RawClient

func (m *MockExecutor) RawClient() kubernetes.Interface

RawClient mocks base method

func (*MockExecutor) Status

func (m *MockExecutor) Status(arg0 exec.StatusParams) (*exec.Status, error)

Status mocks base method

type MockExecutorMockRecorder

type MockExecutorMockRecorder struct {
	// contains filtered or unexported fields
}

MockExecutorMockRecorder is the mock recorder for MockExecutor

func (*MockExecutorMockRecorder) Copy

func (mr *MockExecutorMockRecorder) Copy(arg0, arg1 interface{}) *gomock.Call

Copy indicates an expected call of Copy

func (*MockExecutorMockRecorder) Exec

func (mr *MockExecutorMockRecorder) Exec(arg0, arg1 interface{}) *gomock.Call

Exec indicates an expected call of Exec

func (*MockExecutorMockRecorder) NameSpace

func (mr *MockExecutorMockRecorder) NameSpace() *gomock.Call

NameSpace indicates an expected call of NameSpace

func (*MockExecutorMockRecorder) RawClient

func (mr *MockExecutorMockRecorder) RawClient() *gomock.Call

RawClient indicates an expected call of RawClient

func (*MockExecutorMockRecorder) Status

func (mr *MockExecutorMockRecorder) Status(arg0 interface{}) *gomock.Call

Status indicates an expected call of Status

type MockModelAPI

type MockModelAPI struct {
	// contains filtered or unexported fields
}

MockModelAPI is a mock of ModelAPI interface

func NewMockModelAPI

func NewMockModelAPI(ctrl *gomock.Controller) *MockModelAPI

NewMockModelAPI creates a new mock instance

func (*MockModelAPI) Close

func (m *MockModelAPI) Close() error

Close mocks base method

func (*MockModelAPI) EXPECT

EXPECT returns an object that allows the caller to indicate expected use

func (*MockModelAPI) ModelInfo

func (m *MockModelAPI) ModelInfo(arg0 []names.ModelTag) ([]params.ModelInfoResult, error)

ModelInfo mocks base method

type MockModelAPIMockRecorder

type MockModelAPIMockRecorder struct {
	// contains filtered or unexported fields
}

MockModelAPIMockRecorder is the mock recorder for MockModelAPI

func (*MockModelAPIMockRecorder) Close

func (mr *MockModelAPIMockRecorder) Close() *gomock.Call

Close indicates an expected call of Close

func (*MockModelAPIMockRecorder) ModelInfo

func (mr *MockModelAPIMockRecorder) ModelInfo(arg0 interface{}) *gomock.Call

ModelInfo indicates an expected call of ModelInfo