mocks

package
v0.0.0-...-2f78cd6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 22, 2024 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

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 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

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

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

Addresses mocks base method.

func (*MockInstance) EXPECT

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

func (*MockInstance) Id

func (m *MockInstance) Id() instance.Id

Id mocks base method.

func (*MockInstance) 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

Id indicates an expected call of Id.

func (*MockInstanceMockRecorder) Status

func (mr *MockInstanceMockRecorder) Status(arg0 any) *gomock.Call

Status indicates an expected call of Status.

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.

func (*MockModel) Id

func (m *MockModel) Id() string

Id mocks base method.

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

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.

func (*MockService) Stop

func (m *MockService) Stop() error

Stop mocks base method.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL