Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockCompute
- func (m *MockCompute) CreateServerGroup(arg0, arg1 string) (*servergroups.ServerGroup, error)
- func (m *MockCompute) DeleteServerGroup(arg0 string) error
- func (m *MockCompute) EXPECT() *MockComputeMockRecorder
- func (m *MockCompute) GetServerGroup(arg0 string) (*servergroups.ServerGroup, error)
- func (m *MockCompute) ListServerGroups() ([]servergroups.ServerGroup, error)
- type MockComputeMockRecorder
- func (mr *MockComputeMockRecorder) CreateServerGroup(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockComputeMockRecorder) DeleteServerGroup(arg0 interface{}) *gomock.Call
- func (mr *MockComputeMockRecorder) GetServerGroup(arg0 interface{}) *gomock.Call
- func (mr *MockComputeMockRecorder) ListServerGroups() *gomock.Call
- type MockFactory
- type MockFactoryMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCompute ¶
type MockCompute struct {
// contains filtered or unexported fields
}
MockCompute is a mock of Compute interface.
func NewMockCompute ¶
func NewMockCompute(ctrl *gomock.Controller) *MockCompute
NewMockCompute creates a new mock instance.
func (*MockCompute) CreateServerGroup ¶
func (m *MockCompute) CreateServerGroup(arg0, arg1 string) (*servergroups.ServerGroup, error)
CreateServerGroup mocks base method.
func (*MockCompute) DeleteServerGroup ¶
func (m *MockCompute) DeleteServerGroup(arg0 string) error
DeleteServerGroup mocks base method.
func (*MockCompute) EXPECT ¶
func (m *MockCompute) EXPECT() *MockComputeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCompute) GetServerGroup ¶
func (m *MockCompute) GetServerGroup(arg0 string) (*servergroups.ServerGroup, error)
GetServerGroup mocks base method.
func (*MockCompute) ListServerGroups ¶
func (m *MockCompute) ListServerGroups() ([]servergroups.ServerGroup, error)
ListServerGroups mocks base method.
type MockComputeMockRecorder ¶
type MockComputeMockRecorder struct {
// contains filtered or unexported fields
}
MockComputeMockRecorder is the mock recorder for MockCompute.
func (*MockComputeMockRecorder) CreateServerGroup ¶
func (mr *MockComputeMockRecorder) CreateServerGroup(arg0, arg1 interface{}) *gomock.Call
CreateServerGroup indicates an expected call of CreateServerGroup.
func (*MockComputeMockRecorder) DeleteServerGroup ¶
func (mr *MockComputeMockRecorder) DeleteServerGroup(arg0 interface{}) *gomock.Call
DeleteServerGroup indicates an expected call of DeleteServerGroup.
func (*MockComputeMockRecorder) GetServerGroup ¶
func (mr *MockComputeMockRecorder) GetServerGroup(arg0 interface{}) *gomock.Call
GetServerGroup indicates an expected call of GetServerGroup.
func (*MockComputeMockRecorder) ListServerGroups ¶
func (mr *MockComputeMockRecorder) ListServerGroups() *gomock.Call
ListServerGroups indicates an expected call of ListServerGroups.
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.
type MockFactoryMockRecorder ¶
type MockFactoryMockRecorder struct {
// contains filtered or unexported fields
}
MockFactoryMockRecorder is the mock recorder for MockFactory.
func (*MockFactoryMockRecorder) Compute ¶
func (mr *MockFactoryMockRecorder) Compute(arg0 ...interface{}) *gomock.Call
Compute indicates an expected call of Compute.
func (*MockFactoryMockRecorder) Storage ¶
func (mr *MockFactoryMockRecorder) Storage(arg0 ...interface{}) *gomock.Call
Storage indicates an expected call of Storage.