Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockAgentConfig
- type MockAgentConfigMockRecorder
- type MockInstance
- type MockInstanceMockRecorder
- type MockManager
- type MockManagerMockRecorder
- type MockModel
- type MockModelMockRecorder
- type MockRebootWaiter
- func (m *MockRebootWaiter) EXPECT() *MockRebootWaiterMockRecorder
- func (m *MockRebootWaiter) ListServices() ([]string, error)
- func (m *MockRebootWaiter) NewContainerManager(arg0 instance.ContainerType, arg1 container.ManagerConfig) (reboot.Manager, error)
- func (m *MockRebootWaiter) NewServiceReference(arg0 string) (reboot.Service, error)
- func (m *MockRebootWaiter) ScheduleAction(arg0 params.RebootAction, arg1 int) error
- type MockRebootWaiterMockRecorder
- func (mr *MockRebootWaiterMockRecorder) ListServices() *gomock.Call
- func (mr *MockRebootWaiterMockRecorder) NewContainerManager(arg0, arg1 any) *gomock.Call
- func (mr *MockRebootWaiterMockRecorder) NewServiceReference(arg0 any) *gomock.Call
- func (mr *MockRebootWaiterMockRecorder) ScheduleAction(arg0, arg1 any) *gomock.Call
- type MockService
- type MockServiceMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockAgentConfig ¶
type MockAgentConfig struct {
// contains filtered or unexported fields
}
MockAgentConfig is a mock of AgentConfig interface.
func NewMockAgentConfig ¶
func NewMockAgentConfig(ctrl *gomock.Controller) *MockAgentConfig
NewMockAgentConfig creates a new mock instance.
func (*MockAgentConfig) EXPECT ¶
func (m *MockAgentConfig) EXPECT() *MockAgentConfigMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockAgentConfig) Model ¶
func (m *MockAgentConfig) Model() reboot.Model
Model mocks base method.
type MockAgentConfigMockRecorder ¶
type MockAgentConfigMockRecorder struct {
// contains filtered or unexported fields
}
MockAgentConfigMockRecorder is the mock recorder for MockAgentConfig.
func (*MockAgentConfigMockRecorder) Model ¶
func (mr *MockAgentConfigMockRecorder) Model() *gomock.Call
Model indicates an expected call of Model.
type MockInstance ¶
type MockInstance struct {
// contains filtered or unexported fields
}
MockInstance is a mock of Instance interface.
func NewMockInstance ¶
func NewMockInstance(ctrl *gomock.Controller) *MockInstance
NewMockInstance creates a new mock instance.
func (*MockInstance) Addresses ¶
func (m *MockInstance) Addresses(arg0 context.ProviderCallContext) (network.ProviderAddresses, error)
Addresses mocks base method.
func (*MockInstance) EXPECT ¶
func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockInstance) Status ¶
func (m *MockInstance) Status(arg0 context.ProviderCallContext) instance.Status
Status mocks base method.
type MockInstanceMockRecorder ¶
type MockInstanceMockRecorder struct {
// contains filtered or unexported fields
}
MockInstanceMockRecorder is the mock recorder for MockInstance.
func (*MockInstanceMockRecorder) Addresses ¶
func (mr *MockInstanceMockRecorder) Addresses(arg0 any) *gomock.Call
Addresses indicates an expected call of Addresses.
func (*MockInstanceMockRecorder) Id ¶
func (mr *MockInstanceMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
type MockManager ¶
type MockManager struct {
// contains filtered or unexported fields
}
MockManager is a mock of Manager interface.
func NewMockManager ¶
func NewMockManager(ctrl *gomock.Controller) *MockManager
NewMockManager creates a new mock instance.
func (*MockManager) EXPECT ¶
func (m *MockManager) EXPECT() *MockManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockManager) IsInitialized ¶
func (m *MockManager) IsInitialized() bool
IsInitialized mocks base method.
func (*MockManager) ListContainers ¶
func (m *MockManager) ListContainers() ([]instances.Instance, error)
ListContainers mocks base method.
type MockManagerMockRecorder ¶
type MockManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockManagerMockRecorder is the mock recorder for MockManager.
func (*MockManagerMockRecorder) IsInitialized ¶
func (mr *MockManagerMockRecorder) IsInitialized() *gomock.Call
IsInitialized indicates an expected call of IsInitialized.
func (*MockManagerMockRecorder) ListContainers ¶
func (mr *MockManagerMockRecorder) ListContainers() *gomock.Call
ListContainers indicates an expected call of ListContainers.
type MockModel ¶
type MockModel struct {
// contains filtered or unexported fields
}
MockModel is a mock of Model interface.
func NewMockModel ¶
func NewMockModel(ctrl *gomock.Controller) *MockModel
NewMockModel creates a new mock instance.
func (*MockModel) EXPECT ¶
func (m *MockModel) EXPECT() *MockModelMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockModelMockRecorder ¶
type MockModelMockRecorder struct {
// contains filtered or unexported fields
}
MockModelMockRecorder is the mock recorder for MockModel.
func (*MockModelMockRecorder) Id ¶
func (mr *MockModelMockRecorder) Id() *gomock.Call
Id indicates an expected call of Id.
type MockRebootWaiter ¶
type MockRebootWaiter struct {
// contains filtered or unexported fields
}
MockRebootWaiter is a mock of RebootWaiter interface.
func NewMockRebootWaiter ¶
func NewMockRebootWaiter(ctrl *gomock.Controller) *MockRebootWaiter
NewMockRebootWaiter creates a new mock instance.
func (*MockRebootWaiter) EXPECT ¶
func (m *MockRebootWaiter) EXPECT() *MockRebootWaiterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRebootWaiter) ListServices ¶
func (m *MockRebootWaiter) ListServices() ([]string, error)
ListServices mocks base method.
func (*MockRebootWaiter) NewContainerManager ¶
func (m *MockRebootWaiter) NewContainerManager(arg0 instance.ContainerType, arg1 container.ManagerConfig) (reboot.Manager, error)
NewContainerManager mocks base method.
func (*MockRebootWaiter) NewServiceReference ¶
func (m *MockRebootWaiter) NewServiceReference(arg0 string) (reboot.Service, error)
NewServiceReference mocks base method.
func (*MockRebootWaiter) ScheduleAction ¶
func (m *MockRebootWaiter) ScheduleAction(arg0 params.RebootAction, arg1 int) error
ScheduleAction mocks base method.
type MockRebootWaiterMockRecorder ¶
type MockRebootWaiterMockRecorder struct {
// contains filtered or unexported fields
}
MockRebootWaiterMockRecorder is the mock recorder for MockRebootWaiter.
func (*MockRebootWaiterMockRecorder) ListServices ¶
func (mr *MockRebootWaiterMockRecorder) ListServices() *gomock.Call
ListServices indicates an expected call of ListServices.
func (*MockRebootWaiterMockRecorder) NewContainerManager ¶
func (mr *MockRebootWaiterMockRecorder) NewContainerManager(arg0, arg1 any) *gomock.Call
NewContainerManager indicates an expected call of NewContainerManager.
func (*MockRebootWaiterMockRecorder) NewServiceReference ¶
func (mr *MockRebootWaiterMockRecorder) NewServiceReference(arg0 any) *gomock.Call
NewServiceReference indicates an expected call of NewServiceReference.
func (*MockRebootWaiterMockRecorder) ScheduleAction ¶
func (mr *MockRebootWaiterMockRecorder) ScheduleAction(arg0, arg1 any) *gomock.Call
ScheduleAction indicates an expected call of ScheduleAction.
type MockService ¶
type MockService struct {
// contains filtered or unexported fields
}
MockService is a mock of Service interface.
func NewMockService ¶
func NewMockService(ctrl *gomock.Controller) *MockService
NewMockService creates a new mock instance.
func (*MockService) EXPECT ¶
func (m *MockService) EXPECT() *MockServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockServiceMockRecorder ¶
type MockServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockServiceMockRecorder is the mock recorder for MockService.
func (*MockServiceMockRecorder) Stop ¶
func (mr *MockServiceMockRecorder) Stop() *gomock.Call
Stop indicates an expected call of Stop.