mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 10 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 interface{}) *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 interface{}) *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) HostSeries

func (m *MockRebootWaiter) HostSeries() (string, error)

HostSeries mocks base method

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

func (m *MockRebootWaiter) NewService(arg0 string, arg1 common.Conf, arg2 string) (reboot.Service, error)

NewService 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) HostSeries

func (mr *MockRebootWaiterMockRecorder) HostSeries() *gomock.Call

HostSeries indicates an expected call of HostSeries

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 interface{}) *gomock.Call

NewContainerManager indicates an expected call of NewContainerManager

func (*MockRebootWaiterMockRecorder) NewService

func (mr *MockRebootWaiterMockRecorder) NewService(arg0, arg1, arg2 interface{}) *gomock.Call

NewService indicates an expected call of NewService

func (*MockRebootWaiterMockRecorder) ScheduleAction

func (mr *MockRebootWaiterMockRecorder) ScheduleAction(arg0, arg1 interface{}) *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