Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockApplicationAPI
- type MockApplicationAPIMockRecorder
- type MockCharmsAPI
- type MockCharmsAPIMockRecorder
- type MockCloudCredentialAPI
- func (m *MockCloudCredentialAPI) BestAPIVersion() int
- func (m *MockCloudCredentialAPI) Close() error
- func (m *MockCloudCredentialAPI) Cloud(arg0 names.CloudTag) (cloud.Cloud, error)
- func (m *MockCloudCredentialAPI) CredentialContents(arg0, arg1 string, arg2 bool) ([]params.CredentialContentResult, error)
- func (m *MockCloudCredentialAPI) EXPECT() *MockCloudCredentialAPIMockRecorder
- type MockCloudCredentialAPIMockRecorder
- func (mr *MockCloudCredentialAPIMockRecorder) BestAPIVersion() *gomock.Call
- func (mr *MockCloudCredentialAPIMockRecorder) Close() *gomock.Call
- func (mr *MockCloudCredentialAPIMockRecorder) Cloud(arg0 interface{}) *gomock.Call
- func (mr *MockCloudCredentialAPIMockRecorder) CredentialContents(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockContext
- func (m *MockContext) EXPECT() *MockContextMockRecorder
- func (m *MockContext) GetStderr() io.Writer
- func (m *MockContext) GetStdin() io.Reader
- func (m *MockContext) GetStdout() io.Writer
- func (m *MockContext) InterruptNotify(arg0 chan<- os.Signal)
- func (m *MockContext) StopInterruptNotify(arg0 chan<- os.Signal)
- type MockContextMockRecorder
- func (mr *MockContextMockRecorder) GetStderr() *gomock.Call
- func (mr *MockContextMockRecorder) GetStdin() *gomock.Call
- func (mr *MockContextMockRecorder) GetStdout() *gomock.Call
- func (mr *MockContextMockRecorder) InterruptNotify(arg0 interface{}) *gomock.Call
- func (mr *MockContextMockRecorder) StopInterruptNotify(arg0 interface{}) *gomock.Call
- type MockExecutor
- func (m *MockExecutor) Copy(arg0 exec.CopyParams, arg1 <-chan struct{}) error
- func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
- func (m *MockExecutor) Exec(arg0 exec.ExecParams, arg1 <-chan struct{}) error
- func (m *MockExecutor) NameSpace() string
- func (m *MockExecutor) RawClient() kubernetes.Interface
- func (m *MockExecutor) Status(arg0 exec.StatusParams) (*exec.Status, error)
- type MockExecutorMockRecorder
- func (mr *MockExecutorMockRecorder) Copy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutorMockRecorder) Exec(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockExecutorMockRecorder) NameSpace() *gomock.Call
- func (mr *MockExecutorMockRecorder) RawClient() *gomock.Call
- func (mr *MockExecutorMockRecorder) Status(arg0 interface{}) *gomock.Call
- type MockModelAPI
- type MockModelAPIMockRecorder
- type MockStatusAPI
- type MockStatusAPIMockRecorder
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 ¶
func (m *MockApplicationAPI) EXPECT() *MockApplicationAPIMockRecorder
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 ¶
func (mr *MockApplicationAPIMockRecorder) Close() *gomock.Call
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 MockCharmsAPI ¶
type MockCharmsAPI struct {
// contains filtered or unexported fields
}
MockCharmsAPI is a mock of CharmsAPI interface.
func NewMockCharmsAPI ¶
func NewMockCharmsAPI(ctrl *gomock.Controller) *MockCharmsAPI
NewMockCharmsAPI creates a new mock instance.
func (*MockCharmsAPI) CharmInfo ¶
func (m *MockCharmsAPI) CharmInfo(arg0 string) (*charms.CharmInfo, error)
CharmInfo mocks base method.
func (*MockCharmsAPI) EXPECT ¶
func (m *MockCharmsAPI) EXPECT() *MockCharmsAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCharmsAPIMockRecorder ¶
type MockCharmsAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockCharmsAPIMockRecorder is the mock recorder for MockCharmsAPI.
func (*MockCharmsAPIMockRecorder) CharmInfo ¶
func (mr *MockCharmsAPIMockRecorder) CharmInfo(arg0 interface{}) *gomock.Call
CharmInfo indicates an expected call of CharmInfo.
func (*MockCharmsAPIMockRecorder) Close ¶
func (mr *MockCharmsAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
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) CredentialContents ¶
func (m *MockCloudCredentialAPI) CredentialContents(arg0, arg1 string, arg2 bool) ([]params.CredentialContentResult, error)
CredentialContents mocks base method.
func (*MockCloudCredentialAPI) EXPECT ¶
func (m *MockCloudCredentialAPI) EXPECT() *MockCloudCredentialAPIMockRecorder
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 ¶
func (mr *MockCloudCredentialAPIMockRecorder) Close() *gomock.Call
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 ¶
func (m *MockExecutor) EXPECT() *MockExecutorMockRecorder
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) EXPECT ¶
func (m *MockModelAPI) EXPECT() *MockModelAPIMockRecorder
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.
type MockStatusAPI ¶
type MockStatusAPI struct {
// contains filtered or unexported fields
}
MockStatusAPI is a mock of StatusAPI interface.
func NewMockStatusAPI ¶
func NewMockStatusAPI(ctrl *gomock.Controller) *MockStatusAPI
NewMockStatusAPI creates a new mock instance.
func (*MockStatusAPI) EXPECT ¶
func (m *MockStatusAPI) EXPECT() *MockStatusAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatusAPI) Status ¶
func (m *MockStatusAPI) Status(arg0 []string) (*params.FullStatus, error)
Status mocks base method.
type MockStatusAPIMockRecorder ¶
type MockStatusAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockStatusAPIMockRecorder is the mock recorder for MockStatusAPI.
func (*MockStatusAPIMockRecorder) Close ¶
func (mr *MockStatusAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockStatusAPIMockRecorder) Status ¶
func (mr *MockStatusAPIMockRecorder) Status(arg0 interface{}) *gomock.Call
Status indicates an expected call of Status.