Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v7.6.0 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 4 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 MockCloudStemcell

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

MockCloudStemcell is a mock of CloudStemcell interface.

func NewMockCloudStemcell

func NewMockCloudStemcell(ctrl *gomock.Controller) *MockCloudStemcell

NewMockCloudStemcell creates a new mock instance.

func (*MockCloudStemcell) CID

func (m *MockCloudStemcell) CID() string

CID mocks base method.

func (*MockCloudStemcell) Delete

func (m *MockCloudStemcell) Delete() error

Delete mocks base method.

func (*MockCloudStemcell) EXPECT

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

func (*MockCloudStemcell) Name

func (m *MockCloudStemcell) Name() string

Name mocks base method.

func (*MockCloudStemcell) PromoteAsCurrent

func (m *MockCloudStemcell) PromoteAsCurrent() error

PromoteAsCurrent mocks base method.

func (*MockCloudStemcell) Version

func (m *MockCloudStemcell) Version() string

Version mocks base method.

type MockCloudStemcellMockRecorder

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

MockCloudStemcellMockRecorder is the mock recorder for MockCloudStemcell.

func (*MockCloudStemcellMockRecorder) CID

CID indicates an expected call of CID.

func (*MockCloudStemcellMockRecorder) Delete

Delete indicates an expected call of Delete.

func (*MockCloudStemcellMockRecorder) Name

Name indicates an expected call of Name.

func (*MockCloudStemcellMockRecorder) PromoteAsCurrent

func (mr *MockCloudStemcellMockRecorder) PromoteAsCurrent() *gomock.Call

PromoteAsCurrent indicates an expected call of PromoteAsCurrent.

func (*MockCloudStemcellMockRecorder) Version

func (mr *MockCloudStemcellMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

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

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

DeleteUnused 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() ([]stemcell.CloudStemcell, error)

FindCurrent mocks base method.

func (*MockManager) FindUnused

func (m *MockManager) FindUnused() ([]stemcell.CloudStemcell, error)

FindUnused mocks base method.

func (*MockManager) Upload

Upload mocks base method.

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager.

func (*MockManagerMockRecorder) DeleteUnused

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

DeleteUnused indicates an expected call of DeleteUnused.

func (*MockManagerMockRecorder) FindCurrent

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

FindCurrent indicates an expected call of FindCurrent.

func (*MockManagerMockRecorder) FindUnused

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

FindUnused indicates an expected call of FindUnused.

func (*MockManagerMockRecorder) Upload

func (mr *MockManagerMockRecorder) Upload(arg0, arg1 interface{}) *gomock.Call

Upload indicates an expected call of Upload.

Jump to

Keyboard shortcuts

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