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 MockModelConfigAPI
- type MockModelConfigAPIMockRecorder
- type MockRemoveMachineAPI
- func (m *MockRemoveMachineAPI) BestAPIVersion() int
- func (m *MockRemoveMachineAPI) Close() error
- func (m *MockRemoveMachineAPI) DestroyMachinesWithParams(arg0, arg1, arg2 bool, arg3 *time.Duration, arg4 ...string) ([]params.DestroyMachineResult, error)
- func (m *MockRemoveMachineAPI) EXPECT() *MockRemoveMachineAPIMockRecorder
- type MockRemoveMachineAPIMockRecorder
- type MockStatusAPI
- type MockStatusAPIMockRecorder
- type MockUpgradeMachineAPI
- func (m *MockUpgradeMachineAPI) Close() error
- func (m *MockUpgradeMachineAPI) EXPECT() *MockUpgradeMachineAPIMockRecorder
- func (m *MockUpgradeMachineAPI) GetUpgradeSeriesMessages(arg0, arg1 string) ([]string, error)
- func (m *MockUpgradeMachineAPI) UpgradeSeriesComplete(arg0 string) error
- func (m *MockUpgradeMachineAPI) UpgradeSeriesPrepare(arg0, arg1 string, arg2 bool) error
- func (m *MockUpgradeMachineAPI) WatchUpgradeSeriesNotifications(arg0 string) (watcher.NotifyWatcher, string, error)
- type MockUpgradeMachineAPIMockRecorder
- func (mr *MockUpgradeMachineAPIMockRecorder) Close() *gomock.Call
- func (mr *MockUpgradeMachineAPIMockRecorder) GetUpgradeSeriesMessages(arg0, arg1 any) *gomock.Call
- func (mr *MockUpgradeMachineAPIMockRecorder) UpgradeSeriesComplete(arg0 any) *gomock.Call
- func (mr *MockUpgradeMachineAPIMockRecorder) UpgradeSeriesPrepare(arg0, arg1, arg2 any) *gomock.Call
- func (mr *MockUpgradeMachineAPIMockRecorder) WatchUpgradeSeriesNotifications(arg0 any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockModelConfigAPI ¶
type MockModelConfigAPI struct {
// contains filtered or unexported fields
}
MockModelConfigAPI is a mock of ModelConfigAPI interface.
func NewMockModelConfigAPI ¶
func NewMockModelConfigAPI(ctrl *gomock.Controller) *MockModelConfigAPI
NewMockModelConfigAPI creates a new mock instance.
func (*MockModelConfigAPI) Close ¶
func (m *MockModelConfigAPI) Close() error
Close mocks base method.
func (*MockModelConfigAPI) EXPECT ¶
func (m *MockModelConfigAPI) EXPECT() *MockModelConfigAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockModelConfigAPIMockRecorder ¶
type MockModelConfigAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockModelConfigAPIMockRecorder is the mock recorder for MockModelConfigAPI.
func (*MockModelConfigAPIMockRecorder) Close ¶
func (mr *MockModelConfigAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockModelConfigAPIMockRecorder) ModelGet ¶
func (mr *MockModelConfigAPIMockRecorder) ModelGet() *gomock.Call
ModelGet indicates an expected call of ModelGet.
type MockRemoveMachineAPI ¶
type MockRemoveMachineAPI struct {
// contains filtered or unexported fields
}
MockRemoveMachineAPI is a mock of RemoveMachineAPI interface.
func NewMockRemoveMachineAPI ¶
func NewMockRemoveMachineAPI(ctrl *gomock.Controller) *MockRemoveMachineAPI
NewMockRemoveMachineAPI creates a new mock instance.
func (*MockRemoveMachineAPI) BestAPIVersion ¶
func (m *MockRemoveMachineAPI) BestAPIVersion() int
BestAPIVersion mocks base method.
func (*MockRemoveMachineAPI) Close ¶
func (m *MockRemoveMachineAPI) Close() error
Close mocks base method.
func (*MockRemoveMachineAPI) DestroyMachinesWithParams ¶
func (m *MockRemoveMachineAPI) DestroyMachinesWithParams(arg0, arg1, arg2 bool, arg3 *time.Duration, arg4 ...string) ([]params.DestroyMachineResult, error)
DestroyMachinesWithParams mocks base method.
func (*MockRemoveMachineAPI) EXPECT ¶
func (m *MockRemoveMachineAPI) EXPECT() *MockRemoveMachineAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockRemoveMachineAPIMockRecorder ¶
type MockRemoveMachineAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockRemoveMachineAPIMockRecorder is the mock recorder for MockRemoveMachineAPI.
func (*MockRemoveMachineAPIMockRecorder) BestAPIVersion ¶
func (mr *MockRemoveMachineAPIMockRecorder) BestAPIVersion() *gomock.Call
BestAPIVersion indicates an expected call of BestAPIVersion.
func (*MockRemoveMachineAPIMockRecorder) Close ¶
func (mr *MockRemoveMachineAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockRemoveMachineAPIMockRecorder) DestroyMachinesWithParams ¶
func (mr *MockRemoveMachineAPIMockRecorder) DestroyMachinesWithParams(arg0, arg1, arg2, arg3 any, arg4 ...any) *gomock.Call
DestroyMachinesWithParams indicates an expected call of DestroyMachinesWithParams.
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 *client.StatusArgs) (*params.FullStatus, error)
Status mocks base method.
type MockStatusAPIMockRecorder ¶
type MockStatusAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockStatusAPIMockRecorder is the mock recorder for MockStatusAPI.
type MockUpgradeMachineAPI ¶
type MockUpgradeMachineAPI struct {
// contains filtered or unexported fields
}
MockUpgradeMachineAPI is a mock of UpgradeMachineAPI interface.
func NewMockUpgradeMachineAPI ¶
func NewMockUpgradeMachineAPI(ctrl *gomock.Controller) *MockUpgradeMachineAPI
NewMockUpgradeMachineAPI creates a new mock instance.
func (*MockUpgradeMachineAPI) Close ¶
func (m *MockUpgradeMachineAPI) Close() error
Close mocks base method.
func (*MockUpgradeMachineAPI) EXPECT ¶
func (m *MockUpgradeMachineAPI) EXPECT() *MockUpgradeMachineAPIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockUpgradeMachineAPI) GetUpgradeSeriesMessages ¶
func (m *MockUpgradeMachineAPI) GetUpgradeSeriesMessages(arg0, arg1 string) ([]string, error)
GetUpgradeSeriesMessages mocks base method.
func (*MockUpgradeMachineAPI) UpgradeSeriesComplete ¶
func (m *MockUpgradeMachineAPI) UpgradeSeriesComplete(arg0 string) error
UpgradeSeriesComplete mocks base method.
func (*MockUpgradeMachineAPI) UpgradeSeriesPrepare ¶
func (m *MockUpgradeMachineAPI) UpgradeSeriesPrepare(arg0, arg1 string, arg2 bool) error
UpgradeSeriesPrepare mocks base method.
func (*MockUpgradeMachineAPI) WatchUpgradeSeriesNotifications ¶
func (m *MockUpgradeMachineAPI) WatchUpgradeSeriesNotifications(arg0 string) (watcher.NotifyWatcher, string, error)
WatchUpgradeSeriesNotifications mocks base method.
type MockUpgradeMachineAPIMockRecorder ¶
type MockUpgradeMachineAPIMockRecorder struct {
// contains filtered or unexported fields
}
MockUpgradeMachineAPIMockRecorder is the mock recorder for MockUpgradeMachineAPI.
func (*MockUpgradeMachineAPIMockRecorder) Close ¶
func (mr *MockUpgradeMachineAPIMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockUpgradeMachineAPIMockRecorder) GetUpgradeSeriesMessages ¶
func (mr *MockUpgradeMachineAPIMockRecorder) GetUpgradeSeriesMessages(arg0, arg1 any) *gomock.Call
GetUpgradeSeriesMessages indicates an expected call of GetUpgradeSeriesMessages.
func (*MockUpgradeMachineAPIMockRecorder) UpgradeSeriesComplete ¶
func (mr *MockUpgradeMachineAPIMockRecorder) UpgradeSeriesComplete(arg0 any) *gomock.Call
UpgradeSeriesComplete indicates an expected call of UpgradeSeriesComplete.
func (*MockUpgradeMachineAPIMockRecorder) UpgradeSeriesPrepare ¶
func (mr *MockUpgradeMachineAPIMockRecorder) UpgradeSeriesPrepare(arg0, arg1, arg2 any) *gomock.Call
UpgradeSeriesPrepare indicates an expected call of UpgradeSeriesPrepare.
func (*MockUpgradeMachineAPIMockRecorder) WatchUpgradeSeriesNotifications ¶
func (mr *MockUpgradeMachineAPIMockRecorder) WatchUpgradeSeriesNotifications(arg0 any) *gomock.Call
WatchUpgradeSeriesNotifications indicates an expected call of WatchUpgradeSeriesNotifications.