Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAPICaller
- func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error
- func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger
- func (m *MockAPICaller) BestFacadeVersion(arg0 string) int
- func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)
- func (m *MockAPICaller) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)
- func (m *MockAPICaller) Context() context.Context
- func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder
- func (m *MockAPICaller) HTTPClient() (*httprequest_v1.Client, error)
- func (m *MockAPICaller) ModelTag() (names_v3.ModelTag, bool)
- type MockAPICallerMockRecorder
- func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call
- func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAPICallerMockRecorder) Context() *gomock.Call
- func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call
- func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call
- type MockFacadeCaller
- type MockFacadeCallerMockRecorder
- type MockMutaterMachine
- func (m *MockMutaterMachine) CharmProfilingInfo() (*instancemutater.UnitProfileInfo, error)
- func (m *MockMutaterMachine) ContainerType() (instance.ContainerType, error)
- func (m *MockMutaterMachine) EXPECT() *MockMutaterMachineMockRecorder
- func (m *MockMutaterMachine) InstanceId() (string, error)
- func (m *MockMutaterMachine) Life() life.Value
- func (m *MockMutaterMachine) Refresh() error
- func (m *MockMutaterMachine) SetCharmProfiles(arg0 []string) error
- func (m *MockMutaterMachine) SetModificationStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
- func (m *MockMutaterMachine) Tag() names_v3.MachineTag
- func (m *MockMutaterMachine) WatchContainers() (watcher.StringsWatcher, error)
- func (m *MockMutaterMachine) WatchLXDProfileVerificationNeeded() (watcher.NotifyWatcher, error)
- func (m *MockMutaterMachine) WatchUnits() (watcher.StringsWatcher, error)
- type MockMutaterMachineMockRecorder
- func (mr *MockMutaterMachineMockRecorder) CharmProfilingInfo() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) ContainerType() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) InstanceId() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) Life() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) Refresh() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) SetCharmProfiles(arg0 interface{}) *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) SetModificationStatus(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) Tag() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) WatchContainers() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded() *gomock.Call
- func (mr *MockMutaterMachineMockRecorder) WatchUnits() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAPICaller ¶
type MockAPICaller struct {
// contains filtered or unexported fields
}
MockAPICaller is a mock of APICaller interface
func NewMockAPICaller ¶
func NewMockAPICaller(ctrl *gomock.Controller) *MockAPICaller
NewMockAPICaller creates a new mock instance
func (*MockAPICaller) APICall ¶
func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error
APICall mocks base method
func (*MockAPICaller) BakeryClient ¶
func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger
BakeryClient mocks base method
func (*MockAPICaller) BestFacadeVersion ¶
func (m *MockAPICaller) BestFacadeVersion(arg0 string) int
BestFacadeVersion mocks base method
func (*MockAPICaller) ConnectControllerStream ¶
func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)
ConnectControllerStream mocks base method
func (*MockAPICaller) ConnectStream ¶
ConnectStream mocks base method
func (*MockAPICaller) Context ¶
func (m *MockAPICaller) Context() context.Context
Context mocks base method
func (*MockAPICaller) EXPECT ¶
func (m *MockAPICaller) EXPECT() *MockAPICallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockAPICaller) HTTPClient ¶
func (m *MockAPICaller) HTTPClient() (*httprequest_v1.Client, error)
HTTPClient mocks base method
type MockAPICallerMockRecorder ¶
type MockAPICallerMockRecorder struct {
// contains filtered or unexported fields
}
MockAPICallerMockRecorder is the mock recorder for MockAPICaller
func (*MockAPICallerMockRecorder) APICall ¶
func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call
APICall indicates an expected call of APICall
func (*MockAPICallerMockRecorder) BakeryClient ¶
func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call
BakeryClient indicates an expected call of BakeryClient
func (*MockAPICallerMockRecorder) BestFacadeVersion ¶
func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call
BestFacadeVersion indicates an expected call of BestFacadeVersion
func (*MockAPICallerMockRecorder) ConnectControllerStream ¶
func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call
ConnectControllerStream indicates an expected call of ConnectControllerStream
func (*MockAPICallerMockRecorder) ConnectStream ¶
func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call
ConnectStream indicates an expected call of ConnectStream
func (*MockAPICallerMockRecorder) Context ¶
func (mr *MockAPICallerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context
func (*MockAPICallerMockRecorder) HTTPClient ¶
func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call
HTTPClient indicates an expected call of HTTPClient
func (*MockAPICallerMockRecorder) ModelTag ¶
func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call
ModelTag indicates an expected call of ModelTag
type MockFacadeCaller ¶
type MockFacadeCaller struct {
// contains filtered or unexported fields
}
MockFacadeCaller is a mock of FacadeCaller interface
func NewMockFacadeCaller ¶
func NewMockFacadeCaller(ctrl *gomock.Controller) *MockFacadeCaller
NewMockFacadeCaller creates a new mock instance
func (*MockFacadeCaller) BestAPIVersion ¶
func (m *MockFacadeCaller) BestAPIVersion() int
BestAPIVersion mocks base method
func (*MockFacadeCaller) EXPECT ¶
func (m *MockFacadeCaller) EXPECT() *MockFacadeCallerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFacadeCaller) FacadeCall ¶
func (m *MockFacadeCaller) FacadeCall(arg0 string, arg1, arg2 interface{}) error
FacadeCall mocks base method
func (*MockFacadeCaller) RawAPICaller ¶
func (m *MockFacadeCaller) RawAPICaller() base.APICaller
RawAPICaller mocks base method
type MockFacadeCallerMockRecorder ¶
type MockFacadeCallerMockRecorder struct {
// contains filtered or unexported fields
}
MockFacadeCallerMockRecorder is the mock recorder for MockFacadeCaller
func (*MockFacadeCallerMockRecorder) BestAPIVersion ¶
func (mr *MockFacadeCallerMockRecorder) BestAPIVersion() *gomock.Call
BestAPIVersion indicates an expected call of BestAPIVersion
func (*MockFacadeCallerMockRecorder) FacadeCall ¶
func (mr *MockFacadeCallerMockRecorder) FacadeCall(arg0, arg1, arg2 interface{}) *gomock.Call
FacadeCall indicates an expected call of FacadeCall
func (*MockFacadeCallerMockRecorder) Name ¶
func (mr *MockFacadeCallerMockRecorder) Name() *gomock.Call
Name indicates an expected call of Name
func (*MockFacadeCallerMockRecorder) RawAPICaller ¶
func (mr *MockFacadeCallerMockRecorder) RawAPICaller() *gomock.Call
RawAPICaller indicates an expected call of RawAPICaller
type MockMutaterMachine ¶
type MockMutaterMachine struct {
// contains filtered or unexported fields
}
MockMutaterMachine is a mock of MutaterMachine interface
func NewMockMutaterMachine ¶
func NewMockMutaterMachine(ctrl *gomock.Controller) *MockMutaterMachine
NewMockMutaterMachine creates a new mock instance
func (*MockMutaterMachine) CharmProfilingInfo ¶
func (m *MockMutaterMachine) CharmProfilingInfo() (*instancemutater.UnitProfileInfo, error)
CharmProfilingInfo mocks base method
func (*MockMutaterMachine) ContainerType ¶
func (m *MockMutaterMachine) ContainerType() (instance.ContainerType, error)
ContainerType mocks base method
func (*MockMutaterMachine) EXPECT ¶
func (m *MockMutaterMachine) EXPECT() *MockMutaterMachineMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockMutaterMachine) InstanceId ¶
func (m *MockMutaterMachine) InstanceId() (string, error)
InstanceId mocks base method
func (*MockMutaterMachine) Life ¶
func (m *MockMutaterMachine) Life() life.Value
Life mocks base method
func (*MockMutaterMachine) Refresh ¶
func (m *MockMutaterMachine) Refresh() error
Refresh mocks base method
func (*MockMutaterMachine) SetCharmProfiles ¶
func (m *MockMutaterMachine) SetCharmProfiles(arg0 []string) error
SetCharmProfiles mocks base method
func (*MockMutaterMachine) SetModificationStatus ¶
func (m *MockMutaterMachine) SetModificationStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error
SetModificationStatus mocks base method
func (*MockMutaterMachine) Tag ¶
func (m *MockMutaterMachine) Tag() names_v3.MachineTag
Tag mocks base method
func (*MockMutaterMachine) WatchContainers ¶
func (m *MockMutaterMachine) WatchContainers() (watcher.StringsWatcher, error)
WatchContainers mocks base method
func (*MockMutaterMachine) WatchLXDProfileVerificationNeeded ¶
func (m *MockMutaterMachine) WatchLXDProfileVerificationNeeded() (watcher.NotifyWatcher, error)
WatchLXDProfileVerificationNeeded mocks base method
func (*MockMutaterMachine) WatchUnits ¶
func (m *MockMutaterMachine) WatchUnits() (watcher.StringsWatcher, error)
WatchUnits mocks base method
type MockMutaterMachineMockRecorder ¶
type MockMutaterMachineMockRecorder struct {
// contains filtered or unexported fields
}
MockMutaterMachineMockRecorder is the mock recorder for MockMutaterMachine
func (*MockMutaterMachineMockRecorder) CharmProfilingInfo ¶
func (mr *MockMutaterMachineMockRecorder) CharmProfilingInfo() *gomock.Call
CharmProfilingInfo indicates an expected call of CharmProfilingInfo
func (*MockMutaterMachineMockRecorder) ContainerType ¶
func (mr *MockMutaterMachineMockRecorder) ContainerType() *gomock.Call
ContainerType indicates an expected call of ContainerType
func (*MockMutaterMachineMockRecorder) InstanceId ¶
func (mr *MockMutaterMachineMockRecorder) InstanceId() *gomock.Call
InstanceId indicates an expected call of InstanceId
func (*MockMutaterMachineMockRecorder) Life ¶
func (mr *MockMutaterMachineMockRecorder) Life() *gomock.Call
Life indicates an expected call of Life
func (*MockMutaterMachineMockRecorder) Refresh ¶
func (mr *MockMutaterMachineMockRecorder) Refresh() *gomock.Call
Refresh indicates an expected call of Refresh
func (*MockMutaterMachineMockRecorder) SetCharmProfiles ¶
func (mr *MockMutaterMachineMockRecorder) SetCharmProfiles(arg0 interface{}) *gomock.Call
SetCharmProfiles indicates an expected call of SetCharmProfiles
func (*MockMutaterMachineMockRecorder) SetModificationStatus ¶
func (mr *MockMutaterMachineMockRecorder) SetModificationStatus(arg0, arg1, arg2 interface{}) *gomock.Call
SetModificationStatus indicates an expected call of SetModificationStatus
func (*MockMutaterMachineMockRecorder) Tag ¶
func (mr *MockMutaterMachineMockRecorder) Tag() *gomock.Call
Tag indicates an expected call of Tag
func (*MockMutaterMachineMockRecorder) WatchContainers ¶
func (mr *MockMutaterMachineMockRecorder) WatchContainers() *gomock.Call
WatchContainers indicates an expected call of WatchContainers
func (*MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded ¶
func (mr *MockMutaterMachineMockRecorder) WatchLXDProfileVerificationNeeded() *gomock.Call
WatchLXDProfileVerificationNeeded indicates an expected call of WatchLXDProfileVerificationNeeded
func (*MockMutaterMachineMockRecorder) WatchUnits ¶
func (mr *MockMutaterMachineMockRecorder) WatchUnits() *gomock.Call
WatchUnits indicates an expected call of WatchUnits