Documentation ¶
Overview ¶
Package mock_backend is a generated GoMock package.
Index ¶
- type MockBackend
- func (m *MockBackend) CurrentSize() (int64, error)
- func (m *MockBackend) EXPECT() *MockBackendMockRecorder
- func (m *MockBackend) Instances() (backend.Instances, error)
- func (m *MockBackend) Name() string
- func (m *MockBackend) Resize(size int64) error
- func (m *MockBackend) Terminate(instances backend.Instances) error
- type MockBackendMockRecorder
- func (mr *MockBackendMockRecorder) CurrentSize() *gomock.Call
- func (mr *MockBackendMockRecorder) Instances() *gomock.Call
- func (mr *MockBackendMockRecorder) Name() *gomock.Call
- func (mr *MockBackendMockRecorder) Resize(size interface{}) *gomock.Call
- func (mr *MockBackendMockRecorder) Terminate(instances interface{}) *gomock.Call
- type MockInstance
- type MockInstanceMockRecorder
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) Resize ¶
func (m *MockBackend) Resize(size int64) error
Resize 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) EXPECT ¶
func (m *MockInstance) EXPECT() *MockInstanceMockRecorder
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.
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.