mock_backend

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_backend is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBackend

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

MockBackend is a mock of Backend interface.

func NewMockBackend

func NewMockBackend(ctrl *gomock.Controller) *MockBackend

NewMockBackend creates a new mock instance.

func (*MockBackend) CurrentSize

func (m *MockBackend) CurrentSize() (int64, error)

CurrentSize mocks base method.

func (*MockBackend) EXPECT

func (m *MockBackend) EXPECT() *MockBackendMockRecorder

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

func (*MockBackend) Instances

func (m *MockBackend) Instances() (backend.Instances, error)

Instances mocks base method.

func (*MockBackend) Name

func (m *MockBackend) Name() string

Name mocks base method.

func (*MockBackend) Resize

func (m *MockBackend) Resize(size int64) error

Resize mocks base method.

func (*MockBackend) Terminate

func (m *MockBackend) Terminate(instances backend.Instances) error

Terminate mocks base method.

type MockBackendMockRecorder

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

MockBackendMockRecorder is the mock recorder for MockBackend.

func (*MockBackendMockRecorder) CurrentSize

func (mr *MockBackendMockRecorder) CurrentSize() *gomock.Call

CurrentSize indicates an expected call of CurrentSize.

func (*MockBackendMockRecorder) Instances

func (mr *MockBackendMockRecorder) Instances() *gomock.Call

Instances indicates an expected call of Instances.

func (*MockBackendMockRecorder) Name

func (mr *MockBackendMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockBackendMockRecorder) Resize

func (mr *MockBackendMockRecorder) Resize(size interface{}) *gomock.Call

Resize indicates an expected call of Resize.

func (*MockBackendMockRecorder) Terminate

func (mr *MockBackendMockRecorder) Terminate(instances interface{}) *gomock.Call

Terminate indicates an expected call of Terminate.

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

func (m *MockInstance) Describe() error

Describe mocks base method.

func (*MockInstance) EXPECT

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

func (*MockInstance) LaunchTime

func (m *MockInstance) LaunchTime() *time.Time

LaunchTime mocks base method.

func (*MockInstance) Name

func (m *MockInstance) Name() string

Name mocks base method.

type MockInstanceMockRecorder

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

MockInstanceMockRecorder is the mock recorder for MockInstance.

func (*MockInstanceMockRecorder) Describe

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

Describe indicates an expected call of Describe.

func (*MockInstanceMockRecorder) LaunchTime

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

LaunchTime indicates an expected call of LaunchTime.

func (*MockInstanceMockRecorder) Name

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

Name indicates an expected call of Name.

Jump to

Keyboard shortcuts

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