mocks

package
v7.9.15 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2025 License: Apache-2.0 Imports: 12 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 MockDeployer

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

MockDeployer is a mock of Deployer interface.

func NewMockDeployer

func NewMockDeployer(ctrl *gomock.Controller) *MockDeployer

NewMockDeployer creates a new mock instance.

func (*MockDeployer) Deploy

func (m *MockDeployer) Deploy(arg0 cloud.Cloud, arg1 manifest.Manifest, arg2 stemcell.CloudStemcell, arg3 vm.Manager, arg4 blobstore.Blobstore, arg5 bool, arg6 []string, arg7 ui.Stage) (deployment.Deployment, error)

Deploy mocks base method.

func (*MockDeployer) EXPECT

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

type MockDeployerMockRecorder

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

MockDeployerMockRecorder is the mock recorder for MockDeployer.

func (*MockDeployerMockRecorder) Deploy

func (mr *MockDeployerMockRecorder) Deploy(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7 interface{}) *gomock.Call

Deploy indicates an expected call of Deploy.

type MockDeployment

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

MockDeployment is a mock of Deployment interface.

func NewMockDeployment

func NewMockDeployment(ctrl *gomock.Controller) *MockDeployment

NewMockDeployment creates a new mock instance.

func (*MockDeployment) Delete

func (m *MockDeployment) Delete(arg0 bool, arg1 ui.Stage) error

Delete mocks base method.

func (*MockDeployment) EXPECT

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

func (*MockDeployment) Start

func (m *MockDeployment) Start(arg0 ui.Stage, arg1 manifest.Update) error

Start mocks base method.

func (*MockDeployment) Stop

func (m *MockDeployment) Stop(arg0 bool, arg1 ui.Stage) error

Stop mocks base method.

type MockDeploymentMockRecorder

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

MockDeploymentMockRecorder is the mock recorder for MockDeployment.

func (*MockDeploymentMockRecorder) Delete

func (mr *MockDeploymentMockRecorder) Delete(arg0, arg1 interface{}) *gomock.Call

Delete indicates an expected call of Delete.

func (*MockDeploymentMockRecorder) Start

func (mr *MockDeploymentMockRecorder) Start(arg0, arg1 interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockDeploymentMockRecorder) Stop

func (mr *MockDeploymentMockRecorder) Stop(arg0, arg1 interface{}) *gomock.Call

Stop indicates an expected call of Stop.

type MockFactory

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

MockFactory is a mock of Factory interface.

func NewMockFactory

func NewMockFactory(ctrl *gomock.Controller) *MockFactory

NewMockFactory creates a new mock instance.

func (*MockFactory) EXPECT

func (m *MockFactory) EXPECT() *MockFactoryMockRecorder

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

func (*MockFactory) NewDeployment

func (m *MockFactory) NewDeployment(arg0 []instance.Instance, arg1 []disk.Disk, arg2 []stemcell.CloudStemcell) deployment.Deployment

NewDeployment mocks base method.

type MockFactoryMockRecorder

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

MockFactoryMockRecorder is the mock recorder for MockFactory.

func (*MockFactoryMockRecorder) NewDeployment

func (mr *MockFactoryMockRecorder) NewDeployment(arg0, arg1, arg2 interface{}) *gomock.Call

NewDeployment indicates an expected call of NewDeployment.

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

func (m *MockManager) Cleanup(arg0 ui.Stage) error

Cleanup 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() (deployment.Deployment, bool, error)

FindCurrent mocks base method.

type MockManagerFactory

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

MockManagerFactory is a mock of ManagerFactory interface.

func NewMockManagerFactory

func NewMockManagerFactory(ctrl *gomock.Controller) *MockManagerFactory

NewMockManagerFactory creates a new mock instance.

func (*MockManagerFactory) EXPECT

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

func (*MockManagerFactory) NewManager

NewManager mocks base method.

type MockManagerFactoryMockRecorder

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

MockManagerFactoryMockRecorder is the mock recorder for MockManagerFactory.

func (*MockManagerFactoryMockRecorder) NewManager

func (mr *MockManagerFactoryMockRecorder) NewManager(arg0, arg1, arg2 interface{}) *gomock.Call

NewManager indicates an expected call of NewManager.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) Cleanup

func (mr *MockManagerMockRecorder) Cleanup(arg0 interface{}) *gomock.Call

Cleanup indicates an expected call of Cleanup.

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