Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) CreateInstance(arg0 *ecs.CreateInstanceRequest) (*ecs.CreateInstanceResponse, error)
- func (m *MockClient) DeleteInstance(arg0 *ecs.DeleteInstanceRequest) (*ecs.DeleteInstanceResponse, error)
- func (m *MockClient) DescribeDisks(arg0 *ecs.DescribeDisksRequest) (*ecs.DescribeDisksResponse, error)
- func (m *MockClient) DescribeImages(arg0 *ecs.DescribeImagesRequest) (*ecs.DescribeImagesResponse, error)
- func (m *MockClient) DescribeInstances(arg0 *ecs.DescribeInstancesRequest) (*ecs.DescribeInstancesResponse, error)
- func (m *MockClient) DescribeRegions(arg0 *ecs.DescribeRegionsRequest) (*ecs.DescribeRegionsResponse, error)
- func (m *MockClient) DescribeSecurityGroups(arg0 *ecs.DescribeSecurityGroupsRequest) (*ecs.DescribeSecurityGroupsResponse, error)
- func (m *MockClient) DescribeVSwitches(arg0 *vpc.DescribeVSwitchesRequest) (*vpc.DescribeVSwitchesResponse, error)
- func (m *MockClient) DescribeVpcs(arg0 *vpc.DescribeVpcsRequest) (*vpc.DescribeVpcsResponse, error)
- func (m *MockClient) DescribeZones(arg0 *ecs.DescribeZonesRequest) (*ecs.DescribeZonesResponse, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) RunInstances(arg0 *ecs.RunInstancesRequest) (*ecs.RunInstancesResponse, error)
- func (m *MockClient) StartInstance(arg0 *ecs.StartInstanceRequest) (*ecs.StartInstanceResponse, error)
- func (m *MockClient) StopInstance(arg0 *ecs.StopInstanceRequest) (*ecs.StopInstanceResponse, error)
- func (m *MockClient) WaitForInstance(instanceId, instanceStatus, regionId string, timeout int) error
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) CreateInstance(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteInstance(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeDisks(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeImages(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeInstances(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeRegions(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeSecurityGroups(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeVSwitches(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeVpcs(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeZones(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) RunInstances(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StartInstance(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) StopInstance(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) WaitForInstance(instanceId, instanceStatus, regionId, timeout interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance
func (*MockClient) CreateInstance ¶
func (m *MockClient) CreateInstance(arg0 *ecs.CreateInstanceRequest) (*ecs.CreateInstanceResponse, error)
CreateInstance mocks base method
func (*MockClient) DeleteInstance ¶
func (m *MockClient) DeleteInstance(arg0 *ecs.DeleteInstanceRequest) (*ecs.DeleteInstanceResponse, error)
DeleteInstance mocks base method
func (*MockClient) DescribeDisks ¶
func (m *MockClient) DescribeDisks(arg0 *ecs.DescribeDisksRequest) (*ecs.DescribeDisksResponse, error)
DescribeDisks mocks base method
func (*MockClient) DescribeImages ¶
func (m *MockClient) DescribeImages(arg0 *ecs.DescribeImagesRequest) (*ecs.DescribeImagesResponse, error)
DescribeImages mocks base method
func (*MockClient) DescribeInstances ¶
func (m *MockClient) DescribeInstances(arg0 *ecs.DescribeInstancesRequest) (*ecs.DescribeInstancesResponse, error)
DescribeInstances mocks base method
func (*MockClient) DescribeRegions ¶
func (m *MockClient) DescribeRegions(arg0 *ecs.DescribeRegionsRequest) (*ecs.DescribeRegionsResponse, error)
DescribeRegions mocks base method
func (*MockClient) DescribeSecurityGroups ¶
func (m *MockClient) DescribeSecurityGroups(arg0 *ecs.DescribeSecurityGroupsRequest) (*ecs.DescribeSecurityGroupsResponse, error)
DescribeSecurityGroups mocks base method
func (*MockClient) DescribeVSwitches ¶
func (m *MockClient) DescribeVSwitches(arg0 *vpc.DescribeVSwitchesRequest) (*vpc.DescribeVSwitchesResponse, error)
DescribeVSwitches mocks base method
func (*MockClient) DescribeVpcs ¶
func (m *MockClient) DescribeVpcs(arg0 *vpc.DescribeVpcsRequest) (*vpc.DescribeVpcsResponse, error)
DescribeVpcs mocks base method
func (*MockClient) DescribeZones ¶
func (m *MockClient) DescribeZones(arg0 *ecs.DescribeZonesRequest) (*ecs.DescribeZonesResponse, error)
DescribeZones mocks base method
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockClient) RunInstances ¶
func (m *MockClient) RunInstances(arg0 *ecs.RunInstancesRequest) (*ecs.RunInstancesResponse, error)
RunInstances mocks base method
func (*MockClient) StartInstance ¶
func (m *MockClient) StartInstance(arg0 *ecs.StartInstanceRequest) (*ecs.StartInstanceResponse, error)
StartInstance mocks base method
func (*MockClient) StopInstance ¶
func (m *MockClient) StopInstance(arg0 *ecs.StopInstanceRequest) (*ecs.StopInstanceResponse, error)
StopInstance mocks base method
func (*MockClient) WaitForInstance ¶
func (m *MockClient) WaitForInstance(instanceId, instanceStatus, regionId string, timeout int) error
WaitForInstance mocks base method
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient
func (*MockClientMockRecorder) CreateInstance ¶
func (mr *MockClientMockRecorder) CreateInstance(arg0 interface{}) *gomock.Call
CreateInstance indicates an expected call of CreateInstance
func (*MockClientMockRecorder) DeleteInstance ¶
func (mr *MockClientMockRecorder) DeleteInstance(arg0 interface{}) *gomock.Call
DeleteInstance indicates an expected call of DeleteInstance
func (*MockClientMockRecorder) DescribeDisks ¶
func (mr *MockClientMockRecorder) DescribeDisks(arg0 interface{}) *gomock.Call
DescribeDisks indicates an expected call of DescribeDisks
func (*MockClientMockRecorder) DescribeImages ¶
func (mr *MockClientMockRecorder) DescribeImages(arg0 interface{}) *gomock.Call
DescribeImages indicates an expected call of DescribeImages
func (*MockClientMockRecorder) DescribeInstances ¶
func (mr *MockClientMockRecorder) DescribeInstances(arg0 interface{}) *gomock.Call
DescribeInstances indicates an expected call of DescribeInstances
func (*MockClientMockRecorder) DescribeRegions ¶
func (mr *MockClientMockRecorder) DescribeRegions(arg0 interface{}) *gomock.Call
DescribeRegions indicates an expected call of DescribeRegions
func (*MockClientMockRecorder) DescribeSecurityGroups ¶
func (mr *MockClientMockRecorder) DescribeSecurityGroups(arg0 interface{}) *gomock.Call
DescribeSecurityGroups indicates an expected call of DescribeSecurityGroups
func (*MockClientMockRecorder) DescribeVSwitches ¶
func (mr *MockClientMockRecorder) DescribeVSwitches(arg0 interface{}) *gomock.Call
DescribeVSwitches indicates an expected call of DescribeVSwitches
func (*MockClientMockRecorder) DescribeVpcs ¶
func (mr *MockClientMockRecorder) DescribeVpcs(arg0 interface{}) *gomock.Call
DescribeVpcs indicates an expected call of DescribeVpcs
func (*MockClientMockRecorder) DescribeZones ¶
func (mr *MockClientMockRecorder) DescribeZones(arg0 interface{}) *gomock.Call
DescribeZones indicates an expected call of DescribeZones
func (*MockClientMockRecorder) RunInstances ¶
func (mr *MockClientMockRecorder) RunInstances(arg0 interface{}) *gomock.Call
RunInstances indicates an expected call of RunInstances
func (*MockClientMockRecorder) StartInstance ¶
func (mr *MockClientMockRecorder) StartInstance(arg0 interface{}) *gomock.Call
StartInstance indicates an expected call of StartInstance
func (*MockClientMockRecorder) StopInstance ¶
func (mr *MockClientMockRecorder) StopInstance(arg0 interface{}) *gomock.Call
StopInstance indicates an expected call of StopInstance
func (*MockClientMockRecorder) WaitForInstance ¶
func (mr *MockClientMockRecorder) WaitForInstance(instanceId, instanceStatus, regionId, timeout interface{}) *gomock.Call
WaitForInstance indicates an expected call of WaitForInstance