mocks

package
v7.1.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

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

func (m *MockInstance) Delete(arg0, arg1 time.Duration, arg2 bool, arg3 ui.Stage) error

Delete mocks base method.

func (*MockInstance) Disks

func (m *MockInstance) Disks() ([]disk.Disk, error)

Disks 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() int

ID mocks base method.

func (*MockInstance) JobName

func (m *MockInstance) JobName() string

JobName mocks base method.

func (*MockInstance) Start

func (m *MockInstance) Start(arg0 manifest.Update, arg1, arg2 time.Duration, arg3 ui.Stage) error

Start mocks base method.

func (*MockInstance) Stop

func (m *MockInstance) Stop(arg0, arg1 time.Duration, arg2 bool, arg3 ui.Stage) error

Stop mocks base method.

func (*MockInstance) UpdateDisks

func (m *MockInstance) UpdateDisks(arg0 manifest.Manifest, arg1 ui.Stage) ([]disk.Disk, error)

UpdateDisks mocks base method.

func (*MockInstance) UpdateJobs

func (m *MockInstance) UpdateJobs(arg0 manifest.Manifest, arg1 ui.Stage) error

UpdateJobs mocks base method.

func (*MockInstance) WaitUntilReady

func (m *MockInstance) WaitUntilReady(arg0 ui.Stage) error

WaitUntilReady mocks base method.

type MockInstanceMockRecorder

type MockInstanceMockRecorder struct {
	// contains filtered or unexported fields
}

MockInstanceMockRecorder is the mock recorder for MockInstance.

func (*MockInstanceMockRecorder) Delete

func (mr *MockInstanceMockRecorder) Delete(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockInstanceMockRecorder) Disks

func (mr *MockInstanceMockRecorder) Disks() *gomock.Call

Disks indicates an expected call of Disks.

func (*MockInstanceMockRecorder) ID

ID indicates an expected call of ID.

func (*MockInstanceMockRecorder) JobName

func (mr *MockInstanceMockRecorder) JobName() *gomock.Call

JobName indicates an expected call of JobName.

func (*MockInstanceMockRecorder) Start

func (mr *MockInstanceMockRecorder) Start(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockInstanceMockRecorder) Stop

func (mr *MockInstanceMockRecorder) Stop(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Stop indicates an expected call of Stop.

func (*MockInstanceMockRecorder) UpdateDisks

func (mr *MockInstanceMockRecorder) UpdateDisks(arg0, arg1 interface{}) *gomock.Call

UpdateDisks indicates an expected call of UpdateDisks.

func (*MockInstanceMockRecorder) UpdateJobs

func (mr *MockInstanceMockRecorder) UpdateJobs(arg0, arg1 interface{}) *gomock.Call

UpdateJobs indicates an expected call of UpdateJobs.

func (*MockInstanceMockRecorder) WaitUntilReady

func (mr *MockInstanceMockRecorder) WaitUntilReady(arg0 interface{}) *gomock.Call

WaitUntilReady indicates an expected call of WaitUntilReady.

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

func (m *MockManager) Create(arg0 string, arg1 int, arg2 manifest.Manifest, arg3 stemcell.CloudStemcell, arg4 ui.Stage) (instance.Instance, []disk.Disk, error)

Create mocks base method.

func (*MockManager) DeleteAll

func (m *MockManager) DeleteAll(arg0, arg1 time.Duration, arg2 bool, arg3 ui.Stage) error

DeleteAll mocks base method.

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) FindCurrent

func (m *MockManager) FindCurrent() ([]instance.Instance, error)

FindCurrent mocks base method.

type MockManagerMockRecorder

type MockManagerMockRecorder struct {
	// contains filtered or unexported fields
}

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Create

func (mr *MockManagerMockRecorder) Create(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

Create indicates an expected call of Create.

func (*MockManagerMockRecorder) DeleteAll

func (mr *MockManagerMockRecorder) DeleteAll(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

DeleteAll indicates an expected call of DeleteAll.

func (*MockManagerMockRecorder) FindCurrent

func (mr *MockManagerMockRecorder) FindCurrent() *gomock.Call

FindCurrent indicates an expected call of FindCurrent.

Jump to

Keyboard shortcuts

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