From 9890db96ba5b57344b6f886bd8445b7b7f91b24a Mon Sep 17 00:00:00 2001 From: Herman Schaaf Date: Mon, 16 Jan 2023 17:14:12 +0000 Subject: [PATCH 1/5] Start adding support for ECS --- plugins/source/alicloud/client/mocks/ecs.go | 5252 +++++++++++++++++ .../source/alicloud/client/multiplexers.go | 21 +- plugins/source/alicloud/client/resolvers.go | 17 + .../source/alicloud/client/service_regions.go | 38 + plugins/source/alicloud/client/services.go | 1 + .../source/alicloud/client/services/ecs.go | 366 ++ plugins/source/alicloud/codegen/main.go | 2 + .../resources/services/ecs/instances.go | 33 + .../resources/services/ecs/instances_fetch.go | 45 + .../services/ecs/instances_fetch_mock_test.go | 26 + 10 files changed, 5794 insertions(+), 7 deletions(-) create mode 100644 plugins/source/alicloud/client/mocks/ecs.go create mode 100644 plugins/source/alicloud/client/resolvers.go create mode 100644 plugins/source/alicloud/client/service_regions.go create mode 100644 plugins/source/alicloud/client/services/ecs.go create mode 100644 plugins/source/alicloud/resources/services/ecs/instances.go create mode 100644 plugins/source/alicloud/resources/services/ecs/instances_fetch.go create mode 100644 plugins/source/alicloud/resources/services/ecs/instances_fetch_mock_test.go diff --git a/plugins/source/alicloud/client/mocks/ecs.go b/plugins/source/alicloud/client/mocks/ecs.go new file mode 100644 index 00000000000000..747a68bb866faf --- /dev/null +++ b/plugins/source/alicloud/client/mocks/ecs.go @@ -0,0 +1,5252 @@ +// Code generated by MockGen. DO NOT EDIT. +// Source: ecs.go + +// Package mocks is a generated GoMock package. +package mocks + +import ( + reflect "reflect" + + ecs "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" + gomock "github.com/golang/mock/gomock" +) + +// MockEcsClient is a mock of EcsClient interface. +type MockEcsClient struct { + ctrl *gomock.Controller + recorder *MockEcsClientMockRecorder +} + +// MockEcsClientMockRecorder is the mock recorder for MockEcsClient. +type MockEcsClientMockRecorder struct { + mock *MockEcsClient +} + +// NewMockEcsClient creates a new mock instance. +func NewMockEcsClient(ctrl *gomock.Controller) *MockEcsClient { + mock := &MockEcsClient{ctrl: ctrl} + mock.recorder = &MockEcsClientMockRecorder{mock} + return mock +} + +// EXPECT returns an object that allows the caller to indicate expected use. +func (m *MockEcsClient) EXPECT() *MockEcsClientMockRecorder { + return m.recorder +} + +// DescribeAccessPoints mocks base method. +func (m *MockEcsClient) DescribeAccessPoints(arg0 *ecs.DescribeAccessPointsRequest) (*ecs.DescribeAccessPointsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAccessPoints", arg0) + ret0, _ := ret[0].(*ecs.DescribeAccessPointsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeAccessPoints indicates an expected call of DescribeAccessPoints. +func (mr *MockEcsClientMockRecorder) DescribeAccessPoints(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAccessPoints", reflect.TypeOf((*MockEcsClient)(nil).DescribeAccessPoints), arg0) +} + +// DescribeAccessPointsWithCallback mocks base method. +func (m *MockEcsClient) DescribeAccessPointsWithCallback(arg0 *ecs.DescribeAccessPointsRequest, arg1 func(*ecs.DescribeAccessPointsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAccessPointsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeAccessPointsWithCallback indicates an expected call of DescribeAccessPointsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeAccessPointsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAccessPointsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeAccessPointsWithCallback), arg0, arg1) +} + +// DescribeAccessPointsWithChan mocks base method. +func (m *MockEcsClient) DescribeAccessPointsWithChan(arg0 *ecs.DescribeAccessPointsRequest) (<-chan *ecs.DescribeAccessPointsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAccessPointsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeAccessPointsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeAccessPointsWithChan indicates an expected call of DescribeAccessPointsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeAccessPointsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAccessPointsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeAccessPointsWithChan), arg0) +} + +// DescribeAccountAttributes mocks base method. +func (m *MockEcsClient) DescribeAccountAttributes(arg0 *ecs.DescribeAccountAttributesRequest) (*ecs.DescribeAccountAttributesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAccountAttributes", arg0) + ret0, _ := ret[0].(*ecs.DescribeAccountAttributesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeAccountAttributes indicates an expected call of DescribeAccountAttributes. +func (mr *MockEcsClientMockRecorder) DescribeAccountAttributes(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAccountAttributes", reflect.TypeOf((*MockEcsClient)(nil).DescribeAccountAttributes), arg0) +} + +// DescribeAccountAttributesWithCallback mocks base method. +func (m *MockEcsClient) DescribeAccountAttributesWithCallback(arg0 *ecs.DescribeAccountAttributesRequest, arg1 func(*ecs.DescribeAccountAttributesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAccountAttributesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeAccountAttributesWithCallback indicates an expected call of DescribeAccountAttributesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeAccountAttributesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAccountAttributesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeAccountAttributesWithCallback), arg0, arg1) +} + +// DescribeAccountAttributesWithChan mocks base method. +func (m *MockEcsClient) DescribeAccountAttributesWithChan(arg0 *ecs.DescribeAccountAttributesRequest) (<-chan *ecs.DescribeAccountAttributesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAccountAttributesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeAccountAttributesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeAccountAttributesWithChan indicates an expected call of DescribeAccountAttributesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeAccountAttributesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAccountAttributesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeAccountAttributesWithChan), arg0) +} + +// DescribeActivations mocks base method. +func (m *MockEcsClient) DescribeActivations(arg0 *ecs.DescribeActivationsRequest) (*ecs.DescribeActivationsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeActivations", arg0) + ret0, _ := ret[0].(*ecs.DescribeActivationsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeActivations indicates an expected call of DescribeActivations. +func (mr *MockEcsClientMockRecorder) DescribeActivations(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeActivations", reflect.TypeOf((*MockEcsClient)(nil).DescribeActivations), arg0) +} + +// DescribeActivationsWithCallback mocks base method. +func (m *MockEcsClient) DescribeActivationsWithCallback(arg0 *ecs.DescribeActivationsRequest, arg1 func(*ecs.DescribeActivationsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeActivationsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeActivationsWithCallback indicates an expected call of DescribeActivationsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeActivationsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeActivationsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeActivationsWithCallback), arg0, arg1) +} + +// DescribeActivationsWithChan mocks base method. +func (m *MockEcsClient) DescribeActivationsWithChan(arg0 *ecs.DescribeActivationsRequest) (<-chan *ecs.DescribeActivationsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeActivationsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeActivationsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeActivationsWithChan indicates an expected call of DescribeActivationsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeActivationsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeActivationsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeActivationsWithChan), arg0) +} + +// DescribeAutoProvisioningGroupHistory mocks base method. +func (m *MockEcsClient) DescribeAutoProvisioningGroupHistory(arg0 *ecs.DescribeAutoProvisioningGroupHistoryRequest) (*ecs.DescribeAutoProvisioningGroupHistoryResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoProvisioningGroupHistory", arg0) + ret0, _ := ret[0].(*ecs.DescribeAutoProvisioningGroupHistoryResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeAutoProvisioningGroupHistory indicates an expected call of DescribeAutoProvisioningGroupHistory. +func (mr *MockEcsClientMockRecorder) DescribeAutoProvisioningGroupHistory(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoProvisioningGroupHistory", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoProvisioningGroupHistory), arg0) +} + +// DescribeAutoProvisioningGroupHistoryWithCallback mocks base method. +func (m *MockEcsClient) DescribeAutoProvisioningGroupHistoryWithCallback(arg0 *ecs.DescribeAutoProvisioningGroupHistoryRequest, arg1 func(*ecs.DescribeAutoProvisioningGroupHistoryResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoProvisioningGroupHistoryWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeAutoProvisioningGroupHistoryWithCallback indicates an expected call of DescribeAutoProvisioningGroupHistoryWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeAutoProvisioningGroupHistoryWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoProvisioningGroupHistoryWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoProvisioningGroupHistoryWithCallback), arg0, arg1) +} + +// DescribeAutoProvisioningGroupHistoryWithChan mocks base method. +func (m *MockEcsClient) DescribeAutoProvisioningGroupHistoryWithChan(arg0 *ecs.DescribeAutoProvisioningGroupHistoryRequest) (<-chan *ecs.DescribeAutoProvisioningGroupHistoryResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoProvisioningGroupHistoryWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeAutoProvisioningGroupHistoryResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeAutoProvisioningGroupHistoryWithChan indicates an expected call of DescribeAutoProvisioningGroupHistoryWithChan. +func (mr *MockEcsClientMockRecorder) DescribeAutoProvisioningGroupHistoryWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoProvisioningGroupHistoryWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoProvisioningGroupHistoryWithChan), arg0) +} + +// DescribeAutoProvisioningGroupInstances mocks base method. +func (m *MockEcsClient) DescribeAutoProvisioningGroupInstances(arg0 *ecs.DescribeAutoProvisioningGroupInstancesRequest) (*ecs.DescribeAutoProvisioningGroupInstancesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoProvisioningGroupInstances", arg0) + ret0, _ := ret[0].(*ecs.DescribeAutoProvisioningGroupInstancesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeAutoProvisioningGroupInstances indicates an expected call of DescribeAutoProvisioningGroupInstances. +func (mr *MockEcsClientMockRecorder) DescribeAutoProvisioningGroupInstances(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoProvisioningGroupInstances", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoProvisioningGroupInstances), arg0) +} + +// DescribeAutoProvisioningGroupInstancesWithCallback mocks base method. +func (m *MockEcsClient) DescribeAutoProvisioningGroupInstancesWithCallback(arg0 *ecs.DescribeAutoProvisioningGroupInstancesRequest, arg1 func(*ecs.DescribeAutoProvisioningGroupInstancesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoProvisioningGroupInstancesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeAutoProvisioningGroupInstancesWithCallback indicates an expected call of DescribeAutoProvisioningGroupInstancesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeAutoProvisioningGroupInstancesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoProvisioningGroupInstancesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoProvisioningGroupInstancesWithCallback), arg0, arg1) +} + +// DescribeAutoProvisioningGroupInstancesWithChan mocks base method. +func (m *MockEcsClient) DescribeAutoProvisioningGroupInstancesWithChan(arg0 *ecs.DescribeAutoProvisioningGroupInstancesRequest) (<-chan *ecs.DescribeAutoProvisioningGroupInstancesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoProvisioningGroupInstancesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeAutoProvisioningGroupInstancesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeAutoProvisioningGroupInstancesWithChan indicates an expected call of DescribeAutoProvisioningGroupInstancesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeAutoProvisioningGroupInstancesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoProvisioningGroupInstancesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoProvisioningGroupInstancesWithChan), arg0) +} + +// DescribeAutoProvisioningGroups mocks base method. +func (m *MockEcsClient) DescribeAutoProvisioningGroups(arg0 *ecs.DescribeAutoProvisioningGroupsRequest) (*ecs.DescribeAutoProvisioningGroupsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoProvisioningGroups", arg0) + ret0, _ := ret[0].(*ecs.DescribeAutoProvisioningGroupsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeAutoProvisioningGroups indicates an expected call of DescribeAutoProvisioningGroups. +func (mr *MockEcsClientMockRecorder) DescribeAutoProvisioningGroups(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoProvisioningGroups", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoProvisioningGroups), arg0) +} + +// DescribeAutoProvisioningGroupsWithCallback mocks base method. +func (m *MockEcsClient) DescribeAutoProvisioningGroupsWithCallback(arg0 *ecs.DescribeAutoProvisioningGroupsRequest, arg1 func(*ecs.DescribeAutoProvisioningGroupsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoProvisioningGroupsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeAutoProvisioningGroupsWithCallback indicates an expected call of DescribeAutoProvisioningGroupsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeAutoProvisioningGroupsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoProvisioningGroupsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoProvisioningGroupsWithCallback), arg0, arg1) +} + +// DescribeAutoProvisioningGroupsWithChan mocks base method. +func (m *MockEcsClient) DescribeAutoProvisioningGroupsWithChan(arg0 *ecs.DescribeAutoProvisioningGroupsRequest) (<-chan *ecs.DescribeAutoProvisioningGroupsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoProvisioningGroupsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeAutoProvisioningGroupsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeAutoProvisioningGroupsWithChan indicates an expected call of DescribeAutoProvisioningGroupsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeAutoProvisioningGroupsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoProvisioningGroupsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoProvisioningGroupsWithChan), arg0) +} + +// DescribeAutoSnapshotPolicyEx mocks base method. +func (m *MockEcsClient) DescribeAutoSnapshotPolicyEx(arg0 *ecs.DescribeAutoSnapshotPolicyExRequest) (*ecs.DescribeAutoSnapshotPolicyExResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoSnapshotPolicyEx", arg0) + ret0, _ := ret[0].(*ecs.DescribeAutoSnapshotPolicyExResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeAutoSnapshotPolicyEx indicates an expected call of DescribeAutoSnapshotPolicyEx. +func (mr *MockEcsClientMockRecorder) DescribeAutoSnapshotPolicyEx(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoSnapshotPolicyEx", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoSnapshotPolicyEx), arg0) +} + +// DescribeAutoSnapshotPolicyExWithCallback mocks base method. +func (m *MockEcsClient) DescribeAutoSnapshotPolicyExWithCallback(arg0 *ecs.DescribeAutoSnapshotPolicyExRequest, arg1 func(*ecs.DescribeAutoSnapshotPolicyExResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoSnapshotPolicyExWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeAutoSnapshotPolicyExWithCallback indicates an expected call of DescribeAutoSnapshotPolicyExWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeAutoSnapshotPolicyExWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoSnapshotPolicyExWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoSnapshotPolicyExWithCallback), arg0, arg1) +} + +// DescribeAutoSnapshotPolicyExWithChan mocks base method. +func (m *MockEcsClient) DescribeAutoSnapshotPolicyExWithChan(arg0 *ecs.DescribeAutoSnapshotPolicyExRequest) (<-chan *ecs.DescribeAutoSnapshotPolicyExResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAutoSnapshotPolicyExWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeAutoSnapshotPolicyExResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeAutoSnapshotPolicyExWithChan indicates an expected call of DescribeAutoSnapshotPolicyExWithChan. +func (mr *MockEcsClientMockRecorder) DescribeAutoSnapshotPolicyExWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAutoSnapshotPolicyExWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeAutoSnapshotPolicyExWithChan), arg0) +} + +// DescribeAvailableResource mocks base method. +func (m *MockEcsClient) DescribeAvailableResource(arg0 *ecs.DescribeAvailableResourceRequest) (*ecs.DescribeAvailableResourceResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAvailableResource", arg0) + ret0, _ := ret[0].(*ecs.DescribeAvailableResourceResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeAvailableResource indicates an expected call of DescribeAvailableResource. +func (mr *MockEcsClientMockRecorder) DescribeAvailableResource(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAvailableResource", reflect.TypeOf((*MockEcsClient)(nil).DescribeAvailableResource), arg0) +} + +// DescribeAvailableResourceWithCallback mocks base method. +func (m *MockEcsClient) DescribeAvailableResourceWithCallback(arg0 *ecs.DescribeAvailableResourceRequest, arg1 func(*ecs.DescribeAvailableResourceResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAvailableResourceWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeAvailableResourceWithCallback indicates an expected call of DescribeAvailableResourceWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeAvailableResourceWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAvailableResourceWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeAvailableResourceWithCallback), arg0, arg1) +} + +// DescribeAvailableResourceWithChan mocks base method. +func (m *MockEcsClient) DescribeAvailableResourceWithChan(arg0 *ecs.DescribeAvailableResourceRequest) (<-chan *ecs.DescribeAvailableResourceResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeAvailableResourceWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeAvailableResourceResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeAvailableResourceWithChan indicates an expected call of DescribeAvailableResourceWithChan. +func (mr *MockEcsClientMockRecorder) DescribeAvailableResourceWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeAvailableResourceWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeAvailableResourceWithChan), arg0) +} + +// DescribeBandwidthLimitation mocks base method. +func (m *MockEcsClient) DescribeBandwidthLimitation(arg0 *ecs.DescribeBandwidthLimitationRequest) (*ecs.DescribeBandwidthLimitationResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeBandwidthLimitation", arg0) + ret0, _ := ret[0].(*ecs.DescribeBandwidthLimitationResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeBandwidthLimitation indicates an expected call of DescribeBandwidthLimitation. +func (mr *MockEcsClientMockRecorder) DescribeBandwidthLimitation(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeBandwidthLimitation", reflect.TypeOf((*MockEcsClient)(nil).DescribeBandwidthLimitation), arg0) +} + +// DescribeBandwidthLimitationWithCallback mocks base method. +func (m *MockEcsClient) DescribeBandwidthLimitationWithCallback(arg0 *ecs.DescribeBandwidthLimitationRequest, arg1 func(*ecs.DescribeBandwidthLimitationResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeBandwidthLimitationWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeBandwidthLimitationWithCallback indicates an expected call of DescribeBandwidthLimitationWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeBandwidthLimitationWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeBandwidthLimitationWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeBandwidthLimitationWithCallback), arg0, arg1) +} + +// DescribeBandwidthLimitationWithChan mocks base method. +func (m *MockEcsClient) DescribeBandwidthLimitationWithChan(arg0 *ecs.DescribeBandwidthLimitationRequest) (<-chan *ecs.DescribeBandwidthLimitationResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeBandwidthLimitationWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeBandwidthLimitationResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeBandwidthLimitationWithChan indicates an expected call of DescribeBandwidthLimitationWithChan. +func (mr *MockEcsClientMockRecorder) DescribeBandwidthLimitationWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeBandwidthLimitationWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeBandwidthLimitationWithChan), arg0) +} + +// DescribeBandwidthPackages mocks base method. +func (m *MockEcsClient) DescribeBandwidthPackages(arg0 *ecs.DescribeBandwidthPackagesRequest) (*ecs.DescribeBandwidthPackagesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeBandwidthPackages", arg0) + ret0, _ := ret[0].(*ecs.DescribeBandwidthPackagesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeBandwidthPackages indicates an expected call of DescribeBandwidthPackages. +func (mr *MockEcsClientMockRecorder) DescribeBandwidthPackages(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeBandwidthPackages", reflect.TypeOf((*MockEcsClient)(nil).DescribeBandwidthPackages), arg0) +} + +// DescribeBandwidthPackagesWithCallback mocks base method. +func (m *MockEcsClient) DescribeBandwidthPackagesWithCallback(arg0 *ecs.DescribeBandwidthPackagesRequest, arg1 func(*ecs.DescribeBandwidthPackagesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeBandwidthPackagesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeBandwidthPackagesWithCallback indicates an expected call of DescribeBandwidthPackagesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeBandwidthPackagesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeBandwidthPackagesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeBandwidthPackagesWithCallback), arg0, arg1) +} + +// DescribeBandwidthPackagesWithChan mocks base method. +func (m *MockEcsClient) DescribeBandwidthPackagesWithChan(arg0 *ecs.DescribeBandwidthPackagesRequest) (<-chan *ecs.DescribeBandwidthPackagesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeBandwidthPackagesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeBandwidthPackagesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeBandwidthPackagesWithChan indicates an expected call of DescribeBandwidthPackagesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeBandwidthPackagesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeBandwidthPackagesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeBandwidthPackagesWithChan), arg0) +} + +// DescribeCapacityReservationInstances mocks base method. +func (m *MockEcsClient) DescribeCapacityReservationInstances(arg0 *ecs.DescribeCapacityReservationInstancesRequest) (*ecs.DescribeCapacityReservationInstancesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCapacityReservationInstances", arg0) + ret0, _ := ret[0].(*ecs.DescribeCapacityReservationInstancesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeCapacityReservationInstances indicates an expected call of DescribeCapacityReservationInstances. +func (mr *MockEcsClientMockRecorder) DescribeCapacityReservationInstances(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityReservationInstances", reflect.TypeOf((*MockEcsClient)(nil).DescribeCapacityReservationInstances), arg0) +} + +// DescribeCapacityReservationInstancesWithCallback mocks base method. +func (m *MockEcsClient) DescribeCapacityReservationInstancesWithCallback(arg0 *ecs.DescribeCapacityReservationInstancesRequest, arg1 func(*ecs.DescribeCapacityReservationInstancesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCapacityReservationInstancesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeCapacityReservationInstancesWithCallback indicates an expected call of DescribeCapacityReservationInstancesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeCapacityReservationInstancesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityReservationInstancesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeCapacityReservationInstancesWithCallback), arg0, arg1) +} + +// DescribeCapacityReservationInstancesWithChan mocks base method. +func (m *MockEcsClient) DescribeCapacityReservationInstancesWithChan(arg0 *ecs.DescribeCapacityReservationInstancesRequest) (<-chan *ecs.DescribeCapacityReservationInstancesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCapacityReservationInstancesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeCapacityReservationInstancesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeCapacityReservationInstancesWithChan indicates an expected call of DescribeCapacityReservationInstancesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeCapacityReservationInstancesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityReservationInstancesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeCapacityReservationInstancesWithChan), arg0) +} + +// DescribeCapacityReservations mocks base method. +func (m *MockEcsClient) DescribeCapacityReservations(arg0 *ecs.DescribeCapacityReservationsRequest) (*ecs.DescribeCapacityReservationsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCapacityReservations", arg0) + ret0, _ := ret[0].(*ecs.DescribeCapacityReservationsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeCapacityReservations indicates an expected call of DescribeCapacityReservations. +func (mr *MockEcsClientMockRecorder) DescribeCapacityReservations(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityReservations", reflect.TypeOf((*MockEcsClient)(nil).DescribeCapacityReservations), arg0) +} + +// DescribeCapacityReservationsWithCallback mocks base method. +func (m *MockEcsClient) DescribeCapacityReservationsWithCallback(arg0 *ecs.DescribeCapacityReservationsRequest, arg1 func(*ecs.DescribeCapacityReservationsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCapacityReservationsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeCapacityReservationsWithCallback indicates an expected call of DescribeCapacityReservationsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeCapacityReservationsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityReservationsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeCapacityReservationsWithCallback), arg0, arg1) +} + +// DescribeCapacityReservationsWithChan mocks base method. +func (m *MockEcsClient) DescribeCapacityReservationsWithChan(arg0 *ecs.DescribeCapacityReservationsRequest) (<-chan *ecs.DescribeCapacityReservationsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCapacityReservationsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeCapacityReservationsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeCapacityReservationsWithChan indicates an expected call of DescribeCapacityReservationsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeCapacityReservationsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCapacityReservationsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeCapacityReservationsWithChan), arg0) +} + +// DescribeClassicLinkInstances mocks base method. +func (m *MockEcsClient) DescribeClassicLinkInstances(arg0 *ecs.DescribeClassicLinkInstancesRequest) (*ecs.DescribeClassicLinkInstancesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeClassicLinkInstances", arg0) + ret0, _ := ret[0].(*ecs.DescribeClassicLinkInstancesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeClassicLinkInstances indicates an expected call of DescribeClassicLinkInstances. +func (mr *MockEcsClientMockRecorder) DescribeClassicLinkInstances(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeClassicLinkInstances", reflect.TypeOf((*MockEcsClient)(nil).DescribeClassicLinkInstances), arg0) +} + +// DescribeClassicLinkInstancesWithCallback mocks base method. +func (m *MockEcsClient) DescribeClassicLinkInstancesWithCallback(arg0 *ecs.DescribeClassicLinkInstancesRequest, arg1 func(*ecs.DescribeClassicLinkInstancesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeClassicLinkInstancesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeClassicLinkInstancesWithCallback indicates an expected call of DescribeClassicLinkInstancesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeClassicLinkInstancesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeClassicLinkInstancesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeClassicLinkInstancesWithCallback), arg0, arg1) +} + +// DescribeClassicLinkInstancesWithChan mocks base method. +func (m *MockEcsClient) DescribeClassicLinkInstancesWithChan(arg0 *ecs.DescribeClassicLinkInstancesRequest) (<-chan *ecs.DescribeClassicLinkInstancesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeClassicLinkInstancesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeClassicLinkInstancesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeClassicLinkInstancesWithChan indicates an expected call of DescribeClassicLinkInstancesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeClassicLinkInstancesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeClassicLinkInstancesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeClassicLinkInstancesWithChan), arg0) +} + +// DescribeCloudAssistantStatus mocks base method. +func (m *MockEcsClient) DescribeCloudAssistantStatus(arg0 *ecs.DescribeCloudAssistantStatusRequest) (*ecs.DescribeCloudAssistantStatusResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCloudAssistantStatus", arg0) + ret0, _ := ret[0].(*ecs.DescribeCloudAssistantStatusResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeCloudAssistantStatus indicates an expected call of DescribeCloudAssistantStatus. +func (mr *MockEcsClientMockRecorder) DescribeCloudAssistantStatus(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCloudAssistantStatus", reflect.TypeOf((*MockEcsClient)(nil).DescribeCloudAssistantStatus), arg0) +} + +// DescribeCloudAssistantStatusWithCallback mocks base method. +func (m *MockEcsClient) DescribeCloudAssistantStatusWithCallback(arg0 *ecs.DescribeCloudAssistantStatusRequest, arg1 func(*ecs.DescribeCloudAssistantStatusResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCloudAssistantStatusWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeCloudAssistantStatusWithCallback indicates an expected call of DescribeCloudAssistantStatusWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeCloudAssistantStatusWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCloudAssistantStatusWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeCloudAssistantStatusWithCallback), arg0, arg1) +} + +// DescribeCloudAssistantStatusWithChan mocks base method. +func (m *MockEcsClient) DescribeCloudAssistantStatusWithChan(arg0 *ecs.DescribeCloudAssistantStatusRequest) (<-chan *ecs.DescribeCloudAssistantStatusResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCloudAssistantStatusWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeCloudAssistantStatusResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeCloudAssistantStatusWithChan indicates an expected call of DescribeCloudAssistantStatusWithChan. +func (mr *MockEcsClientMockRecorder) DescribeCloudAssistantStatusWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCloudAssistantStatusWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeCloudAssistantStatusWithChan), arg0) +} + +// DescribeClusters mocks base method. +func (m *MockEcsClient) DescribeClusters(arg0 *ecs.DescribeClustersRequest) (*ecs.DescribeClustersResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeClusters", arg0) + ret0, _ := ret[0].(*ecs.DescribeClustersResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeClusters indicates an expected call of DescribeClusters. +func (mr *MockEcsClientMockRecorder) DescribeClusters(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeClusters", reflect.TypeOf((*MockEcsClient)(nil).DescribeClusters), arg0) +} + +// DescribeClustersWithCallback mocks base method. +func (m *MockEcsClient) DescribeClustersWithCallback(arg0 *ecs.DescribeClustersRequest, arg1 func(*ecs.DescribeClustersResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeClustersWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeClustersWithCallback indicates an expected call of DescribeClustersWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeClustersWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeClustersWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeClustersWithCallback), arg0, arg1) +} + +// DescribeClustersWithChan mocks base method. +func (m *MockEcsClient) DescribeClustersWithChan(arg0 *ecs.DescribeClustersRequest) (<-chan *ecs.DescribeClustersResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeClustersWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeClustersResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeClustersWithChan indicates an expected call of DescribeClustersWithChan. +func (mr *MockEcsClientMockRecorder) DescribeClustersWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeClustersWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeClustersWithChan), arg0) +} + +// DescribeCommands mocks base method. +func (m *MockEcsClient) DescribeCommands(arg0 *ecs.DescribeCommandsRequest) (*ecs.DescribeCommandsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCommands", arg0) + ret0, _ := ret[0].(*ecs.DescribeCommandsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeCommands indicates an expected call of DescribeCommands. +func (mr *MockEcsClientMockRecorder) DescribeCommands(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCommands", reflect.TypeOf((*MockEcsClient)(nil).DescribeCommands), arg0) +} + +// DescribeCommandsWithCallback mocks base method. +func (m *MockEcsClient) DescribeCommandsWithCallback(arg0 *ecs.DescribeCommandsRequest, arg1 func(*ecs.DescribeCommandsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCommandsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeCommandsWithCallback indicates an expected call of DescribeCommandsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeCommandsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCommandsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeCommandsWithCallback), arg0, arg1) +} + +// DescribeCommandsWithChan mocks base method. +func (m *MockEcsClient) DescribeCommandsWithChan(arg0 *ecs.DescribeCommandsRequest) (<-chan *ecs.DescribeCommandsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeCommandsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeCommandsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeCommandsWithChan indicates an expected call of DescribeCommandsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeCommandsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeCommandsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeCommandsWithChan), arg0) +} + +// DescribeDedicatedBlockStorageClusters mocks base method. +func (m *MockEcsClient) DescribeDedicatedBlockStorageClusters(arg0 *ecs.DescribeDedicatedBlockStorageClustersRequest) (*ecs.DescribeDedicatedBlockStorageClustersResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedBlockStorageClusters", arg0) + ret0, _ := ret[0].(*ecs.DescribeDedicatedBlockStorageClustersResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDedicatedBlockStorageClusters indicates an expected call of DescribeDedicatedBlockStorageClusters. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedBlockStorageClusters(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedBlockStorageClusters", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedBlockStorageClusters), arg0) +} + +// DescribeDedicatedBlockStorageClustersWithCallback mocks base method. +func (m *MockEcsClient) DescribeDedicatedBlockStorageClustersWithCallback(arg0 *ecs.DescribeDedicatedBlockStorageClustersRequest, arg1 func(*ecs.DescribeDedicatedBlockStorageClustersResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedBlockStorageClustersWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDedicatedBlockStorageClustersWithCallback indicates an expected call of DescribeDedicatedBlockStorageClustersWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedBlockStorageClustersWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedBlockStorageClustersWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedBlockStorageClustersWithCallback), arg0, arg1) +} + +// DescribeDedicatedBlockStorageClustersWithChan mocks base method. +func (m *MockEcsClient) DescribeDedicatedBlockStorageClustersWithChan(arg0 *ecs.DescribeDedicatedBlockStorageClustersRequest) (<-chan *ecs.DescribeDedicatedBlockStorageClustersResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedBlockStorageClustersWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDedicatedBlockStorageClustersResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDedicatedBlockStorageClustersWithChan indicates an expected call of DescribeDedicatedBlockStorageClustersWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedBlockStorageClustersWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedBlockStorageClustersWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedBlockStorageClustersWithChan), arg0) +} + +// DescribeDedicatedHostAutoRenew mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostAutoRenew(arg0 *ecs.DescribeDedicatedHostAutoRenewRequest) (*ecs.DescribeDedicatedHostAutoRenewResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostAutoRenew", arg0) + ret0, _ := ret[0].(*ecs.DescribeDedicatedHostAutoRenewResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDedicatedHostAutoRenew indicates an expected call of DescribeDedicatedHostAutoRenew. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostAutoRenew(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostAutoRenew", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostAutoRenew), arg0) +} + +// DescribeDedicatedHostAutoRenewWithCallback mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostAutoRenewWithCallback(arg0 *ecs.DescribeDedicatedHostAutoRenewRequest, arg1 func(*ecs.DescribeDedicatedHostAutoRenewResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostAutoRenewWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDedicatedHostAutoRenewWithCallback indicates an expected call of DescribeDedicatedHostAutoRenewWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostAutoRenewWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostAutoRenewWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostAutoRenewWithCallback), arg0, arg1) +} + +// DescribeDedicatedHostAutoRenewWithChan mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostAutoRenewWithChan(arg0 *ecs.DescribeDedicatedHostAutoRenewRequest) (<-chan *ecs.DescribeDedicatedHostAutoRenewResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostAutoRenewWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDedicatedHostAutoRenewResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDedicatedHostAutoRenewWithChan indicates an expected call of DescribeDedicatedHostAutoRenewWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostAutoRenewWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostAutoRenewWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostAutoRenewWithChan), arg0) +} + +// DescribeDedicatedHostClusters mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostClusters(arg0 *ecs.DescribeDedicatedHostClustersRequest) (*ecs.DescribeDedicatedHostClustersResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostClusters", arg0) + ret0, _ := ret[0].(*ecs.DescribeDedicatedHostClustersResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDedicatedHostClusters indicates an expected call of DescribeDedicatedHostClusters. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostClusters(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostClusters", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostClusters), arg0) +} + +// DescribeDedicatedHostClustersWithCallback mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostClustersWithCallback(arg0 *ecs.DescribeDedicatedHostClustersRequest, arg1 func(*ecs.DescribeDedicatedHostClustersResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostClustersWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDedicatedHostClustersWithCallback indicates an expected call of DescribeDedicatedHostClustersWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostClustersWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostClustersWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostClustersWithCallback), arg0, arg1) +} + +// DescribeDedicatedHostClustersWithChan mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostClustersWithChan(arg0 *ecs.DescribeDedicatedHostClustersRequest) (<-chan *ecs.DescribeDedicatedHostClustersResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostClustersWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDedicatedHostClustersResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDedicatedHostClustersWithChan indicates an expected call of DescribeDedicatedHostClustersWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostClustersWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostClustersWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostClustersWithChan), arg0) +} + +// DescribeDedicatedHostTypes mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostTypes(arg0 *ecs.DescribeDedicatedHostTypesRequest) (*ecs.DescribeDedicatedHostTypesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostTypes", arg0) + ret0, _ := ret[0].(*ecs.DescribeDedicatedHostTypesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDedicatedHostTypes indicates an expected call of DescribeDedicatedHostTypes. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostTypes(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostTypes", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostTypes), arg0) +} + +// DescribeDedicatedHostTypesWithCallback mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostTypesWithCallback(arg0 *ecs.DescribeDedicatedHostTypesRequest, arg1 func(*ecs.DescribeDedicatedHostTypesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostTypesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDedicatedHostTypesWithCallback indicates an expected call of DescribeDedicatedHostTypesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostTypesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostTypesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostTypesWithCallback), arg0, arg1) +} + +// DescribeDedicatedHostTypesWithChan mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostTypesWithChan(arg0 *ecs.DescribeDedicatedHostTypesRequest) (<-chan *ecs.DescribeDedicatedHostTypesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostTypesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDedicatedHostTypesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDedicatedHostTypesWithChan indicates an expected call of DescribeDedicatedHostTypesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostTypesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostTypesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostTypesWithChan), arg0) +} + +// DescribeDedicatedHosts mocks base method. +func (m *MockEcsClient) DescribeDedicatedHosts(arg0 *ecs.DescribeDedicatedHostsRequest) (*ecs.DescribeDedicatedHostsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHosts", arg0) + ret0, _ := ret[0].(*ecs.DescribeDedicatedHostsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDedicatedHosts indicates an expected call of DescribeDedicatedHosts. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHosts(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHosts", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHosts), arg0) +} + +// DescribeDedicatedHostsWithCallback mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostsWithCallback(arg0 *ecs.DescribeDedicatedHostsRequest, arg1 func(*ecs.DescribeDedicatedHostsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDedicatedHostsWithCallback indicates an expected call of DescribeDedicatedHostsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostsWithCallback), arg0, arg1) +} + +// DescribeDedicatedHostsWithChan mocks base method. +func (m *MockEcsClient) DescribeDedicatedHostsWithChan(arg0 *ecs.DescribeDedicatedHostsRequest) (<-chan *ecs.DescribeDedicatedHostsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDedicatedHostsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDedicatedHostsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDedicatedHostsWithChan indicates an expected call of DescribeDedicatedHostsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDedicatedHostsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDedicatedHostsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDedicatedHostsWithChan), arg0) +} + +// DescribeDemands mocks base method. +func (m *MockEcsClient) DescribeDemands(arg0 *ecs.DescribeDemandsRequest) (*ecs.DescribeDemandsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDemands", arg0) + ret0, _ := ret[0].(*ecs.DescribeDemandsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDemands indicates an expected call of DescribeDemands. +func (mr *MockEcsClientMockRecorder) DescribeDemands(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDemands", reflect.TypeOf((*MockEcsClient)(nil).DescribeDemands), arg0) +} + +// DescribeDemandsWithCallback mocks base method. +func (m *MockEcsClient) DescribeDemandsWithCallback(arg0 *ecs.DescribeDemandsRequest, arg1 func(*ecs.DescribeDemandsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDemandsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDemandsWithCallback indicates an expected call of DescribeDemandsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDemandsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDemandsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDemandsWithCallback), arg0, arg1) +} + +// DescribeDemandsWithChan mocks base method. +func (m *MockEcsClient) DescribeDemandsWithChan(arg0 *ecs.DescribeDemandsRequest) (<-chan *ecs.DescribeDemandsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDemandsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDemandsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDemandsWithChan indicates an expected call of DescribeDemandsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDemandsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDemandsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDemandsWithChan), arg0) +} + +// DescribeDeploymentSetSupportedInstanceTypeFamily mocks base method. +func (m *MockEcsClient) DescribeDeploymentSetSupportedInstanceTypeFamily(arg0 *ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyRequest) (*ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDeploymentSetSupportedInstanceTypeFamily", arg0) + ret0, _ := ret[0].(*ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDeploymentSetSupportedInstanceTypeFamily indicates an expected call of DescribeDeploymentSetSupportedInstanceTypeFamily. +func (mr *MockEcsClientMockRecorder) DescribeDeploymentSetSupportedInstanceTypeFamily(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDeploymentSetSupportedInstanceTypeFamily", reflect.TypeOf((*MockEcsClient)(nil).DescribeDeploymentSetSupportedInstanceTypeFamily), arg0) +} + +// DescribeDeploymentSetSupportedInstanceTypeFamilyWithCallback mocks base method. +func (m *MockEcsClient) DescribeDeploymentSetSupportedInstanceTypeFamilyWithCallback(arg0 *ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyRequest, arg1 func(*ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDeploymentSetSupportedInstanceTypeFamilyWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDeploymentSetSupportedInstanceTypeFamilyWithCallback indicates an expected call of DescribeDeploymentSetSupportedInstanceTypeFamilyWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDeploymentSetSupportedInstanceTypeFamilyWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDeploymentSetSupportedInstanceTypeFamilyWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDeploymentSetSupportedInstanceTypeFamilyWithCallback), arg0, arg1) +} + +// DescribeDeploymentSetSupportedInstanceTypeFamilyWithChan mocks base method. +func (m *MockEcsClient) DescribeDeploymentSetSupportedInstanceTypeFamilyWithChan(arg0 *ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyRequest) (<-chan *ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDeploymentSetSupportedInstanceTypeFamilyWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDeploymentSetSupportedInstanceTypeFamilyWithChan indicates an expected call of DescribeDeploymentSetSupportedInstanceTypeFamilyWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDeploymentSetSupportedInstanceTypeFamilyWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDeploymentSetSupportedInstanceTypeFamilyWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDeploymentSetSupportedInstanceTypeFamilyWithChan), arg0) +} + +// DescribeDeploymentSets mocks base method. +func (m *MockEcsClient) DescribeDeploymentSets(arg0 *ecs.DescribeDeploymentSetsRequest) (*ecs.DescribeDeploymentSetsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDeploymentSets", arg0) + ret0, _ := ret[0].(*ecs.DescribeDeploymentSetsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDeploymentSets indicates an expected call of DescribeDeploymentSets. +func (mr *MockEcsClientMockRecorder) DescribeDeploymentSets(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDeploymentSets", reflect.TypeOf((*MockEcsClient)(nil).DescribeDeploymentSets), arg0) +} + +// DescribeDeploymentSetsWithCallback mocks base method. +func (m *MockEcsClient) DescribeDeploymentSetsWithCallback(arg0 *ecs.DescribeDeploymentSetsRequest, arg1 func(*ecs.DescribeDeploymentSetsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDeploymentSetsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDeploymentSetsWithCallback indicates an expected call of DescribeDeploymentSetsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDeploymentSetsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDeploymentSetsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDeploymentSetsWithCallback), arg0, arg1) +} + +// DescribeDeploymentSetsWithChan mocks base method. +func (m *MockEcsClient) DescribeDeploymentSetsWithChan(arg0 *ecs.DescribeDeploymentSetsRequest) (<-chan *ecs.DescribeDeploymentSetsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDeploymentSetsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDeploymentSetsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDeploymentSetsWithChan indicates an expected call of DescribeDeploymentSetsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDeploymentSetsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDeploymentSetsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDeploymentSetsWithChan), arg0) +} + +// DescribeDiagnosticMetricSets mocks base method. +func (m *MockEcsClient) DescribeDiagnosticMetricSets(arg0 *ecs.DescribeDiagnosticMetricSetsRequest) (*ecs.DescribeDiagnosticMetricSetsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiagnosticMetricSets", arg0) + ret0, _ := ret[0].(*ecs.DescribeDiagnosticMetricSetsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDiagnosticMetricSets indicates an expected call of DescribeDiagnosticMetricSets. +func (mr *MockEcsClientMockRecorder) DescribeDiagnosticMetricSets(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiagnosticMetricSets", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiagnosticMetricSets), arg0) +} + +// DescribeDiagnosticMetricSetsWithCallback mocks base method. +func (m *MockEcsClient) DescribeDiagnosticMetricSetsWithCallback(arg0 *ecs.DescribeDiagnosticMetricSetsRequest, arg1 func(*ecs.DescribeDiagnosticMetricSetsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiagnosticMetricSetsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDiagnosticMetricSetsWithCallback indicates an expected call of DescribeDiagnosticMetricSetsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDiagnosticMetricSetsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiagnosticMetricSetsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiagnosticMetricSetsWithCallback), arg0, arg1) +} + +// DescribeDiagnosticMetricSetsWithChan mocks base method. +func (m *MockEcsClient) DescribeDiagnosticMetricSetsWithChan(arg0 *ecs.DescribeDiagnosticMetricSetsRequest) (<-chan *ecs.DescribeDiagnosticMetricSetsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiagnosticMetricSetsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDiagnosticMetricSetsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDiagnosticMetricSetsWithChan indicates an expected call of DescribeDiagnosticMetricSetsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDiagnosticMetricSetsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiagnosticMetricSetsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiagnosticMetricSetsWithChan), arg0) +} + +// DescribeDiagnosticMetrics mocks base method. +func (m *MockEcsClient) DescribeDiagnosticMetrics(arg0 *ecs.DescribeDiagnosticMetricsRequest) (*ecs.DescribeDiagnosticMetricsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiagnosticMetrics", arg0) + ret0, _ := ret[0].(*ecs.DescribeDiagnosticMetricsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDiagnosticMetrics indicates an expected call of DescribeDiagnosticMetrics. +func (mr *MockEcsClientMockRecorder) DescribeDiagnosticMetrics(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiagnosticMetrics", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiagnosticMetrics), arg0) +} + +// DescribeDiagnosticMetricsWithCallback mocks base method. +func (m *MockEcsClient) DescribeDiagnosticMetricsWithCallback(arg0 *ecs.DescribeDiagnosticMetricsRequest, arg1 func(*ecs.DescribeDiagnosticMetricsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiagnosticMetricsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDiagnosticMetricsWithCallback indicates an expected call of DescribeDiagnosticMetricsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDiagnosticMetricsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiagnosticMetricsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiagnosticMetricsWithCallback), arg0, arg1) +} + +// DescribeDiagnosticMetricsWithChan mocks base method. +func (m *MockEcsClient) DescribeDiagnosticMetricsWithChan(arg0 *ecs.DescribeDiagnosticMetricsRequest) (<-chan *ecs.DescribeDiagnosticMetricsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiagnosticMetricsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDiagnosticMetricsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDiagnosticMetricsWithChan indicates an expected call of DescribeDiagnosticMetricsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDiagnosticMetricsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiagnosticMetricsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiagnosticMetricsWithChan), arg0) +} + +// DescribeDiagnosticReports mocks base method. +func (m *MockEcsClient) DescribeDiagnosticReports(arg0 *ecs.DescribeDiagnosticReportsRequest) (*ecs.DescribeDiagnosticReportsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiagnosticReports", arg0) + ret0, _ := ret[0].(*ecs.DescribeDiagnosticReportsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDiagnosticReports indicates an expected call of DescribeDiagnosticReports. +func (mr *MockEcsClientMockRecorder) DescribeDiagnosticReports(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiagnosticReports", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiagnosticReports), arg0) +} + +// DescribeDiagnosticReportsWithCallback mocks base method. +func (m *MockEcsClient) DescribeDiagnosticReportsWithCallback(arg0 *ecs.DescribeDiagnosticReportsRequest, arg1 func(*ecs.DescribeDiagnosticReportsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiagnosticReportsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDiagnosticReportsWithCallback indicates an expected call of DescribeDiagnosticReportsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDiagnosticReportsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiagnosticReportsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiagnosticReportsWithCallback), arg0, arg1) +} + +// DescribeDiagnosticReportsWithChan mocks base method. +func (m *MockEcsClient) DescribeDiagnosticReportsWithChan(arg0 *ecs.DescribeDiagnosticReportsRequest) (<-chan *ecs.DescribeDiagnosticReportsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiagnosticReportsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDiagnosticReportsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDiagnosticReportsWithChan indicates an expected call of DescribeDiagnosticReportsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDiagnosticReportsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiagnosticReportsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiagnosticReportsWithChan), arg0) +} + +// DescribeDiskMonitorData mocks base method. +func (m *MockEcsClient) DescribeDiskMonitorData(arg0 *ecs.DescribeDiskMonitorDataRequest) (*ecs.DescribeDiskMonitorDataResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiskMonitorData", arg0) + ret0, _ := ret[0].(*ecs.DescribeDiskMonitorDataResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDiskMonitorData indicates an expected call of DescribeDiskMonitorData. +func (mr *MockEcsClientMockRecorder) DescribeDiskMonitorData(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiskMonitorData", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiskMonitorData), arg0) +} + +// DescribeDiskMonitorDataWithCallback mocks base method. +func (m *MockEcsClient) DescribeDiskMonitorDataWithCallback(arg0 *ecs.DescribeDiskMonitorDataRequest, arg1 func(*ecs.DescribeDiskMonitorDataResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiskMonitorDataWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDiskMonitorDataWithCallback indicates an expected call of DescribeDiskMonitorDataWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDiskMonitorDataWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiskMonitorDataWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiskMonitorDataWithCallback), arg0, arg1) +} + +// DescribeDiskMonitorDataWithChan mocks base method. +func (m *MockEcsClient) DescribeDiskMonitorDataWithChan(arg0 *ecs.DescribeDiskMonitorDataRequest) (<-chan *ecs.DescribeDiskMonitorDataResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDiskMonitorDataWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDiskMonitorDataResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDiskMonitorDataWithChan indicates an expected call of DescribeDiskMonitorDataWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDiskMonitorDataWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDiskMonitorDataWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDiskMonitorDataWithChan), arg0) +} + +// DescribeDisks mocks base method. +func (m *MockEcsClient) DescribeDisks(arg0 *ecs.DescribeDisksRequest) (*ecs.DescribeDisksResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDisks", arg0) + ret0, _ := ret[0].(*ecs.DescribeDisksResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDisks indicates an expected call of DescribeDisks. +func (mr *MockEcsClientMockRecorder) DescribeDisks(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDisks", reflect.TypeOf((*MockEcsClient)(nil).DescribeDisks), arg0) +} + +// DescribeDisksFullStatus mocks base method. +func (m *MockEcsClient) DescribeDisksFullStatus(arg0 *ecs.DescribeDisksFullStatusRequest) (*ecs.DescribeDisksFullStatusResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDisksFullStatus", arg0) + ret0, _ := ret[0].(*ecs.DescribeDisksFullStatusResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeDisksFullStatus indicates an expected call of DescribeDisksFullStatus. +func (mr *MockEcsClientMockRecorder) DescribeDisksFullStatus(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDisksFullStatus", reflect.TypeOf((*MockEcsClient)(nil).DescribeDisksFullStatus), arg0) +} + +// DescribeDisksFullStatusWithCallback mocks base method. +func (m *MockEcsClient) DescribeDisksFullStatusWithCallback(arg0 *ecs.DescribeDisksFullStatusRequest, arg1 func(*ecs.DescribeDisksFullStatusResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDisksFullStatusWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDisksFullStatusWithCallback indicates an expected call of DescribeDisksFullStatusWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDisksFullStatusWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDisksFullStatusWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDisksFullStatusWithCallback), arg0, arg1) +} + +// DescribeDisksFullStatusWithChan mocks base method. +func (m *MockEcsClient) DescribeDisksFullStatusWithChan(arg0 *ecs.DescribeDisksFullStatusRequest) (<-chan *ecs.DescribeDisksFullStatusResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDisksFullStatusWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDisksFullStatusResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDisksFullStatusWithChan indicates an expected call of DescribeDisksFullStatusWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDisksFullStatusWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDisksFullStatusWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDisksFullStatusWithChan), arg0) +} + +// DescribeDisksWithCallback mocks base method. +func (m *MockEcsClient) DescribeDisksWithCallback(arg0 *ecs.DescribeDisksRequest, arg1 func(*ecs.DescribeDisksResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDisksWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeDisksWithCallback indicates an expected call of DescribeDisksWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeDisksWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDisksWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeDisksWithCallback), arg0, arg1) +} + +// DescribeDisksWithChan mocks base method. +func (m *MockEcsClient) DescribeDisksWithChan(arg0 *ecs.DescribeDisksRequest) (<-chan *ecs.DescribeDisksResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeDisksWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeDisksResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeDisksWithChan indicates an expected call of DescribeDisksWithChan. +func (mr *MockEcsClientMockRecorder) DescribeDisksWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeDisksWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeDisksWithChan), arg0) +} + +// DescribeEipAddresses mocks base method. +func (m *MockEcsClient) DescribeEipAddresses(arg0 *ecs.DescribeEipAddressesRequest) (*ecs.DescribeEipAddressesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEipAddresses", arg0) + ret0, _ := ret[0].(*ecs.DescribeEipAddressesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeEipAddresses indicates an expected call of DescribeEipAddresses. +func (mr *MockEcsClientMockRecorder) DescribeEipAddresses(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEipAddresses", reflect.TypeOf((*MockEcsClient)(nil).DescribeEipAddresses), arg0) +} + +// DescribeEipAddressesWithCallback mocks base method. +func (m *MockEcsClient) DescribeEipAddressesWithCallback(arg0 *ecs.DescribeEipAddressesRequest, arg1 func(*ecs.DescribeEipAddressesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEipAddressesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeEipAddressesWithCallback indicates an expected call of DescribeEipAddressesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeEipAddressesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEipAddressesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeEipAddressesWithCallback), arg0, arg1) +} + +// DescribeEipAddressesWithChan mocks base method. +func (m *MockEcsClient) DescribeEipAddressesWithChan(arg0 *ecs.DescribeEipAddressesRequest) (<-chan *ecs.DescribeEipAddressesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEipAddressesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeEipAddressesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeEipAddressesWithChan indicates an expected call of DescribeEipAddressesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeEipAddressesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEipAddressesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeEipAddressesWithChan), arg0) +} + +// DescribeEipMonitorData mocks base method. +func (m *MockEcsClient) DescribeEipMonitorData(arg0 *ecs.DescribeEipMonitorDataRequest) (*ecs.DescribeEipMonitorDataResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEipMonitorData", arg0) + ret0, _ := ret[0].(*ecs.DescribeEipMonitorDataResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeEipMonitorData indicates an expected call of DescribeEipMonitorData. +func (mr *MockEcsClientMockRecorder) DescribeEipMonitorData(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEipMonitorData", reflect.TypeOf((*MockEcsClient)(nil).DescribeEipMonitorData), arg0) +} + +// DescribeEipMonitorDataWithCallback mocks base method. +func (m *MockEcsClient) DescribeEipMonitorDataWithCallback(arg0 *ecs.DescribeEipMonitorDataRequest, arg1 func(*ecs.DescribeEipMonitorDataResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEipMonitorDataWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeEipMonitorDataWithCallback indicates an expected call of DescribeEipMonitorDataWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeEipMonitorDataWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEipMonitorDataWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeEipMonitorDataWithCallback), arg0, arg1) +} + +// DescribeEipMonitorDataWithChan mocks base method. +func (m *MockEcsClient) DescribeEipMonitorDataWithChan(arg0 *ecs.DescribeEipMonitorDataRequest) (<-chan *ecs.DescribeEipMonitorDataResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEipMonitorDataWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeEipMonitorDataResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeEipMonitorDataWithChan indicates an expected call of DescribeEipMonitorDataWithChan. +func (mr *MockEcsClientMockRecorder) DescribeEipMonitorDataWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEipMonitorDataWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeEipMonitorDataWithChan), arg0) +} + +// DescribeElasticityAssuranceInstances mocks base method. +func (m *MockEcsClient) DescribeElasticityAssuranceInstances(arg0 *ecs.DescribeElasticityAssuranceInstancesRequest) (*ecs.DescribeElasticityAssuranceInstancesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeElasticityAssuranceInstances", arg0) + ret0, _ := ret[0].(*ecs.DescribeElasticityAssuranceInstancesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeElasticityAssuranceInstances indicates an expected call of DescribeElasticityAssuranceInstances. +func (mr *MockEcsClientMockRecorder) DescribeElasticityAssuranceInstances(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeElasticityAssuranceInstances", reflect.TypeOf((*MockEcsClient)(nil).DescribeElasticityAssuranceInstances), arg0) +} + +// DescribeElasticityAssuranceInstancesWithCallback mocks base method. +func (m *MockEcsClient) DescribeElasticityAssuranceInstancesWithCallback(arg0 *ecs.DescribeElasticityAssuranceInstancesRequest, arg1 func(*ecs.DescribeElasticityAssuranceInstancesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeElasticityAssuranceInstancesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeElasticityAssuranceInstancesWithCallback indicates an expected call of DescribeElasticityAssuranceInstancesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeElasticityAssuranceInstancesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeElasticityAssuranceInstancesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeElasticityAssuranceInstancesWithCallback), arg0, arg1) +} + +// DescribeElasticityAssuranceInstancesWithChan mocks base method. +func (m *MockEcsClient) DescribeElasticityAssuranceInstancesWithChan(arg0 *ecs.DescribeElasticityAssuranceInstancesRequest) (<-chan *ecs.DescribeElasticityAssuranceInstancesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeElasticityAssuranceInstancesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeElasticityAssuranceInstancesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeElasticityAssuranceInstancesWithChan indicates an expected call of DescribeElasticityAssuranceInstancesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeElasticityAssuranceInstancesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeElasticityAssuranceInstancesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeElasticityAssuranceInstancesWithChan), arg0) +} + +// DescribeElasticityAssurances mocks base method. +func (m *MockEcsClient) DescribeElasticityAssurances(arg0 *ecs.DescribeElasticityAssurancesRequest) (*ecs.DescribeElasticityAssurancesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeElasticityAssurances", arg0) + ret0, _ := ret[0].(*ecs.DescribeElasticityAssurancesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeElasticityAssurances indicates an expected call of DescribeElasticityAssurances. +func (mr *MockEcsClientMockRecorder) DescribeElasticityAssurances(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeElasticityAssurances", reflect.TypeOf((*MockEcsClient)(nil).DescribeElasticityAssurances), arg0) +} + +// DescribeElasticityAssurancesWithCallback mocks base method. +func (m *MockEcsClient) DescribeElasticityAssurancesWithCallback(arg0 *ecs.DescribeElasticityAssurancesRequest, arg1 func(*ecs.DescribeElasticityAssurancesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeElasticityAssurancesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeElasticityAssurancesWithCallback indicates an expected call of DescribeElasticityAssurancesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeElasticityAssurancesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeElasticityAssurancesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeElasticityAssurancesWithCallback), arg0, arg1) +} + +// DescribeElasticityAssurancesWithChan mocks base method. +func (m *MockEcsClient) DescribeElasticityAssurancesWithChan(arg0 *ecs.DescribeElasticityAssurancesRequest) (<-chan *ecs.DescribeElasticityAssurancesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeElasticityAssurancesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeElasticityAssurancesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeElasticityAssurancesWithChan indicates an expected call of DescribeElasticityAssurancesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeElasticityAssurancesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeElasticityAssurancesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeElasticityAssurancesWithChan), arg0) +} + +// DescribeEniMonitorData mocks base method. +func (m *MockEcsClient) DescribeEniMonitorData(arg0 *ecs.DescribeEniMonitorDataRequest) (*ecs.DescribeEniMonitorDataResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEniMonitorData", arg0) + ret0, _ := ret[0].(*ecs.DescribeEniMonitorDataResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeEniMonitorData indicates an expected call of DescribeEniMonitorData. +func (mr *MockEcsClientMockRecorder) DescribeEniMonitorData(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEniMonitorData", reflect.TypeOf((*MockEcsClient)(nil).DescribeEniMonitorData), arg0) +} + +// DescribeEniMonitorDataWithCallback mocks base method. +func (m *MockEcsClient) DescribeEniMonitorDataWithCallback(arg0 *ecs.DescribeEniMonitorDataRequest, arg1 func(*ecs.DescribeEniMonitorDataResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEniMonitorDataWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeEniMonitorDataWithCallback indicates an expected call of DescribeEniMonitorDataWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeEniMonitorDataWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEniMonitorDataWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeEniMonitorDataWithCallback), arg0, arg1) +} + +// DescribeEniMonitorDataWithChan mocks base method. +func (m *MockEcsClient) DescribeEniMonitorDataWithChan(arg0 *ecs.DescribeEniMonitorDataRequest) (<-chan *ecs.DescribeEniMonitorDataResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeEniMonitorDataWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeEniMonitorDataResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeEniMonitorDataWithChan indicates an expected call of DescribeEniMonitorDataWithChan. +func (mr *MockEcsClientMockRecorder) DescribeEniMonitorDataWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeEniMonitorDataWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeEniMonitorDataWithChan), arg0) +} + +// DescribeForwardTableEntries mocks base method. +func (m *MockEcsClient) DescribeForwardTableEntries(arg0 *ecs.DescribeForwardTableEntriesRequest) (*ecs.DescribeForwardTableEntriesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeForwardTableEntries", arg0) + ret0, _ := ret[0].(*ecs.DescribeForwardTableEntriesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeForwardTableEntries indicates an expected call of DescribeForwardTableEntries. +func (mr *MockEcsClientMockRecorder) DescribeForwardTableEntries(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeForwardTableEntries", reflect.TypeOf((*MockEcsClient)(nil).DescribeForwardTableEntries), arg0) +} + +// DescribeForwardTableEntriesWithCallback mocks base method. +func (m *MockEcsClient) DescribeForwardTableEntriesWithCallback(arg0 *ecs.DescribeForwardTableEntriesRequest, arg1 func(*ecs.DescribeForwardTableEntriesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeForwardTableEntriesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeForwardTableEntriesWithCallback indicates an expected call of DescribeForwardTableEntriesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeForwardTableEntriesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeForwardTableEntriesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeForwardTableEntriesWithCallback), arg0, arg1) +} + +// DescribeForwardTableEntriesWithChan mocks base method. +func (m *MockEcsClient) DescribeForwardTableEntriesWithChan(arg0 *ecs.DescribeForwardTableEntriesRequest) (<-chan *ecs.DescribeForwardTableEntriesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeForwardTableEntriesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeForwardTableEntriesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeForwardTableEntriesWithChan indicates an expected call of DescribeForwardTableEntriesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeForwardTableEntriesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeForwardTableEntriesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeForwardTableEntriesWithChan), arg0) +} + +// DescribeHaVips mocks base method. +func (m *MockEcsClient) DescribeHaVips(arg0 *ecs.DescribeHaVipsRequest) (*ecs.DescribeHaVipsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeHaVips", arg0) + ret0, _ := ret[0].(*ecs.DescribeHaVipsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeHaVips indicates an expected call of DescribeHaVips. +func (mr *MockEcsClientMockRecorder) DescribeHaVips(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeHaVips", reflect.TypeOf((*MockEcsClient)(nil).DescribeHaVips), arg0) +} + +// DescribeHaVipsWithCallback mocks base method. +func (m *MockEcsClient) DescribeHaVipsWithCallback(arg0 *ecs.DescribeHaVipsRequest, arg1 func(*ecs.DescribeHaVipsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeHaVipsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeHaVipsWithCallback indicates an expected call of DescribeHaVipsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeHaVipsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeHaVipsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeHaVipsWithCallback), arg0, arg1) +} + +// DescribeHaVipsWithChan mocks base method. +func (m *MockEcsClient) DescribeHaVipsWithChan(arg0 *ecs.DescribeHaVipsRequest) (<-chan *ecs.DescribeHaVipsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeHaVipsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeHaVipsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeHaVipsWithChan indicates an expected call of DescribeHaVipsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeHaVipsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeHaVipsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeHaVipsWithChan), arg0) +} + +// DescribeHpcClusters mocks base method. +func (m *MockEcsClient) DescribeHpcClusters(arg0 *ecs.DescribeHpcClustersRequest) (*ecs.DescribeHpcClustersResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeHpcClusters", arg0) + ret0, _ := ret[0].(*ecs.DescribeHpcClustersResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeHpcClusters indicates an expected call of DescribeHpcClusters. +func (mr *MockEcsClientMockRecorder) DescribeHpcClusters(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeHpcClusters", reflect.TypeOf((*MockEcsClient)(nil).DescribeHpcClusters), arg0) +} + +// DescribeHpcClustersWithCallback mocks base method. +func (m *MockEcsClient) DescribeHpcClustersWithCallback(arg0 *ecs.DescribeHpcClustersRequest, arg1 func(*ecs.DescribeHpcClustersResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeHpcClustersWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeHpcClustersWithCallback indicates an expected call of DescribeHpcClustersWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeHpcClustersWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeHpcClustersWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeHpcClustersWithCallback), arg0, arg1) +} + +// DescribeHpcClustersWithChan mocks base method. +func (m *MockEcsClient) DescribeHpcClustersWithChan(arg0 *ecs.DescribeHpcClustersRequest) (<-chan *ecs.DescribeHpcClustersResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeHpcClustersWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeHpcClustersResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeHpcClustersWithChan indicates an expected call of DescribeHpcClustersWithChan. +func (mr *MockEcsClientMockRecorder) DescribeHpcClustersWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeHpcClustersWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeHpcClustersWithChan), arg0) +} + +// DescribeImageComponents mocks base method. +func (m *MockEcsClient) DescribeImageComponents(arg0 *ecs.DescribeImageComponentsRequest) (*ecs.DescribeImageComponentsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageComponents", arg0) + ret0, _ := ret[0].(*ecs.DescribeImageComponentsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeImageComponents indicates an expected call of DescribeImageComponents. +func (mr *MockEcsClientMockRecorder) DescribeImageComponents(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageComponents", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageComponents), arg0) +} + +// DescribeImageComponentsWithCallback mocks base method. +func (m *MockEcsClient) DescribeImageComponentsWithCallback(arg0 *ecs.DescribeImageComponentsRequest, arg1 func(*ecs.DescribeImageComponentsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageComponentsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeImageComponentsWithCallback indicates an expected call of DescribeImageComponentsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeImageComponentsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageComponentsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageComponentsWithCallback), arg0, arg1) +} + +// DescribeImageComponentsWithChan mocks base method. +func (m *MockEcsClient) DescribeImageComponentsWithChan(arg0 *ecs.DescribeImageComponentsRequest) (<-chan *ecs.DescribeImageComponentsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageComponentsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeImageComponentsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeImageComponentsWithChan indicates an expected call of DescribeImageComponentsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeImageComponentsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageComponentsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageComponentsWithChan), arg0) +} + +// DescribeImageFromFamily mocks base method. +func (m *MockEcsClient) DescribeImageFromFamily(arg0 *ecs.DescribeImageFromFamilyRequest) (*ecs.DescribeImageFromFamilyResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageFromFamily", arg0) + ret0, _ := ret[0].(*ecs.DescribeImageFromFamilyResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeImageFromFamily indicates an expected call of DescribeImageFromFamily. +func (mr *MockEcsClientMockRecorder) DescribeImageFromFamily(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageFromFamily", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageFromFamily), arg0) +} + +// DescribeImageFromFamilyWithCallback mocks base method. +func (m *MockEcsClient) DescribeImageFromFamilyWithCallback(arg0 *ecs.DescribeImageFromFamilyRequest, arg1 func(*ecs.DescribeImageFromFamilyResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageFromFamilyWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeImageFromFamilyWithCallback indicates an expected call of DescribeImageFromFamilyWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeImageFromFamilyWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageFromFamilyWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageFromFamilyWithCallback), arg0, arg1) +} + +// DescribeImageFromFamilyWithChan mocks base method. +func (m *MockEcsClient) DescribeImageFromFamilyWithChan(arg0 *ecs.DescribeImageFromFamilyRequest) (<-chan *ecs.DescribeImageFromFamilyResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageFromFamilyWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeImageFromFamilyResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeImageFromFamilyWithChan indicates an expected call of DescribeImageFromFamilyWithChan. +func (mr *MockEcsClientMockRecorder) DescribeImageFromFamilyWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageFromFamilyWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageFromFamilyWithChan), arg0) +} + +// DescribeImagePipelineExecutions mocks base method. +func (m *MockEcsClient) DescribeImagePipelineExecutions(arg0 *ecs.DescribeImagePipelineExecutionsRequest) (*ecs.DescribeImagePipelineExecutionsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImagePipelineExecutions", arg0) + ret0, _ := ret[0].(*ecs.DescribeImagePipelineExecutionsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeImagePipelineExecutions indicates an expected call of DescribeImagePipelineExecutions. +func (mr *MockEcsClientMockRecorder) DescribeImagePipelineExecutions(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImagePipelineExecutions", reflect.TypeOf((*MockEcsClient)(nil).DescribeImagePipelineExecutions), arg0) +} + +// DescribeImagePipelineExecutionsWithCallback mocks base method. +func (m *MockEcsClient) DescribeImagePipelineExecutionsWithCallback(arg0 *ecs.DescribeImagePipelineExecutionsRequest, arg1 func(*ecs.DescribeImagePipelineExecutionsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImagePipelineExecutionsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeImagePipelineExecutionsWithCallback indicates an expected call of DescribeImagePipelineExecutionsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeImagePipelineExecutionsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImagePipelineExecutionsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeImagePipelineExecutionsWithCallback), arg0, arg1) +} + +// DescribeImagePipelineExecutionsWithChan mocks base method. +func (m *MockEcsClient) DescribeImagePipelineExecutionsWithChan(arg0 *ecs.DescribeImagePipelineExecutionsRequest) (<-chan *ecs.DescribeImagePipelineExecutionsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImagePipelineExecutionsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeImagePipelineExecutionsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeImagePipelineExecutionsWithChan indicates an expected call of DescribeImagePipelineExecutionsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeImagePipelineExecutionsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImagePipelineExecutionsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeImagePipelineExecutionsWithChan), arg0) +} + +// DescribeImagePipelines mocks base method. +func (m *MockEcsClient) DescribeImagePipelines(arg0 *ecs.DescribeImagePipelinesRequest) (*ecs.DescribeImagePipelinesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImagePipelines", arg0) + ret0, _ := ret[0].(*ecs.DescribeImagePipelinesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeImagePipelines indicates an expected call of DescribeImagePipelines. +func (mr *MockEcsClientMockRecorder) DescribeImagePipelines(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImagePipelines", reflect.TypeOf((*MockEcsClient)(nil).DescribeImagePipelines), arg0) +} + +// DescribeImagePipelinesWithCallback mocks base method. +func (m *MockEcsClient) DescribeImagePipelinesWithCallback(arg0 *ecs.DescribeImagePipelinesRequest, arg1 func(*ecs.DescribeImagePipelinesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImagePipelinesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeImagePipelinesWithCallback indicates an expected call of DescribeImagePipelinesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeImagePipelinesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImagePipelinesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeImagePipelinesWithCallback), arg0, arg1) +} + +// DescribeImagePipelinesWithChan mocks base method. +func (m *MockEcsClient) DescribeImagePipelinesWithChan(arg0 *ecs.DescribeImagePipelinesRequest) (<-chan *ecs.DescribeImagePipelinesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImagePipelinesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeImagePipelinesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeImagePipelinesWithChan indicates an expected call of DescribeImagePipelinesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeImagePipelinesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImagePipelinesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeImagePipelinesWithChan), arg0) +} + +// DescribeImageSharePermission mocks base method. +func (m *MockEcsClient) DescribeImageSharePermission(arg0 *ecs.DescribeImageSharePermissionRequest) (*ecs.DescribeImageSharePermissionResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageSharePermission", arg0) + ret0, _ := ret[0].(*ecs.DescribeImageSharePermissionResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeImageSharePermission indicates an expected call of DescribeImageSharePermission. +func (mr *MockEcsClientMockRecorder) DescribeImageSharePermission(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageSharePermission", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageSharePermission), arg0) +} + +// DescribeImageSharePermissionWithCallback mocks base method. +func (m *MockEcsClient) DescribeImageSharePermissionWithCallback(arg0 *ecs.DescribeImageSharePermissionRequest, arg1 func(*ecs.DescribeImageSharePermissionResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageSharePermissionWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeImageSharePermissionWithCallback indicates an expected call of DescribeImageSharePermissionWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeImageSharePermissionWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageSharePermissionWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageSharePermissionWithCallback), arg0, arg1) +} + +// DescribeImageSharePermissionWithChan mocks base method. +func (m *MockEcsClient) DescribeImageSharePermissionWithChan(arg0 *ecs.DescribeImageSharePermissionRequest) (<-chan *ecs.DescribeImageSharePermissionResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageSharePermissionWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeImageSharePermissionResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeImageSharePermissionWithChan indicates an expected call of DescribeImageSharePermissionWithChan. +func (mr *MockEcsClientMockRecorder) DescribeImageSharePermissionWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageSharePermissionWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageSharePermissionWithChan), arg0) +} + +// DescribeImageSupportInstanceTypes mocks base method. +func (m *MockEcsClient) DescribeImageSupportInstanceTypes(arg0 *ecs.DescribeImageSupportInstanceTypesRequest) (*ecs.DescribeImageSupportInstanceTypesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageSupportInstanceTypes", arg0) + ret0, _ := ret[0].(*ecs.DescribeImageSupportInstanceTypesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeImageSupportInstanceTypes indicates an expected call of DescribeImageSupportInstanceTypes. +func (mr *MockEcsClientMockRecorder) DescribeImageSupportInstanceTypes(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageSupportInstanceTypes", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageSupportInstanceTypes), arg0) +} + +// DescribeImageSupportInstanceTypesWithCallback mocks base method. +func (m *MockEcsClient) DescribeImageSupportInstanceTypesWithCallback(arg0 *ecs.DescribeImageSupportInstanceTypesRequest, arg1 func(*ecs.DescribeImageSupportInstanceTypesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageSupportInstanceTypesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeImageSupportInstanceTypesWithCallback indicates an expected call of DescribeImageSupportInstanceTypesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeImageSupportInstanceTypesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageSupportInstanceTypesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageSupportInstanceTypesWithCallback), arg0, arg1) +} + +// DescribeImageSupportInstanceTypesWithChan mocks base method. +func (m *MockEcsClient) DescribeImageSupportInstanceTypesWithChan(arg0 *ecs.DescribeImageSupportInstanceTypesRequest) (<-chan *ecs.DescribeImageSupportInstanceTypesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImageSupportInstanceTypesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeImageSupportInstanceTypesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeImageSupportInstanceTypesWithChan indicates an expected call of DescribeImageSupportInstanceTypesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeImageSupportInstanceTypesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImageSupportInstanceTypesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeImageSupportInstanceTypesWithChan), arg0) +} + +// DescribeImages mocks base method. +func (m *MockEcsClient) DescribeImages(arg0 *ecs.DescribeImagesRequest) (*ecs.DescribeImagesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImages", arg0) + ret0, _ := ret[0].(*ecs.DescribeImagesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeImages indicates an expected call of DescribeImages. +func (mr *MockEcsClientMockRecorder) DescribeImages(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImages", reflect.TypeOf((*MockEcsClient)(nil).DescribeImages), arg0) +} + +// DescribeImagesWithCallback mocks base method. +func (m *MockEcsClient) DescribeImagesWithCallback(arg0 *ecs.DescribeImagesRequest, arg1 func(*ecs.DescribeImagesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImagesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeImagesWithCallback indicates an expected call of DescribeImagesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeImagesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImagesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeImagesWithCallback), arg0, arg1) +} + +// DescribeImagesWithChan mocks base method. +func (m *MockEcsClient) DescribeImagesWithChan(arg0 *ecs.DescribeImagesRequest) (<-chan *ecs.DescribeImagesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeImagesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeImagesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeImagesWithChan indicates an expected call of DescribeImagesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeImagesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeImagesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeImagesWithChan), arg0) +} + +// DescribeInstanceAttachmentAttributes mocks base method. +func (m *MockEcsClient) DescribeInstanceAttachmentAttributes(arg0 *ecs.DescribeInstanceAttachmentAttributesRequest) (*ecs.DescribeInstanceAttachmentAttributesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceAttachmentAttributes", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceAttachmentAttributesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceAttachmentAttributes indicates an expected call of DescribeInstanceAttachmentAttributes. +func (mr *MockEcsClientMockRecorder) DescribeInstanceAttachmentAttributes(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceAttachmentAttributes", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceAttachmentAttributes), arg0) +} + +// DescribeInstanceAttachmentAttributesWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceAttachmentAttributesWithCallback(arg0 *ecs.DescribeInstanceAttachmentAttributesRequest, arg1 func(*ecs.DescribeInstanceAttachmentAttributesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceAttachmentAttributesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceAttachmentAttributesWithCallback indicates an expected call of DescribeInstanceAttachmentAttributesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceAttachmentAttributesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceAttachmentAttributesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceAttachmentAttributesWithCallback), arg0, arg1) +} + +// DescribeInstanceAttachmentAttributesWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceAttachmentAttributesWithChan(arg0 *ecs.DescribeInstanceAttachmentAttributesRequest) (<-chan *ecs.DescribeInstanceAttachmentAttributesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceAttachmentAttributesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceAttachmentAttributesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceAttachmentAttributesWithChan indicates an expected call of DescribeInstanceAttachmentAttributesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceAttachmentAttributesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceAttachmentAttributesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceAttachmentAttributesWithChan), arg0) +} + +// DescribeInstanceAttribute mocks base method. +func (m *MockEcsClient) DescribeInstanceAttribute(arg0 *ecs.DescribeInstanceAttributeRequest) (*ecs.DescribeInstanceAttributeResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceAttribute", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceAttributeResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceAttribute indicates an expected call of DescribeInstanceAttribute. +func (mr *MockEcsClientMockRecorder) DescribeInstanceAttribute(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceAttribute", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceAttribute), arg0) +} + +// DescribeInstanceAttributeWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceAttributeWithCallback(arg0 *ecs.DescribeInstanceAttributeRequest, arg1 func(*ecs.DescribeInstanceAttributeResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceAttributeWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceAttributeWithCallback indicates an expected call of DescribeInstanceAttributeWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceAttributeWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceAttributeWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceAttributeWithCallback), arg0, arg1) +} + +// DescribeInstanceAttributeWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceAttributeWithChan(arg0 *ecs.DescribeInstanceAttributeRequest) (<-chan *ecs.DescribeInstanceAttributeResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceAttributeWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceAttributeResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceAttributeWithChan indicates an expected call of DescribeInstanceAttributeWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceAttributeWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceAttributeWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceAttributeWithChan), arg0) +} + +// DescribeInstanceAutoRenewAttribute mocks base method. +func (m *MockEcsClient) DescribeInstanceAutoRenewAttribute(arg0 *ecs.DescribeInstanceAutoRenewAttributeRequest) (*ecs.DescribeInstanceAutoRenewAttributeResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceAutoRenewAttribute", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceAutoRenewAttributeResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceAutoRenewAttribute indicates an expected call of DescribeInstanceAutoRenewAttribute. +func (mr *MockEcsClientMockRecorder) DescribeInstanceAutoRenewAttribute(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceAutoRenewAttribute", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceAutoRenewAttribute), arg0) +} + +// DescribeInstanceAutoRenewAttributeWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceAutoRenewAttributeWithCallback(arg0 *ecs.DescribeInstanceAutoRenewAttributeRequest, arg1 func(*ecs.DescribeInstanceAutoRenewAttributeResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceAutoRenewAttributeWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceAutoRenewAttributeWithCallback indicates an expected call of DescribeInstanceAutoRenewAttributeWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceAutoRenewAttributeWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceAutoRenewAttributeWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceAutoRenewAttributeWithCallback), arg0, arg1) +} + +// DescribeInstanceAutoRenewAttributeWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceAutoRenewAttributeWithChan(arg0 *ecs.DescribeInstanceAutoRenewAttributeRequest) (<-chan *ecs.DescribeInstanceAutoRenewAttributeResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceAutoRenewAttributeWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceAutoRenewAttributeResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceAutoRenewAttributeWithChan indicates an expected call of DescribeInstanceAutoRenewAttributeWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceAutoRenewAttributeWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceAutoRenewAttributeWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceAutoRenewAttributeWithChan), arg0) +} + +// DescribeInstanceHistoryEvents mocks base method. +func (m *MockEcsClient) DescribeInstanceHistoryEvents(arg0 *ecs.DescribeInstanceHistoryEventsRequest) (*ecs.DescribeInstanceHistoryEventsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceHistoryEvents", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceHistoryEventsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceHistoryEvents indicates an expected call of DescribeInstanceHistoryEvents. +func (mr *MockEcsClientMockRecorder) DescribeInstanceHistoryEvents(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceHistoryEvents", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceHistoryEvents), arg0) +} + +// DescribeInstanceHistoryEventsWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceHistoryEventsWithCallback(arg0 *ecs.DescribeInstanceHistoryEventsRequest, arg1 func(*ecs.DescribeInstanceHistoryEventsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceHistoryEventsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceHistoryEventsWithCallback indicates an expected call of DescribeInstanceHistoryEventsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceHistoryEventsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceHistoryEventsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceHistoryEventsWithCallback), arg0, arg1) +} + +// DescribeInstanceHistoryEventsWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceHistoryEventsWithChan(arg0 *ecs.DescribeInstanceHistoryEventsRequest) (<-chan *ecs.DescribeInstanceHistoryEventsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceHistoryEventsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceHistoryEventsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceHistoryEventsWithChan indicates an expected call of DescribeInstanceHistoryEventsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceHistoryEventsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceHistoryEventsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceHistoryEventsWithChan), arg0) +} + +// DescribeInstanceMaintenanceAttributes mocks base method. +func (m *MockEcsClient) DescribeInstanceMaintenanceAttributes(arg0 *ecs.DescribeInstanceMaintenanceAttributesRequest) (*ecs.DescribeInstanceMaintenanceAttributesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceMaintenanceAttributes", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceMaintenanceAttributesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceMaintenanceAttributes indicates an expected call of DescribeInstanceMaintenanceAttributes. +func (mr *MockEcsClientMockRecorder) DescribeInstanceMaintenanceAttributes(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceMaintenanceAttributes", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceMaintenanceAttributes), arg0) +} + +// DescribeInstanceMaintenanceAttributesWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceMaintenanceAttributesWithCallback(arg0 *ecs.DescribeInstanceMaintenanceAttributesRequest, arg1 func(*ecs.DescribeInstanceMaintenanceAttributesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceMaintenanceAttributesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceMaintenanceAttributesWithCallback indicates an expected call of DescribeInstanceMaintenanceAttributesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceMaintenanceAttributesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceMaintenanceAttributesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceMaintenanceAttributesWithCallback), arg0, arg1) +} + +// DescribeInstanceMaintenanceAttributesWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceMaintenanceAttributesWithChan(arg0 *ecs.DescribeInstanceMaintenanceAttributesRequest) (<-chan *ecs.DescribeInstanceMaintenanceAttributesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceMaintenanceAttributesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceMaintenanceAttributesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceMaintenanceAttributesWithChan indicates an expected call of DescribeInstanceMaintenanceAttributesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceMaintenanceAttributesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceMaintenanceAttributesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceMaintenanceAttributesWithChan), arg0) +} + +// DescribeInstanceModificationPrice mocks base method. +func (m *MockEcsClient) DescribeInstanceModificationPrice(arg0 *ecs.DescribeInstanceModificationPriceRequest) (*ecs.DescribeInstanceModificationPriceResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceModificationPrice", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceModificationPriceResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceModificationPrice indicates an expected call of DescribeInstanceModificationPrice. +func (mr *MockEcsClientMockRecorder) DescribeInstanceModificationPrice(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceModificationPrice", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceModificationPrice), arg0) +} + +// DescribeInstanceModificationPriceWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceModificationPriceWithCallback(arg0 *ecs.DescribeInstanceModificationPriceRequest, arg1 func(*ecs.DescribeInstanceModificationPriceResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceModificationPriceWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceModificationPriceWithCallback indicates an expected call of DescribeInstanceModificationPriceWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceModificationPriceWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceModificationPriceWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceModificationPriceWithCallback), arg0, arg1) +} + +// DescribeInstanceModificationPriceWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceModificationPriceWithChan(arg0 *ecs.DescribeInstanceModificationPriceRequest) (<-chan *ecs.DescribeInstanceModificationPriceResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceModificationPriceWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceModificationPriceResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceModificationPriceWithChan indicates an expected call of DescribeInstanceModificationPriceWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceModificationPriceWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceModificationPriceWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceModificationPriceWithChan), arg0) +} + +// DescribeInstanceMonitorData mocks base method. +func (m *MockEcsClient) DescribeInstanceMonitorData(arg0 *ecs.DescribeInstanceMonitorDataRequest) (*ecs.DescribeInstanceMonitorDataResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceMonitorData", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceMonitorDataResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceMonitorData indicates an expected call of DescribeInstanceMonitorData. +func (mr *MockEcsClientMockRecorder) DescribeInstanceMonitorData(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceMonitorData", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceMonitorData), arg0) +} + +// DescribeInstanceMonitorDataWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceMonitorDataWithCallback(arg0 *ecs.DescribeInstanceMonitorDataRequest, arg1 func(*ecs.DescribeInstanceMonitorDataResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceMonitorDataWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceMonitorDataWithCallback indicates an expected call of DescribeInstanceMonitorDataWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceMonitorDataWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceMonitorDataWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceMonitorDataWithCallback), arg0, arg1) +} + +// DescribeInstanceMonitorDataWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceMonitorDataWithChan(arg0 *ecs.DescribeInstanceMonitorDataRequest) (<-chan *ecs.DescribeInstanceMonitorDataResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceMonitorDataWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceMonitorDataResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceMonitorDataWithChan indicates an expected call of DescribeInstanceMonitorDataWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceMonitorDataWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceMonitorDataWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceMonitorDataWithChan), arg0) +} + +// DescribeInstanceRamRole mocks base method. +func (m *MockEcsClient) DescribeInstanceRamRole(arg0 *ecs.DescribeInstanceRamRoleRequest) (*ecs.DescribeInstanceRamRoleResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceRamRole", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceRamRoleResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceRamRole indicates an expected call of DescribeInstanceRamRole. +func (mr *MockEcsClientMockRecorder) DescribeInstanceRamRole(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceRamRole", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceRamRole), arg0) +} + +// DescribeInstanceRamRoleWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceRamRoleWithCallback(arg0 *ecs.DescribeInstanceRamRoleRequest, arg1 func(*ecs.DescribeInstanceRamRoleResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceRamRoleWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceRamRoleWithCallback indicates an expected call of DescribeInstanceRamRoleWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceRamRoleWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceRamRoleWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceRamRoleWithCallback), arg0, arg1) +} + +// DescribeInstanceRamRoleWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceRamRoleWithChan(arg0 *ecs.DescribeInstanceRamRoleRequest) (<-chan *ecs.DescribeInstanceRamRoleResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceRamRoleWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceRamRoleResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceRamRoleWithChan indicates an expected call of DescribeInstanceRamRoleWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceRamRoleWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceRamRoleWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceRamRoleWithChan), arg0) +} + +// DescribeInstanceStatus mocks base method. +func (m *MockEcsClient) DescribeInstanceStatus(arg0 *ecs.DescribeInstanceStatusRequest) (*ecs.DescribeInstanceStatusResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceStatus", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceStatusResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceStatus indicates an expected call of DescribeInstanceStatus. +func (mr *MockEcsClientMockRecorder) DescribeInstanceStatus(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceStatus", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceStatus), arg0) +} + +// DescribeInstanceStatusWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceStatusWithCallback(arg0 *ecs.DescribeInstanceStatusRequest, arg1 func(*ecs.DescribeInstanceStatusResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceStatusWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceStatusWithCallback indicates an expected call of DescribeInstanceStatusWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceStatusWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceStatusWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceStatusWithCallback), arg0, arg1) +} + +// DescribeInstanceStatusWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceStatusWithChan(arg0 *ecs.DescribeInstanceStatusRequest) (<-chan *ecs.DescribeInstanceStatusResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceStatusWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceStatusResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceStatusWithChan indicates an expected call of DescribeInstanceStatusWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceStatusWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceStatusWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceStatusWithChan), arg0) +} + +// DescribeInstanceTopology mocks base method. +func (m *MockEcsClient) DescribeInstanceTopology(arg0 *ecs.DescribeInstanceTopologyRequest) (*ecs.DescribeInstanceTopologyResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTopology", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceTopologyResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceTopology indicates an expected call of DescribeInstanceTopology. +func (mr *MockEcsClientMockRecorder) DescribeInstanceTopology(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTopology", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceTopology), arg0) +} + +// DescribeInstanceTopologyWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceTopologyWithCallback(arg0 *ecs.DescribeInstanceTopologyRequest, arg1 func(*ecs.DescribeInstanceTopologyResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTopologyWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceTopologyWithCallback indicates an expected call of DescribeInstanceTopologyWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceTopologyWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTopologyWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceTopologyWithCallback), arg0, arg1) +} + +// DescribeInstanceTopologyWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceTopologyWithChan(arg0 *ecs.DescribeInstanceTopologyRequest) (<-chan *ecs.DescribeInstanceTopologyResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTopologyWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceTopologyResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceTopologyWithChan indicates an expected call of DescribeInstanceTopologyWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceTopologyWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTopologyWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceTopologyWithChan), arg0) +} + +// DescribeInstanceTypeFamilies mocks base method. +func (m *MockEcsClient) DescribeInstanceTypeFamilies(arg0 *ecs.DescribeInstanceTypeFamiliesRequest) (*ecs.DescribeInstanceTypeFamiliesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTypeFamilies", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceTypeFamiliesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceTypeFamilies indicates an expected call of DescribeInstanceTypeFamilies. +func (mr *MockEcsClientMockRecorder) DescribeInstanceTypeFamilies(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTypeFamilies", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceTypeFamilies), arg0) +} + +// DescribeInstanceTypeFamiliesWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceTypeFamiliesWithCallback(arg0 *ecs.DescribeInstanceTypeFamiliesRequest, arg1 func(*ecs.DescribeInstanceTypeFamiliesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTypeFamiliesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceTypeFamiliesWithCallback indicates an expected call of DescribeInstanceTypeFamiliesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceTypeFamiliesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTypeFamiliesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceTypeFamiliesWithCallback), arg0, arg1) +} + +// DescribeInstanceTypeFamiliesWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceTypeFamiliesWithChan(arg0 *ecs.DescribeInstanceTypeFamiliesRequest) (<-chan *ecs.DescribeInstanceTypeFamiliesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTypeFamiliesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceTypeFamiliesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceTypeFamiliesWithChan indicates an expected call of DescribeInstanceTypeFamiliesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceTypeFamiliesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTypeFamiliesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceTypeFamiliesWithChan), arg0) +} + +// DescribeInstanceTypes mocks base method. +func (m *MockEcsClient) DescribeInstanceTypes(arg0 *ecs.DescribeInstanceTypesRequest) (*ecs.DescribeInstanceTypesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTypes", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceTypesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceTypes indicates an expected call of DescribeInstanceTypes. +func (mr *MockEcsClientMockRecorder) DescribeInstanceTypes(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTypes", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceTypes), arg0) +} + +// DescribeInstanceTypesWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceTypesWithCallback(arg0 *ecs.DescribeInstanceTypesRequest, arg1 func(*ecs.DescribeInstanceTypesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTypesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceTypesWithCallback indicates an expected call of DescribeInstanceTypesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceTypesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTypesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceTypesWithCallback), arg0, arg1) +} + +// DescribeInstanceTypesWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceTypesWithChan(arg0 *ecs.DescribeInstanceTypesRequest) (<-chan *ecs.DescribeInstanceTypesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceTypesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceTypesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceTypesWithChan indicates an expected call of DescribeInstanceTypesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceTypesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceTypesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceTypesWithChan), arg0) +} + +// DescribeInstanceVncPasswd mocks base method. +func (m *MockEcsClient) DescribeInstanceVncPasswd(arg0 *ecs.DescribeInstanceVncPasswdRequest) (*ecs.DescribeInstanceVncPasswdResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceVncPasswd", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceVncPasswdResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceVncPasswd indicates an expected call of DescribeInstanceVncPasswd. +func (mr *MockEcsClientMockRecorder) DescribeInstanceVncPasswd(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceVncPasswd", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceVncPasswd), arg0) +} + +// DescribeInstanceVncPasswdWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceVncPasswdWithCallback(arg0 *ecs.DescribeInstanceVncPasswdRequest, arg1 func(*ecs.DescribeInstanceVncPasswdResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceVncPasswdWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceVncPasswdWithCallback indicates an expected call of DescribeInstanceVncPasswdWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceVncPasswdWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceVncPasswdWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceVncPasswdWithCallback), arg0, arg1) +} + +// DescribeInstanceVncPasswdWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceVncPasswdWithChan(arg0 *ecs.DescribeInstanceVncPasswdRequest) (<-chan *ecs.DescribeInstanceVncPasswdResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceVncPasswdWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceVncPasswdResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceVncPasswdWithChan indicates an expected call of DescribeInstanceVncPasswdWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceVncPasswdWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceVncPasswdWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceVncPasswdWithChan), arg0) +} + +// DescribeInstanceVncUrl mocks base method. +func (m *MockEcsClient) DescribeInstanceVncUrl(arg0 *ecs.DescribeInstanceVncUrlRequest) (*ecs.DescribeInstanceVncUrlResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceVncUrl", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstanceVncUrlResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstanceVncUrl indicates an expected call of DescribeInstanceVncUrl. +func (mr *MockEcsClientMockRecorder) DescribeInstanceVncUrl(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceVncUrl", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceVncUrl), arg0) +} + +// DescribeInstanceVncUrlWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstanceVncUrlWithCallback(arg0 *ecs.DescribeInstanceVncUrlRequest, arg1 func(*ecs.DescribeInstanceVncUrlResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceVncUrlWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstanceVncUrlWithCallback indicates an expected call of DescribeInstanceVncUrlWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstanceVncUrlWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceVncUrlWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceVncUrlWithCallback), arg0, arg1) +} + +// DescribeInstanceVncUrlWithChan mocks base method. +func (m *MockEcsClient) DescribeInstanceVncUrlWithChan(arg0 *ecs.DescribeInstanceVncUrlRequest) (<-chan *ecs.DescribeInstanceVncUrlResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstanceVncUrlWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstanceVncUrlResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstanceVncUrlWithChan indicates an expected call of DescribeInstanceVncUrlWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstanceVncUrlWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstanceVncUrlWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstanceVncUrlWithChan), arg0) +} + +// DescribeInstances mocks base method. +func (m *MockEcsClient) DescribeInstances(arg0 *ecs.DescribeInstancesRequest) (*ecs.DescribeInstancesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstances", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstancesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstances indicates an expected call of DescribeInstances. +func (mr *MockEcsClientMockRecorder) DescribeInstances(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstances", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstances), arg0) +} + +// DescribeInstancesFullStatus mocks base method. +func (m *MockEcsClient) DescribeInstancesFullStatus(arg0 *ecs.DescribeInstancesFullStatusRequest) (*ecs.DescribeInstancesFullStatusResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstancesFullStatus", arg0) + ret0, _ := ret[0].(*ecs.DescribeInstancesFullStatusResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInstancesFullStatus indicates an expected call of DescribeInstancesFullStatus. +func (mr *MockEcsClientMockRecorder) DescribeInstancesFullStatus(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstancesFullStatus", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstancesFullStatus), arg0) +} + +// DescribeInstancesFullStatusWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstancesFullStatusWithCallback(arg0 *ecs.DescribeInstancesFullStatusRequest, arg1 func(*ecs.DescribeInstancesFullStatusResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstancesFullStatusWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstancesFullStatusWithCallback indicates an expected call of DescribeInstancesFullStatusWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstancesFullStatusWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstancesFullStatusWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstancesFullStatusWithCallback), arg0, arg1) +} + +// DescribeInstancesFullStatusWithChan mocks base method. +func (m *MockEcsClient) DescribeInstancesFullStatusWithChan(arg0 *ecs.DescribeInstancesFullStatusRequest) (<-chan *ecs.DescribeInstancesFullStatusResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstancesFullStatusWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstancesFullStatusResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstancesFullStatusWithChan indicates an expected call of DescribeInstancesFullStatusWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstancesFullStatusWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstancesFullStatusWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstancesFullStatusWithChan), arg0) +} + +// DescribeInstancesWithCallback mocks base method. +func (m *MockEcsClient) DescribeInstancesWithCallback(arg0 *ecs.DescribeInstancesRequest, arg1 func(*ecs.DescribeInstancesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstancesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInstancesWithCallback indicates an expected call of DescribeInstancesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInstancesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstancesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstancesWithCallback), arg0, arg1) +} + +// DescribeInstancesWithChan mocks base method. +func (m *MockEcsClient) DescribeInstancesWithChan(arg0 *ecs.DescribeInstancesRequest) (<-chan *ecs.DescribeInstancesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInstancesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInstancesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInstancesWithChan indicates an expected call of DescribeInstancesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInstancesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInstancesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInstancesWithChan), arg0) +} + +// DescribeInvocationResults mocks base method. +func (m *MockEcsClient) DescribeInvocationResults(arg0 *ecs.DescribeInvocationResultsRequest) (*ecs.DescribeInvocationResultsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInvocationResults", arg0) + ret0, _ := ret[0].(*ecs.DescribeInvocationResultsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInvocationResults indicates an expected call of DescribeInvocationResults. +func (mr *MockEcsClientMockRecorder) DescribeInvocationResults(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInvocationResults", reflect.TypeOf((*MockEcsClient)(nil).DescribeInvocationResults), arg0) +} + +// DescribeInvocationResultsWithCallback mocks base method. +func (m *MockEcsClient) DescribeInvocationResultsWithCallback(arg0 *ecs.DescribeInvocationResultsRequest, arg1 func(*ecs.DescribeInvocationResultsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInvocationResultsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInvocationResultsWithCallback indicates an expected call of DescribeInvocationResultsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInvocationResultsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInvocationResultsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInvocationResultsWithCallback), arg0, arg1) +} + +// DescribeInvocationResultsWithChan mocks base method. +func (m *MockEcsClient) DescribeInvocationResultsWithChan(arg0 *ecs.DescribeInvocationResultsRequest) (<-chan *ecs.DescribeInvocationResultsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInvocationResultsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInvocationResultsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInvocationResultsWithChan indicates an expected call of DescribeInvocationResultsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInvocationResultsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInvocationResultsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInvocationResultsWithChan), arg0) +} + +// DescribeInvocations mocks base method. +func (m *MockEcsClient) DescribeInvocations(arg0 *ecs.DescribeInvocationsRequest) (*ecs.DescribeInvocationsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInvocations", arg0) + ret0, _ := ret[0].(*ecs.DescribeInvocationsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeInvocations indicates an expected call of DescribeInvocations. +func (mr *MockEcsClientMockRecorder) DescribeInvocations(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInvocations", reflect.TypeOf((*MockEcsClient)(nil).DescribeInvocations), arg0) +} + +// DescribeInvocationsWithCallback mocks base method. +func (m *MockEcsClient) DescribeInvocationsWithCallback(arg0 *ecs.DescribeInvocationsRequest, arg1 func(*ecs.DescribeInvocationsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInvocationsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeInvocationsWithCallback indicates an expected call of DescribeInvocationsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeInvocationsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInvocationsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeInvocationsWithCallback), arg0, arg1) +} + +// DescribeInvocationsWithChan mocks base method. +func (m *MockEcsClient) DescribeInvocationsWithChan(arg0 *ecs.DescribeInvocationsRequest) (<-chan *ecs.DescribeInvocationsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeInvocationsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeInvocationsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeInvocationsWithChan indicates an expected call of DescribeInvocationsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeInvocationsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeInvocationsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeInvocationsWithChan), arg0) +} + +// DescribeKeyPairs mocks base method. +func (m *MockEcsClient) DescribeKeyPairs(arg0 *ecs.DescribeKeyPairsRequest) (*ecs.DescribeKeyPairsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeKeyPairs", arg0) + ret0, _ := ret[0].(*ecs.DescribeKeyPairsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeKeyPairs indicates an expected call of DescribeKeyPairs. +func (mr *MockEcsClientMockRecorder) DescribeKeyPairs(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeKeyPairs", reflect.TypeOf((*MockEcsClient)(nil).DescribeKeyPairs), arg0) +} + +// DescribeKeyPairsWithCallback mocks base method. +func (m *MockEcsClient) DescribeKeyPairsWithCallback(arg0 *ecs.DescribeKeyPairsRequest, arg1 func(*ecs.DescribeKeyPairsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeKeyPairsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeKeyPairsWithCallback indicates an expected call of DescribeKeyPairsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeKeyPairsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeKeyPairsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeKeyPairsWithCallback), arg0, arg1) +} + +// DescribeKeyPairsWithChan mocks base method. +func (m *MockEcsClient) DescribeKeyPairsWithChan(arg0 *ecs.DescribeKeyPairsRequest) (<-chan *ecs.DescribeKeyPairsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeKeyPairsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeKeyPairsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeKeyPairsWithChan indicates an expected call of DescribeKeyPairsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeKeyPairsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeKeyPairsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeKeyPairsWithChan), arg0) +} + +// DescribeLaunchTemplateVersions mocks base method. +func (m *MockEcsClient) DescribeLaunchTemplateVersions(arg0 *ecs.DescribeLaunchTemplateVersionsRequest) (*ecs.DescribeLaunchTemplateVersionsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeLaunchTemplateVersions", arg0) + ret0, _ := ret[0].(*ecs.DescribeLaunchTemplateVersionsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeLaunchTemplateVersions indicates an expected call of DescribeLaunchTemplateVersions. +func (mr *MockEcsClientMockRecorder) DescribeLaunchTemplateVersions(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeLaunchTemplateVersions", reflect.TypeOf((*MockEcsClient)(nil).DescribeLaunchTemplateVersions), arg0) +} + +// DescribeLaunchTemplateVersionsWithCallback mocks base method. +func (m *MockEcsClient) DescribeLaunchTemplateVersionsWithCallback(arg0 *ecs.DescribeLaunchTemplateVersionsRequest, arg1 func(*ecs.DescribeLaunchTemplateVersionsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeLaunchTemplateVersionsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeLaunchTemplateVersionsWithCallback indicates an expected call of DescribeLaunchTemplateVersionsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeLaunchTemplateVersionsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeLaunchTemplateVersionsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeLaunchTemplateVersionsWithCallback), arg0, arg1) +} + +// DescribeLaunchTemplateVersionsWithChan mocks base method. +func (m *MockEcsClient) DescribeLaunchTemplateVersionsWithChan(arg0 *ecs.DescribeLaunchTemplateVersionsRequest) (<-chan *ecs.DescribeLaunchTemplateVersionsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeLaunchTemplateVersionsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeLaunchTemplateVersionsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeLaunchTemplateVersionsWithChan indicates an expected call of DescribeLaunchTemplateVersionsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeLaunchTemplateVersionsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeLaunchTemplateVersionsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeLaunchTemplateVersionsWithChan), arg0) +} + +// DescribeLaunchTemplates mocks base method. +func (m *MockEcsClient) DescribeLaunchTemplates(arg0 *ecs.DescribeLaunchTemplatesRequest) (*ecs.DescribeLaunchTemplatesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeLaunchTemplates", arg0) + ret0, _ := ret[0].(*ecs.DescribeLaunchTemplatesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeLaunchTemplates indicates an expected call of DescribeLaunchTemplates. +func (mr *MockEcsClientMockRecorder) DescribeLaunchTemplates(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeLaunchTemplates", reflect.TypeOf((*MockEcsClient)(nil).DescribeLaunchTemplates), arg0) +} + +// DescribeLaunchTemplatesWithCallback mocks base method. +func (m *MockEcsClient) DescribeLaunchTemplatesWithCallback(arg0 *ecs.DescribeLaunchTemplatesRequest, arg1 func(*ecs.DescribeLaunchTemplatesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeLaunchTemplatesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeLaunchTemplatesWithCallback indicates an expected call of DescribeLaunchTemplatesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeLaunchTemplatesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeLaunchTemplatesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeLaunchTemplatesWithCallback), arg0, arg1) +} + +// DescribeLaunchTemplatesWithChan mocks base method. +func (m *MockEcsClient) DescribeLaunchTemplatesWithChan(arg0 *ecs.DescribeLaunchTemplatesRequest) (<-chan *ecs.DescribeLaunchTemplatesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeLaunchTemplatesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeLaunchTemplatesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeLaunchTemplatesWithChan indicates an expected call of DescribeLaunchTemplatesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeLaunchTemplatesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeLaunchTemplatesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeLaunchTemplatesWithChan), arg0) +} + +// DescribeLimitation mocks base method. +func (m *MockEcsClient) DescribeLimitation(arg0 *ecs.DescribeLimitationRequest) (*ecs.DescribeLimitationResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeLimitation", arg0) + ret0, _ := ret[0].(*ecs.DescribeLimitationResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeLimitation indicates an expected call of DescribeLimitation. +func (mr *MockEcsClientMockRecorder) DescribeLimitation(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeLimitation", reflect.TypeOf((*MockEcsClient)(nil).DescribeLimitation), arg0) +} + +// DescribeLimitationWithCallback mocks base method. +func (m *MockEcsClient) DescribeLimitationWithCallback(arg0 *ecs.DescribeLimitationRequest, arg1 func(*ecs.DescribeLimitationResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeLimitationWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeLimitationWithCallback indicates an expected call of DescribeLimitationWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeLimitationWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeLimitationWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeLimitationWithCallback), arg0, arg1) +} + +// DescribeLimitationWithChan mocks base method. +func (m *MockEcsClient) DescribeLimitationWithChan(arg0 *ecs.DescribeLimitationRequest) (<-chan *ecs.DescribeLimitationResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeLimitationWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeLimitationResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeLimitationWithChan indicates an expected call of DescribeLimitationWithChan. +func (mr *MockEcsClientMockRecorder) DescribeLimitationWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeLimitationWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeLimitationWithChan), arg0) +} + +// DescribeManagedInstances mocks base method. +func (m *MockEcsClient) DescribeManagedInstances(arg0 *ecs.DescribeManagedInstancesRequest) (*ecs.DescribeManagedInstancesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeManagedInstances", arg0) + ret0, _ := ret[0].(*ecs.DescribeManagedInstancesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeManagedInstances indicates an expected call of DescribeManagedInstances. +func (mr *MockEcsClientMockRecorder) DescribeManagedInstances(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeManagedInstances", reflect.TypeOf((*MockEcsClient)(nil).DescribeManagedInstances), arg0) +} + +// DescribeManagedInstancesWithCallback mocks base method. +func (m *MockEcsClient) DescribeManagedInstancesWithCallback(arg0 *ecs.DescribeManagedInstancesRequest, arg1 func(*ecs.DescribeManagedInstancesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeManagedInstancesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeManagedInstancesWithCallback indicates an expected call of DescribeManagedInstancesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeManagedInstancesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeManagedInstancesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeManagedInstancesWithCallback), arg0, arg1) +} + +// DescribeManagedInstancesWithChan mocks base method. +func (m *MockEcsClient) DescribeManagedInstancesWithChan(arg0 *ecs.DescribeManagedInstancesRequest) (<-chan *ecs.DescribeManagedInstancesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeManagedInstancesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeManagedInstancesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeManagedInstancesWithChan indicates an expected call of DescribeManagedInstancesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeManagedInstancesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeManagedInstancesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeManagedInstancesWithChan), arg0) +} + +// DescribeNatGateways mocks base method. +func (m *MockEcsClient) DescribeNatGateways(arg0 *ecs.DescribeNatGatewaysRequest) (*ecs.DescribeNatGatewaysResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNatGateways", arg0) + ret0, _ := ret[0].(*ecs.DescribeNatGatewaysResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeNatGateways indicates an expected call of DescribeNatGateways. +func (mr *MockEcsClientMockRecorder) DescribeNatGateways(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNatGateways", reflect.TypeOf((*MockEcsClient)(nil).DescribeNatGateways), arg0) +} + +// DescribeNatGatewaysWithCallback mocks base method. +func (m *MockEcsClient) DescribeNatGatewaysWithCallback(arg0 *ecs.DescribeNatGatewaysRequest, arg1 func(*ecs.DescribeNatGatewaysResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNatGatewaysWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeNatGatewaysWithCallback indicates an expected call of DescribeNatGatewaysWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeNatGatewaysWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNatGatewaysWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeNatGatewaysWithCallback), arg0, arg1) +} + +// DescribeNatGatewaysWithChan mocks base method. +func (m *MockEcsClient) DescribeNatGatewaysWithChan(arg0 *ecs.DescribeNatGatewaysRequest) (<-chan *ecs.DescribeNatGatewaysResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNatGatewaysWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeNatGatewaysResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeNatGatewaysWithChan indicates an expected call of DescribeNatGatewaysWithChan. +func (mr *MockEcsClientMockRecorder) DescribeNatGatewaysWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNatGatewaysWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeNatGatewaysWithChan), arg0) +} + +// DescribeNetworkInterfaceAttribute mocks base method. +func (m *MockEcsClient) DescribeNetworkInterfaceAttribute(arg0 *ecs.DescribeNetworkInterfaceAttributeRequest) (*ecs.DescribeNetworkInterfaceAttributeResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNetworkInterfaceAttribute", arg0) + ret0, _ := ret[0].(*ecs.DescribeNetworkInterfaceAttributeResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeNetworkInterfaceAttribute indicates an expected call of DescribeNetworkInterfaceAttribute. +func (mr *MockEcsClientMockRecorder) DescribeNetworkInterfaceAttribute(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNetworkInterfaceAttribute", reflect.TypeOf((*MockEcsClient)(nil).DescribeNetworkInterfaceAttribute), arg0) +} + +// DescribeNetworkInterfaceAttributeWithCallback mocks base method. +func (m *MockEcsClient) DescribeNetworkInterfaceAttributeWithCallback(arg0 *ecs.DescribeNetworkInterfaceAttributeRequest, arg1 func(*ecs.DescribeNetworkInterfaceAttributeResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNetworkInterfaceAttributeWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeNetworkInterfaceAttributeWithCallback indicates an expected call of DescribeNetworkInterfaceAttributeWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeNetworkInterfaceAttributeWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNetworkInterfaceAttributeWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeNetworkInterfaceAttributeWithCallback), arg0, arg1) +} + +// DescribeNetworkInterfaceAttributeWithChan mocks base method. +func (m *MockEcsClient) DescribeNetworkInterfaceAttributeWithChan(arg0 *ecs.DescribeNetworkInterfaceAttributeRequest) (<-chan *ecs.DescribeNetworkInterfaceAttributeResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNetworkInterfaceAttributeWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeNetworkInterfaceAttributeResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeNetworkInterfaceAttributeWithChan indicates an expected call of DescribeNetworkInterfaceAttributeWithChan. +func (mr *MockEcsClientMockRecorder) DescribeNetworkInterfaceAttributeWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNetworkInterfaceAttributeWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeNetworkInterfaceAttributeWithChan), arg0) +} + +// DescribeNetworkInterfacePermissions mocks base method. +func (m *MockEcsClient) DescribeNetworkInterfacePermissions(arg0 *ecs.DescribeNetworkInterfacePermissionsRequest) (*ecs.DescribeNetworkInterfacePermissionsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNetworkInterfacePermissions", arg0) + ret0, _ := ret[0].(*ecs.DescribeNetworkInterfacePermissionsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeNetworkInterfacePermissions indicates an expected call of DescribeNetworkInterfacePermissions. +func (mr *MockEcsClientMockRecorder) DescribeNetworkInterfacePermissions(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNetworkInterfacePermissions", reflect.TypeOf((*MockEcsClient)(nil).DescribeNetworkInterfacePermissions), arg0) +} + +// DescribeNetworkInterfacePermissionsWithCallback mocks base method. +func (m *MockEcsClient) DescribeNetworkInterfacePermissionsWithCallback(arg0 *ecs.DescribeNetworkInterfacePermissionsRequest, arg1 func(*ecs.DescribeNetworkInterfacePermissionsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNetworkInterfacePermissionsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeNetworkInterfacePermissionsWithCallback indicates an expected call of DescribeNetworkInterfacePermissionsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeNetworkInterfacePermissionsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNetworkInterfacePermissionsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeNetworkInterfacePermissionsWithCallback), arg0, arg1) +} + +// DescribeNetworkInterfacePermissionsWithChan mocks base method. +func (m *MockEcsClient) DescribeNetworkInterfacePermissionsWithChan(arg0 *ecs.DescribeNetworkInterfacePermissionsRequest) (<-chan *ecs.DescribeNetworkInterfacePermissionsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNetworkInterfacePermissionsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeNetworkInterfacePermissionsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeNetworkInterfacePermissionsWithChan indicates an expected call of DescribeNetworkInterfacePermissionsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeNetworkInterfacePermissionsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNetworkInterfacePermissionsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeNetworkInterfacePermissionsWithChan), arg0) +} + +// DescribeNetworkInterfaces mocks base method. +func (m *MockEcsClient) DescribeNetworkInterfaces(arg0 *ecs.DescribeNetworkInterfacesRequest) (*ecs.DescribeNetworkInterfacesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNetworkInterfaces", arg0) + ret0, _ := ret[0].(*ecs.DescribeNetworkInterfacesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeNetworkInterfaces indicates an expected call of DescribeNetworkInterfaces. +func (mr *MockEcsClientMockRecorder) DescribeNetworkInterfaces(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNetworkInterfaces", reflect.TypeOf((*MockEcsClient)(nil).DescribeNetworkInterfaces), arg0) +} + +// DescribeNetworkInterfacesWithCallback mocks base method. +func (m *MockEcsClient) DescribeNetworkInterfacesWithCallback(arg0 *ecs.DescribeNetworkInterfacesRequest, arg1 func(*ecs.DescribeNetworkInterfacesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNetworkInterfacesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeNetworkInterfacesWithCallback indicates an expected call of DescribeNetworkInterfacesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeNetworkInterfacesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNetworkInterfacesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeNetworkInterfacesWithCallback), arg0, arg1) +} + +// DescribeNetworkInterfacesWithChan mocks base method. +func (m *MockEcsClient) DescribeNetworkInterfacesWithChan(arg0 *ecs.DescribeNetworkInterfacesRequest) (<-chan *ecs.DescribeNetworkInterfacesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNetworkInterfacesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeNetworkInterfacesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeNetworkInterfacesWithChan indicates an expected call of DescribeNetworkInterfacesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeNetworkInterfacesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNetworkInterfacesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeNetworkInterfacesWithChan), arg0) +} + +// DescribeNewProjectEipMonitorData mocks base method. +func (m *MockEcsClient) DescribeNewProjectEipMonitorData(arg0 *ecs.DescribeNewProjectEipMonitorDataRequest) (*ecs.DescribeNewProjectEipMonitorDataResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNewProjectEipMonitorData", arg0) + ret0, _ := ret[0].(*ecs.DescribeNewProjectEipMonitorDataResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeNewProjectEipMonitorData indicates an expected call of DescribeNewProjectEipMonitorData. +func (mr *MockEcsClientMockRecorder) DescribeNewProjectEipMonitorData(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNewProjectEipMonitorData", reflect.TypeOf((*MockEcsClient)(nil).DescribeNewProjectEipMonitorData), arg0) +} + +// DescribeNewProjectEipMonitorDataWithCallback mocks base method. +func (m *MockEcsClient) DescribeNewProjectEipMonitorDataWithCallback(arg0 *ecs.DescribeNewProjectEipMonitorDataRequest, arg1 func(*ecs.DescribeNewProjectEipMonitorDataResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNewProjectEipMonitorDataWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeNewProjectEipMonitorDataWithCallback indicates an expected call of DescribeNewProjectEipMonitorDataWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeNewProjectEipMonitorDataWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNewProjectEipMonitorDataWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeNewProjectEipMonitorDataWithCallback), arg0, arg1) +} + +// DescribeNewProjectEipMonitorDataWithChan mocks base method. +func (m *MockEcsClient) DescribeNewProjectEipMonitorDataWithChan(arg0 *ecs.DescribeNewProjectEipMonitorDataRequest) (<-chan *ecs.DescribeNewProjectEipMonitorDataResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeNewProjectEipMonitorDataWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeNewProjectEipMonitorDataResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeNewProjectEipMonitorDataWithChan indicates an expected call of DescribeNewProjectEipMonitorDataWithChan. +func (mr *MockEcsClientMockRecorder) DescribeNewProjectEipMonitorDataWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeNewProjectEipMonitorDataWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeNewProjectEipMonitorDataWithChan), arg0) +} + +// DescribePhysicalConnections mocks base method. +func (m *MockEcsClient) DescribePhysicalConnections(arg0 *ecs.DescribePhysicalConnectionsRequest) (*ecs.DescribePhysicalConnectionsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePhysicalConnections", arg0) + ret0, _ := ret[0].(*ecs.DescribePhysicalConnectionsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribePhysicalConnections indicates an expected call of DescribePhysicalConnections. +func (mr *MockEcsClientMockRecorder) DescribePhysicalConnections(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePhysicalConnections", reflect.TypeOf((*MockEcsClient)(nil).DescribePhysicalConnections), arg0) +} + +// DescribePhysicalConnectionsWithCallback mocks base method. +func (m *MockEcsClient) DescribePhysicalConnectionsWithCallback(arg0 *ecs.DescribePhysicalConnectionsRequest, arg1 func(*ecs.DescribePhysicalConnectionsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePhysicalConnectionsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribePhysicalConnectionsWithCallback indicates an expected call of DescribePhysicalConnectionsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribePhysicalConnectionsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePhysicalConnectionsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribePhysicalConnectionsWithCallback), arg0, arg1) +} + +// DescribePhysicalConnectionsWithChan mocks base method. +func (m *MockEcsClient) DescribePhysicalConnectionsWithChan(arg0 *ecs.DescribePhysicalConnectionsRequest) (<-chan *ecs.DescribePhysicalConnectionsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePhysicalConnectionsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribePhysicalConnectionsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribePhysicalConnectionsWithChan indicates an expected call of DescribePhysicalConnectionsWithChan. +func (mr *MockEcsClientMockRecorder) DescribePhysicalConnectionsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePhysicalConnectionsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribePhysicalConnectionsWithChan), arg0) +} + +// DescribePrefixListAssociations mocks base method. +func (m *MockEcsClient) DescribePrefixListAssociations(arg0 *ecs.DescribePrefixListAssociationsRequest) (*ecs.DescribePrefixListAssociationsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrefixListAssociations", arg0) + ret0, _ := ret[0].(*ecs.DescribePrefixListAssociationsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribePrefixListAssociations indicates an expected call of DescribePrefixListAssociations. +func (mr *MockEcsClientMockRecorder) DescribePrefixListAssociations(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrefixListAssociations", reflect.TypeOf((*MockEcsClient)(nil).DescribePrefixListAssociations), arg0) +} + +// DescribePrefixListAssociationsWithCallback mocks base method. +func (m *MockEcsClient) DescribePrefixListAssociationsWithCallback(arg0 *ecs.DescribePrefixListAssociationsRequest, arg1 func(*ecs.DescribePrefixListAssociationsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrefixListAssociationsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribePrefixListAssociationsWithCallback indicates an expected call of DescribePrefixListAssociationsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribePrefixListAssociationsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrefixListAssociationsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribePrefixListAssociationsWithCallback), arg0, arg1) +} + +// DescribePrefixListAssociationsWithChan mocks base method. +func (m *MockEcsClient) DescribePrefixListAssociationsWithChan(arg0 *ecs.DescribePrefixListAssociationsRequest) (<-chan *ecs.DescribePrefixListAssociationsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrefixListAssociationsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribePrefixListAssociationsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribePrefixListAssociationsWithChan indicates an expected call of DescribePrefixListAssociationsWithChan. +func (mr *MockEcsClientMockRecorder) DescribePrefixListAssociationsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrefixListAssociationsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribePrefixListAssociationsWithChan), arg0) +} + +// DescribePrefixListAttributes mocks base method. +func (m *MockEcsClient) DescribePrefixListAttributes(arg0 *ecs.DescribePrefixListAttributesRequest) (*ecs.DescribePrefixListAttributesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrefixListAttributes", arg0) + ret0, _ := ret[0].(*ecs.DescribePrefixListAttributesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribePrefixListAttributes indicates an expected call of DescribePrefixListAttributes. +func (mr *MockEcsClientMockRecorder) DescribePrefixListAttributes(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrefixListAttributes", reflect.TypeOf((*MockEcsClient)(nil).DescribePrefixListAttributes), arg0) +} + +// DescribePrefixListAttributesWithCallback mocks base method. +func (m *MockEcsClient) DescribePrefixListAttributesWithCallback(arg0 *ecs.DescribePrefixListAttributesRequest, arg1 func(*ecs.DescribePrefixListAttributesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrefixListAttributesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribePrefixListAttributesWithCallback indicates an expected call of DescribePrefixListAttributesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribePrefixListAttributesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrefixListAttributesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribePrefixListAttributesWithCallback), arg0, arg1) +} + +// DescribePrefixListAttributesWithChan mocks base method. +func (m *MockEcsClient) DescribePrefixListAttributesWithChan(arg0 *ecs.DescribePrefixListAttributesRequest) (<-chan *ecs.DescribePrefixListAttributesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrefixListAttributesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribePrefixListAttributesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribePrefixListAttributesWithChan indicates an expected call of DescribePrefixListAttributesWithChan. +func (mr *MockEcsClientMockRecorder) DescribePrefixListAttributesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrefixListAttributesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribePrefixListAttributesWithChan), arg0) +} + +// DescribePrefixLists mocks base method. +func (m *MockEcsClient) DescribePrefixLists(arg0 *ecs.DescribePrefixListsRequest) (*ecs.DescribePrefixListsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrefixLists", arg0) + ret0, _ := ret[0].(*ecs.DescribePrefixListsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribePrefixLists indicates an expected call of DescribePrefixLists. +func (mr *MockEcsClientMockRecorder) DescribePrefixLists(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrefixLists", reflect.TypeOf((*MockEcsClient)(nil).DescribePrefixLists), arg0) +} + +// DescribePrefixListsWithCallback mocks base method. +func (m *MockEcsClient) DescribePrefixListsWithCallback(arg0 *ecs.DescribePrefixListsRequest, arg1 func(*ecs.DescribePrefixListsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrefixListsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribePrefixListsWithCallback indicates an expected call of DescribePrefixListsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribePrefixListsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrefixListsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribePrefixListsWithCallback), arg0, arg1) +} + +// DescribePrefixListsWithChan mocks base method. +func (m *MockEcsClient) DescribePrefixListsWithChan(arg0 *ecs.DescribePrefixListsRequest) (<-chan *ecs.DescribePrefixListsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrefixListsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribePrefixListsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribePrefixListsWithChan indicates an expected call of DescribePrefixListsWithChan. +func (mr *MockEcsClientMockRecorder) DescribePrefixListsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrefixListsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribePrefixListsWithChan), arg0) +} + +// DescribePrice mocks base method. +func (m *MockEcsClient) DescribePrice(arg0 *ecs.DescribePriceRequest) (*ecs.DescribePriceResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePrice", arg0) + ret0, _ := ret[0].(*ecs.DescribePriceResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribePrice indicates an expected call of DescribePrice. +func (mr *MockEcsClientMockRecorder) DescribePrice(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePrice", reflect.TypeOf((*MockEcsClient)(nil).DescribePrice), arg0) +} + +// DescribePriceWithCallback mocks base method. +func (m *MockEcsClient) DescribePriceWithCallback(arg0 *ecs.DescribePriceRequest, arg1 func(*ecs.DescribePriceResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePriceWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribePriceWithCallback indicates an expected call of DescribePriceWithCallback. +func (mr *MockEcsClientMockRecorder) DescribePriceWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePriceWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribePriceWithCallback), arg0, arg1) +} + +// DescribePriceWithChan mocks base method. +func (m *MockEcsClient) DescribePriceWithChan(arg0 *ecs.DescribePriceRequest) (<-chan *ecs.DescribePriceResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribePriceWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribePriceResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribePriceWithChan indicates an expected call of DescribePriceWithChan. +func (mr *MockEcsClientMockRecorder) DescribePriceWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribePriceWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribePriceWithChan), arg0) +} + +// DescribeRecommendInstanceType mocks base method. +func (m *MockEcsClient) DescribeRecommendInstanceType(arg0 *ecs.DescribeRecommendInstanceTypeRequest) (*ecs.DescribeRecommendInstanceTypeResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRecommendInstanceType", arg0) + ret0, _ := ret[0].(*ecs.DescribeRecommendInstanceTypeResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeRecommendInstanceType indicates an expected call of DescribeRecommendInstanceType. +func (mr *MockEcsClientMockRecorder) DescribeRecommendInstanceType(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRecommendInstanceType", reflect.TypeOf((*MockEcsClient)(nil).DescribeRecommendInstanceType), arg0) +} + +// DescribeRecommendInstanceTypeWithCallback mocks base method. +func (m *MockEcsClient) DescribeRecommendInstanceTypeWithCallback(arg0 *ecs.DescribeRecommendInstanceTypeRequest, arg1 func(*ecs.DescribeRecommendInstanceTypeResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRecommendInstanceTypeWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeRecommendInstanceTypeWithCallback indicates an expected call of DescribeRecommendInstanceTypeWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeRecommendInstanceTypeWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRecommendInstanceTypeWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeRecommendInstanceTypeWithCallback), arg0, arg1) +} + +// DescribeRecommendInstanceTypeWithChan mocks base method. +func (m *MockEcsClient) DescribeRecommendInstanceTypeWithChan(arg0 *ecs.DescribeRecommendInstanceTypeRequest) (<-chan *ecs.DescribeRecommendInstanceTypeResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRecommendInstanceTypeWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeRecommendInstanceTypeResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeRecommendInstanceTypeWithChan indicates an expected call of DescribeRecommendInstanceTypeWithChan. +func (mr *MockEcsClientMockRecorder) DescribeRecommendInstanceTypeWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRecommendInstanceTypeWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeRecommendInstanceTypeWithChan), arg0) +} + +// DescribeRegions mocks base method. +func (m *MockEcsClient) DescribeRegions(arg0 *ecs.DescribeRegionsRequest) (*ecs.DescribeRegionsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRegions", arg0) + ret0, _ := ret[0].(*ecs.DescribeRegionsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeRegions indicates an expected call of DescribeRegions. +func (mr *MockEcsClientMockRecorder) DescribeRegions(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRegions", reflect.TypeOf((*MockEcsClient)(nil).DescribeRegions), arg0) +} + +// DescribeRegionsWithCallback mocks base method. +func (m *MockEcsClient) DescribeRegionsWithCallback(arg0 *ecs.DescribeRegionsRequest, arg1 func(*ecs.DescribeRegionsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRegionsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeRegionsWithCallback indicates an expected call of DescribeRegionsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeRegionsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRegionsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeRegionsWithCallback), arg0, arg1) +} + +// DescribeRegionsWithChan mocks base method. +func (m *MockEcsClient) DescribeRegionsWithChan(arg0 *ecs.DescribeRegionsRequest) (<-chan *ecs.DescribeRegionsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRegionsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeRegionsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeRegionsWithChan indicates an expected call of DescribeRegionsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeRegionsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRegionsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeRegionsWithChan), arg0) +} + +// DescribeRenewalPrice mocks base method. +func (m *MockEcsClient) DescribeRenewalPrice(arg0 *ecs.DescribeRenewalPriceRequest) (*ecs.DescribeRenewalPriceResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRenewalPrice", arg0) + ret0, _ := ret[0].(*ecs.DescribeRenewalPriceResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeRenewalPrice indicates an expected call of DescribeRenewalPrice. +func (mr *MockEcsClientMockRecorder) DescribeRenewalPrice(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRenewalPrice", reflect.TypeOf((*MockEcsClient)(nil).DescribeRenewalPrice), arg0) +} + +// DescribeRenewalPriceWithCallback mocks base method. +func (m *MockEcsClient) DescribeRenewalPriceWithCallback(arg0 *ecs.DescribeRenewalPriceRequest, arg1 func(*ecs.DescribeRenewalPriceResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRenewalPriceWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeRenewalPriceWithCallback indicates an expected call of DescribeRenewalPriceWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeRenewalPriceWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRenewalPriceWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeRenewalPriceWithCallback), arg0, arg1) +} + +// DescribeRenewalPriceWithChan mocks base method. +func (m *MockEcsClient) DescribeRenewalPriceWithChan(arg0 *ecs.DescribeRenewalPriceRequest) (<-chan *ecs.DescribeRenewalPriceResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRenewalPriceWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeRenewalPriceResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeRenewalPriceWithChan indicates an expected call of DescribeRenewalPriceWithChan. +func (mr *MockEcsClientMockRecorder) DescribeRenewalPriceWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRenewalPriceWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeRenewalPriceWithChan), arg0) +} + +// DescribeReservedInstances mocks base method. +func (m *MockEcsClient) DescribeReservedInstances(arg0 *ecs.DescribeReservedInstancesRequest) (*ecs.DescribeReservedInstancesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeReservedInstances", arg0) + ret0, _ := ret[0].(*ecs.DescribeReservedInstancesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeReservedInstances indicates an expected call of DescribeReservedInstances. +func (mr *MockEcsClientMockRecorder) DescribeReservedInstances(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeReservedInstances", reflect.TypeOf((*MockEcsClient)(nil).DescribeReservedInstances), arg0) +} + +// DescribeReservedInstancesWithCallback mocks base method. +func (m *MockEcsClient) DescribeReservedInstancesWithCallback(arg0 *ecs.DescribeReservedInstancesRequest, arg1 func(*ecs.DescribeReservedInstancesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeReservedInstancesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeReservedInstancesWithCallback indicates an expected call of DescribeReservedInstancesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeReservedInstancesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeReservedInstancesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeReservedInstancesWithCallback), arg0, arg1) +} + +// DescribeReservedInstancesWithChan mocks base method. +func (m *MockEcsClient) DescribeReservedInstancesWithChan(arg0 *ecs.DescribeReservedInstancesRequest) (<-chan *ecs.DescribeReservedInstancesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeReservedInstancesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeReservedInstancesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeReservedInstancesWithChan indicates an expected call of DescribeReservedInstancesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeReservedInstancesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeReservedInstancesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeReservedInstancesWithChan), arg0) +} + +// DescribeResourceByTags mocks base method. +func (m *MockEcsClient) DescribeResourceByTags(arg0 *ecs.DescribeResourceByTagsRequest) (*ecs.DescribeResourceByTagsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeResourceByTags", arg0) + ret0, _ := ret[0].(*ecs.DescribeResourceByTagsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeResourceByTags indicates an expected call of DescribeResourceByTags. +func (mr *MockEcsClientMockRecorder) DescribeResourceByTags(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeResourceByTags", reflect.TypeOf((*MockEcsClient)(nil).DescribeResourceByTags), arg0) +} + +// DescribeResourceByTagsWithCallback mocks base method. +func (m *MockEcsClient) DescribeResourceByTagsWithCallback(arg0 *ecs.DescribeResourceByTagsRequest, arg1 func(*ecs.DescribeResourceByTagsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeResourceByTagsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeResourceByTagsWithCallback indicates an expected call of DescribeResourceByTagsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeResourceByTagsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeResourceByTagsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeResourceByTagsWithCallback), arg0, arg1) +} + +// DescribeResourceByTagsWithChan mocks base method. +func (m *MockEcsClient) DescribeResourceByTagsWithChan(arg0 *ecs.DescribeResourceByTagsRequest) (<-chan *ecs.DescribeResourceByTagsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeResourceByTagsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeResourceByTagsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeResourceByTagsWithChan indicates an expected call of DescribeResourceByTagsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeResourceByTagsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeResourceByTagsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeResourceByTagsWithChan), arg0) +} + +// DescribeResourcesModification mocks base method. +func (m *MockEcsClient) DescribeResourcesModification(arg0 *ecs.DescribeResourcesModificationRequest) (*ecs.DescribeResourcesModificationResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeResourcesModification", arg0) + ret0, _ := ret[0].(*ecs.DescribeResourcesModificationResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeResourcesModification indicates an expected call of DescribeResourcesModification. +func (mr *MockEcsClientMockRecorder) DescribeResourcesModification(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeResourcesModification", reflect.TypeOf((*MockEcsClient)(nil).DescribeResourcesModification), arg0) +} + +// DescribeResourcesModificationWithCallback mocks base method. +func (m *MockEcsClient) DescribeResourcesModificationWithCallback(arg0 *ecs.DescribeResourcesModificationRequest, arg1 func(*ecs.DescribeResourcesModificationResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeResourcesModificationWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeResourcesModificationWithCallback indicates an expected call of DescribeResourcesModificationWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeResourcesModificationWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeResourcesModificationWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeResourcesModificationWithCallback), arg0, arg1) +} + +// DescribeResourcesModificationWithChan mocks base method. +func (m *MockEcsClient) DescribeResourcesModificationWithChan(arg0 *ecs.DescribeResourcesModificationRequest) (<-chan *ecs.DescribeResourcesModificationResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeResourcesModificationWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeResourcesModificationResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeResourcesModificationWithChan indicates an expected call of DescribeResourcesModificationWithChan. +func (mr *MockEcsClientMockRecorder) DescribeResourcesModificationWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeResourcesModificationWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeResourcesModificationWithChan), arg0) +} + +// DescribeRouteTables mocks base method. +func (m *MockEcsClient) DescribeRouteTables(arg0 *ecs.DescribeRouteTablesRequest) (*ecs.DescribeRouteTablesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRouteTables", arg0) + ret0, _ := ret[0].(*ecs.DescribeRouteTablesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeRouteTables indicates an expected call of DescribeRouteTables. +func (mr *MockEcsClientMockRecorder) DescribeRouteTables(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRouteTables", reflect.TypeOf((*MockEcsClient)(nil).DescribeRouteTables), arg0) +} + +// DescribeRouteTablesWithCallback mocks base method. +func (m *MockEcsClient) DescribeRouteTablesWithCallback(arg0 *ecs.DescribeRouteTablesRequest, arg1 func(*ecs.DescribeRouteTablesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRouteTablesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeRouteTablesWithCallback indicates an expected call of DescribeRouteTablesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeRouteTablesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRouteTablesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeRouteTablesWithCallback), arg0, arg1) +} + +// DescribeRouteTablesWithChan mocks base method. +func (m *MockEcsClient) DescribeRouteTablesWithChan(arg0 *ecs.DescribeRouteTablesRequest) (<-chan *ecs.DescribeRouteTablesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRouteTablesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeRouteTablesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeRouteTablesWithChan indicates an expected call of DescribeRouteTablesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeRouteTablesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRouteTablesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeRouteTablesWithChan), arg0) +} + +// DescribeRouterInterfaces mocks base method. +func (m *MockEcsClient) DescribeRouterInterfaces(arg0 *ecs.DescribeRouterInterfacesRequest) (*ecs.DescribeRouterInterfacesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRouterInterfaces", arg0) + ret0, _ := ret[0].(*ecs.DescribeRouterInterfacesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeRouterInterfaces indicates an expected call of DescribeRouterInterfaces. +func (mr *MockEcsClientMockRecorder) DescribeRouterInterfaces(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRouterInterfaces", reflect.TypeOf((*MockEcsClient)(nil).DescribeRouterInterfaces), arg0) +} + +// DescribeRouterInterfacesWithCallback mocks base method. +func (m *MockEcsClient) DescribeRouterInterfacesWithCallback(arg0 *ecs.DescribeRouterInterfacesRequest, arg1 func(*ecs.DescribeRouterInterfacesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRouterInterfacesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeRouterInterfacesWithCallback indicates an expected call of DescribeRouterInterfacesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeRouterInterfacesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRouterInterfacesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeRouterInterfacesWithCallback), arg0, arg1) +} + +// DescribeRouterInterfacesWithChan mocks base method. +func (m *MockEcsClient) DescribeRouterInterfacesWithChan(arg0 *ecs.DescribeRouterInterfacesRequest) (<-chan *ecs.DescribeRouterInterfacesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeRouterInterfacesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeRouterInterfacesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeRouterInterfacesWithChan indicates an expected call of DescribeRouterInterfacesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeRouterInterfacesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeRouterInterfacesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeRouterInterfacesWithChan), arg0) +} + +// DescribeSecurityGroupAttribute mocks base method. +func (m *MockEcsClient) DescribeSecurityGroupAttribute(arg0 *ecs.DescribeSecurityGroupAttributeRequest) (*ecs.DescribeSecurityGroupAttributeResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSecurityGroupAttribute", arg0) + ret0, _ := ret[0].(*ecs.DescribeSecurityGroupAttributeResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSecurityGroupAttribute indicates an expected call of DescribeSecurityGroupAttribute. +func (mr *MockEcsClientMockRecorder) DescribeSecurityGroupAttribute(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSecurityGroupAttribute", reflect.TypeOf((*MockEcsClient)(nil).DescribeSecurityGroupAttribute), arg0) +} + +// DescribeSecurityGroupAttributeWithCallback mocks base method. +func (m *MockEcsClient) DescribeSecurityGroupAttributeWithCallback(arg0 *ecs.DescribeSecurityGroupAttributeRequest, arg1 func(*ecs.DescribeSecurityGroupAttributeResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSecurityGroupAttributeWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSecurityGroupAttributeWithCallback indicates an expected call of DescribeSecurityGroupAttributeWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSecurityGroupAttributeWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSecurityGroupAttributeWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSecurityGroupAttributeWithCallback), arg0, arg1) +} + +// DescribeSecurityGroupAttributeWithChan mocks base method. +func (m *MockEcsClient) DescribeSecurityGroupAttributeWithChan(arg0 *ecs.DescribeSecurityGroupAttributeRequest) (<-chan *ecs.DescribeSecurityGroupAttributeResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSecurityGroupAttributeWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSecurityGroupAttributeResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSecurityGroupAttributeWithChan indicates an expected call of DescribeSecurityGroupAttributeWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSecurityGroupAttributeWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSecurityGroupAttributeWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSecurityGroupAttributeWithChan), arg0) +} + +// DescribeSecurityGroupReferences mocks base method. +func (m *MockEcsClient) DescribeSecurityGroupReferences(arg0 *ecs.DescribeSecurityGroupReferencesRequest) (*ecs.DescribeSecurityGroupReferencesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSecurityGroupReferences", arg0) + ret0, _ := ret[0].(*ecs.DescribeSecurityGroupReferencesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSecurityGroupReferences indicates an expected call of DescribeSecurityGroupReferences. +func (mr *MockEcsClientMockRecorder) DescribeSecurityGroupReferences(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSecurityGroupReferences", reflect.TypeOf((*MockEcsClient)(nil).DescribeSecurityGroupReferences), arg0) +} + +// DescribeSecurityGroupReferencesWithCallback mocks base method. +func (m *MockEcsClient) DescribeSecurityGroupReferencesWithCallback(arg0 *ecs.DescribeSecurityGroupReferencesRequest, arg1 func(*ecs.DescribeSecurityGroupReferencesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSecurityGroupReferencesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSecurityGroupReferencesWithCallback indicates an expected call of DescribeSecurityGroupReferencesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSecurityGroupReferencesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSecurityGroupReferencesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSecurityGroupReferencesWithCallback), arg0, arg1) +} + +// DescribeSecurityGroupReferencesWithChan mocks base method. +func (m *MockEcsClient) DescribeSecurityGroupReferencesWithChan(arg0 *ecs.DescribeSecurityGroupReferencesRequest) (<-chan *ecs.DescribeSecurityGroupReferencesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSecurityGroupReferencesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSecurityGroupReferencesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSecurityGroupReferencesWithChan indicates an expected call of DescribeSecurityGroupReferencesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSecurityGroupReferencesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSecurityGroupReferencesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSecurityGroupReferencesWithChan), arg0) +} + +// DescribeSecurityGroups mocks base method. +func (m *MockEcsClient) DescribeSecurityGroups(arg0 *ecs.DescribeSecurityGroupsRequest) (*ecs.DescribeSecurityGroupsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSecurityGroups", arg0) + ret0, _ := ret[0].(*ecs.DescribeSecurityGroupsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSecurityGroups indicates an expected call of DescribeSecurityGroups. +func (mr *MockEcsClientMockRecorder) DescribeSecurityGroups(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSecurityGroups", reflect.TypeOf((*MockEcsClient)(nil).DescribeSecurityGroups), arg0) +} + +// DescribeSecurityGroupsWithCallback mocks base method. +func (m *MockEcsClient) DescribeSecurityGroupsWithCallback(arg0 *ecs.DescribeSecurityGroupsRequest, arg1 func(*ecs.DescribeSecurityGroupsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSecurityGroupsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSecurityGroupsWithCallback indicates an expected call of DescribeSecurityGroupsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSecurityGroupsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSecurityGroupsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSecurityGroupsWithCallback), arg0, arg1) +} + +// DescribeSecurityGroupsWithChan mocks base method. +func (m *MockEcsClient) DescribeSecurityGroupsWithChan(arg0 *ecs.DescribeSecurityGroupsRequest) (<-chan *ecs.DescribeSecurityGroupsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSecurityGroupsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSecurityGroupsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSecurityGroupsWithChan indicates an expected call of DescribeSecurityGroupsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSecurityGroupsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSecurityGroupsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSecurityGroupsWithChan), arg0) +} + +// DescribeSendFileResults mocks base method. +func (m *MockEcsClient) DescribeSendFileResults(arg0 *ecs.DescribeSendFileResultsRequest) (*ecs.DescribeSendFileResultsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSendFileResults", arg0) + ret0, _ := ret[0].(*ecs.DescribeSendFileResultsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSendFileResults indicates an expected call of DescribeSendFileResults. +func (mr *MockEcsClientMockRecorder) DescribeSendFileResults(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSendFileResults", reflect.TypeOf((*MockEcsClient)(nil).DescribeSendFileResults), arg0) +} + +// DescribeSendFileResultsWithCallback mocks base method. +func (m *MockEcsClient) DescribeSendFileResultsWithCallback(arg0 *ecs.DescribeSendFileResultsRequest, arg1 func(*ecs.DescribeSendFileResultsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSendFileResultsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSendFileResultsWithCallback indicates an expected call of DescribeSendFileResultsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSendFileResultsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSendFileResultsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSendFileResultsWithCallback), arg0, arg1) +} + +// DescribeSendFileResultsWithChan mocks base method. +func (m *MockEcsClient) DescribeSendFileResultsWithChan(arg0 *ecs.DescribeSendFileResultsRequest) (<-chan *ecs.DescribeSendFileResultsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSendFileResultsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSendFileResultsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSendFileResultsWithChan indicates an expected call of DescribeSendFileResultsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSendFileResultsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSendFileResultsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSendFileResultsWithChan), arg0) +} + +// DescribeSnapshotGroups mocks base method. +func (m *MockEcsClient) DescribeSnapshotGroups(arg0 *ecs.DescribeSnapshotGroupsRequest) (*ecs.DescribeSnapshotGroupsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotGroups", arg0) + ret0, _ := ret[0].(*ecs.DescribeSnapshotGroupsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSnapshotGroups indicates an expected call of DescribeSnapshotGroups. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotGroups(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotGroups", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotGroups), arg0) +} + +// DescribeSnapshotGroupsWithCallback mocks base method. +func (m *MockEcsClient) DescribeSnapshotGroupsWithCallback(arg0 *ecs.DescribeSnapshotGroupsRequest, arg1 func(*ecs.DescribeSnapshotGroupsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotGroupsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSnapshotGroupsWithCallback indicates an expected call of DescribeSnapshotGroupsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotGroupsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotGroupsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotGroupsWithCallback), arg0, arg1) +} + +// DescribeSnapshotGroupsWithChan mocks base method. +func (m *MockEcsClient) DescribeSnapshotGroupsWithChan(arg0 *ecs.DescribeSnapshotGroupsRequest) (<-chan *ecs.DescribeSnapshotGroupsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotGroupsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSnapshotGroupsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSnapshotGroupsWithChan indicates an expected call of DescribeSnapshotGroupsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotGroupsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotGroupsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotGroupsWithChan), arg0) +} + +// DescribeSnapshotLinks mocks base method. +func (m *MockEcsClient) DescribeSnapshotLinks(arg0 *ecs.DescribeSnapshotLinksRequest) (*ecs.DescribeSnapshotLinksResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotLinks", arg0) + ret0, _ := ret[0].(*ecs.DescribeSnapshotLinksResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSnapshotLinks indicates an expected call of DescribeSnapshotLinks. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotLinks(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotLinks", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotLinks), arg0) +} + +// DescribeSnapshotLinksWithCallback mocks base method. +func (m *MockEcsClient) DescribeSnapshotLinksWithCallback(arg0 *ecs.DescribeSnapshotLinksRequest, arg1 func(*ecs.DescribeSnapshotLinksResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotLinksWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSnapshotLinksWithCallback indicates an expected call of DescribeSnapshotLinksWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotLinksWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotLinksWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotLinksWithCallback), arg0, arg1) +} + +// DescribeSnapshotLinksWithChan mocks base method. +func (m *MockEcsClient) DescribeSnapshotLinksWithChan(arg0 *ecs.DescribeSnapshotLinksRequest) (<-chan *ecs.DescribeSnapshotLinksResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotLinksWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSnapshotLinksResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSnapshotLinksWithChan indicates an expected call of DescribeSnapshotLinksWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotLinksWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotLinksWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotLinksWithChan), arg0) +} + +// DescribeSnapshotMonitorData mocks base method. +func (m *MockEcsClient) DescribeSnapshotMonitorData(arg0 *ecs.DescribeSnapshotMonitorDataRequest) (*ecs.DescribeSnapshotMonitorDataResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotMonitorData", arg0) + ret0, _ := ret[0].(*ecs.DescribeSnapshotMonitorDataResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSnapshotMonitorData indicates an expected call of DescribeSnapshotMonitorData. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotMonitorData(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotMonitorData", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotMonitorData), arg0) +} + +// DescribeSnapshotMonitorDataWithCallback mocks base method. +func (m *MockEcsClient) DescribeSnapshotMonitorDataWithCallback(arg0 *ecs.DescribeSnapshotMonitorDataRequest, arg1 func(*ecs.DescribeSnapshotMonitorDataResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotMonitorDataWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSnapshotMonitorDataWithCallback indicates an expected call of DescribeSnapshotMonitorDataWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotMonitorDataWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotMonitorDataWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotMonitorDataWithCallback), arg0, arg1) +} + +// DescribeSnapshotMonitorDataWithChan mocks base method. +func (m *MockEcsClient) DescribeSnapshotMonitorDataWithChan(arg0 *ecs.DescribeSnapshotMonitorDataRequest) (<-chan *ecs.DescribeSnapshotMonitorDataResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotMonitorDataWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSnapshotMonitorDataResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSnapshotMonitorDataWithChan indicates an expected call of DescribeSnapshotMonitorDataWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotMonitorDataWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotMonitorDataWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotMonitorDataWithChan), arg0) +} + +// DescribeSnapshotPackage mocks base method. +func (m *MockEcsClient) DescribeSnapshotPackage(arg0 *ecs.DescribeSnapshotPackageRequest) (*ecs.DescribeSnapshotPackageResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotPackage", arg0) + ret0, _ := ret[0].(*ecs.DescribeSnapshotPackageResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSnapshotPackage indicates an expected call of DescribeSnapshotPackage. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotPackage(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotPackage", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotPackage), arg0) +} + +// DescribeSnapshotPackageWithCallback mocks base method. +func (m *MockEcsClient) DescribeSnapshotPackageWithCallback(arg0 *ecs.DescribeSnapshotPackageRequest, arg1 func(*ecs.DescribeSnapshotPackageResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotPackageWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSnapshotPackageWithCallback indicates an expected call of DescribeSnapshotPackageWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotPackageWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotPackageWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotPackageWithCallback), arg0, arg1) +} + +// DescribeSnapshotPackageWithChan mocks base method. +func (m *MockEcsClient) DescribeSnapshotPackageWithChan(arg0 *ecs.DescribeSnapshotPackageRequest) (<-chan *ecs.DescribeSnapshotPackageResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotPackageWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSnapshotPackageResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSnapshotPackageWithChan indicates an expected call of DescribeSnapshotPackageWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotPackageWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotPackageWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotPackageWithChan), arg0) +} + +// DescribeSnapshots mocks base method. +func (m *MockEcsClient) DescribeSnapshots(arg0 *ecs.DescribeSnapshotsRequest) (*ecs.DescribeSnapshotsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshots", arg0) + ret0, _ := ret[0].(*ecs.DescribeSnapshotsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSnapshots indicates an expected call of DescribeSnapshots. +func (mr *MockEcsClientMockRecorder) DescribeSnapshots(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshots", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshots), arg0) +} + +// DescribeSnapshotsUsage mocks base method. +func (m *MockEcsClient) DescribeSnapshotsUsage(arg0 *ecs.DescribeSnapshotsUsageRequest) (*ecs.DescribeSnapshotsUsageResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotsUsage", arg0) + ret0, _ := ret[0].(*ecs.DescribeSnapshotsUsageResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSnapshotsUsage indicates an expected call of DescribeSnapshotsUsage. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotsUsage(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotsUsage", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotsUsage), arg0) +} + +// DescribeSnapshotsUsageWithCallback mocks base method. +func (m *MockEcsClient) DescribeSnapshotsUsageWithCallback(arg0 *ecs.DescribeSnapshotsUsageRequest, arg1 func(*ecs.DescribeSnapshotsUsageResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotsUsageWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSnapshotsUsageWithCallback indicates an expected call of DescribeSnapshotsUsageWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotsUsageWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotsUsageWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotsUsageWithCallback), arg0, arg1) +} + +// DescribeSnapshotsUsageWithChan mocks base method. +func (m *MockEcsClient) DescribeSnapshotsUsageWithChan(arg0 *ecs.DescribeSnapshotsUsageRequest) (<-chan *ecs.DescribeSnapshotsUsageResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotsUsageWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSnapshotsUsageResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSnapshotsUsageWithChan indicates an expected call of DescribeSnapshotsUsageWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotsUsageWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotsUsageWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotsUsageWithChan), arg0) +} + +// DescribeSnapshotsWithCallback mocks base method. +func (m *MockEcsClient) DescribeSnapshotsWithCallback(arg0 *ecs.DescribeSnapshotsRequest, arg1 func(*ecs.DescribeSnapshotsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSnapshotsWithCallback indicates an expected call of DescribeSnapshotsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotsWithCallback), arg0, arg1) +} + +// DescribeSnapshotsWithChan mocks base method. +func (m *MockEcsClient) DescribeSnapshotsWithChan(arg0 *ecs.DescribeSnapshotsRequest) (<-chan *ecs.DescribeSnapshotsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSnapshotsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSnapshotsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSnapshotsWithChan indicates an expected call of DescribeSnapshotsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSnapshotsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSnapshotsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSnapshotsWithChan), arg0) +} + +// DescribeSpotAdvice mocks base method. +func (m *MockEcsClient) DescribeSpotAdvice(arg0 *ecs.DescribeSpotAdviceRequest) (*ecs.DescribeSpotAdviceResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSpotAdvice", arg0) + ret0, _ := ret[0].(*ecs.DescribeSpotAdviceResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSpotAdvice indicates an expected call of DescribeSpotAdvice. +func (mr *MockEcsClientMockRecorder) DescribeSpotAdvice(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSpotAdvice", reflect.TypeOf((*MockEcsClient)(nil).DescribeSpotAdvice), arg0) +} + +// DescribeSpotAdviceWithCallback mocks base method. +func (m *MockEcsClient) DescribeSpotAdviceWithCallback(arg0 *ecs.DescribeSpotAdviceRequest, arg1 func(*ecs.DescribeSpotAdviceResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSpotAdviceWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSpotAdviceWithCallback indicates an expected call of DescribeSpotAdviceWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSpotAdviceWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSpotAdviceWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSpotAdviceWithCallback), arg0, arg1) +} + +// DescribeSpotAdviceWithChan mocks base method. +func (m *MockEcsClient) DescribeSpotAdviceWithChan(arg0 *ecs.DescribeSpotAdviceRequest) (<-chan *ecs.DescribeSpotAdviceResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSpotAdviceWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSpotAdviceResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSpotAdviceWithChan indicates an expected call of DescribeSpotAdviceWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSpotAdviceWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSpotAdviceWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSpotAdviceWithChan), arg0) +} + +// DescribeSpotPriceHistory mocks base method. +func (m *MockEcsClient) DescribeSpotPriceHistory(arg0 *ecs.DescribeSpotPriceHistoryRequest) (*ecs.DescribeSpotPriceHistoryResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSpotPriceHistory", arg0) + ret0, _ := ret[0].(*ecs.DescribeSpotPriceHistoryResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeSpotPriceHistory indicates an expected call of DescribeSpotPriceHistory. +func (mr *MockEcsClientMockRecorder) DescribeSpotPriceHistory(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSpotPriceHistory", reflect.TypeOf((*MockEcsClient)(nil).DescribeSpotPriceHistory), arg0) +} + +// DescribeSpotPriceHistoryWithCallback mocks base method. +func (m *MockEcsClient) DescribeSpotPriceHistoryWithCallback(arg0 *ecs.DescribeSpotPriceHistoryRequest, arg1 func(*ecs.DescribeSpotPriceHistoryResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSpotPriceHistoryWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeSpotPriceHistoryWithCallback indicates an expected call of DescribeSpotPriceHistoryWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeSpotPriceHistoryWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSpotPriceHistoryWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeSpotPriceHistoryWithCallback), arg0, arg1) +} + +// DescribeSpotPriceHistoryWithChan mocks base method. +func (m *MockEcsClient) DescribeSpotPriceHistoryWithChan(arg0 *ecs.DescribeSpotPriceHistoryRequest) (<-chan *ecs.DescribeSpotPriceHistoryResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeSpotPriceHistoryWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeSpotPriceHistoryResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeSpotPriceHistoryWithChan indicates an expected call of DescribeSpotPriceHistoryWithChan. +func (mr *MockEcsClientMockRecorder) DescribeSpotPriceHistoryWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeSpotPriceHistoryWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeSpotPriceHistoryWithChan), arg0) +} + +// DescribeStorageCapacityUnits mocks base method. +func (m *MockEcsClient) DescribeStorageCapacityUnits(arg0 *ecs.DescribeStorageCapacityUnitsRequest) (*ecs.DescribeStorageCapacityUnitsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeStorageCapacityUnits", arg0) + ret0, _ := ret[0].(*ecs.DescribeStorageCapacityUnitsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeStorageCapacityUnits indicates an expected call of DescribeStorageCapacityUnits. +func (mr *MockEcsClientMockRecorder) DescribeStorageCapacityUnits(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStorageCapacityUnits", reflect.TypeOf((*MockEcsClient)(nil).DescribeStorageCapacityUnits), arg0) +} + +// DescribeStorageCapacityUnitsWithCallback mocks base method. +func (m *MockEcsClient) DescribeStorageCapacityUnitsWithCallback(arg0 *ecs.DescribeStorageCapacityUnitsRequest, arg1 func(*ecs.DescribeStorageCapacityUnitsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeStorageCapacityUnitsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeStorageCapacityUnitsWithCallback indicates an expected call of DescribeStorageCapacityUnitsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeStorageCapacityUnitsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStorageCapacityUnitsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeStorageCapacityUnitsWithCallback), arg0, arg1) +} + +// DescribeStorageCapacityUnitsWithChan mocks base method. +func (m *MockEcsClient) DescribeStorageCapacityUnitsWithChan(arg0 *ecs.DescribeStorageCapacityUnitsRequest) (<-chan *ecs.DescribeStorageCapacityUnitsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeStorageCapacityUnitsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeStorageCapacityUnitsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeStorageCapacityUnitsWithChan indicates an expected call of DescribeStorageCapacityUnitsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeStorageCapacityUnitsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStorageCapacityUnitsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeStorageCapacityUnitsWithChan), arg0) +} + +// DescribeStorageSetDetails mocks base method. +func (m *MockEcsClient) DescribeStorageSetDetails(arg0 *ecs.DescribeStorageSetDetailsRequest) (*ecs.DescribeStorageSetDetailsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeStorageSetDetails", arg0) + ret0, _ := ret[0].(*ecs.DescribeStorageSetDetailsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeStorageSetDetails indicates an expected call of DescribeStorageSetDetails. +func (mr *MockEcsClientMockRecorder) DescribeStorageSetDetails(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStorageSetDetails", reflect.TypeOf((*MockEcsClient)(nil).DescribeStorageSetDetails), arg0) +} + +// DescribeStorageSetDetailsWithCallback mocks base method. +func (m *MockEcsClient) DescribeStorageSetDetailsWithCallback(arg0 *ecs.DescribeStorageSetDetailsRequest, arg1 func(*ecs.DescribeStorageSetDetailsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeStorageSetDetailsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeStorageSetDetailsWithCallback indicates an expected call of DescribeStorageSetDetailsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeStorageSetDetailsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStorageSetDetailsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeStorageSetDetailsWithCallback), arg0, arg1) +} + +// DescribeStorageSetDetailsWithChan mocks base method. +func (m *MockEcsClient) DescribeStorageSetDetailsWithChan(arg0 *ecs.DescribeStorageSetDetailsRequest) (<-chan *ecs.DescribeStorageSetDetailsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeStorageSetDetailsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeStorageSetDetailsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeStorageSetDetailsWithChan indicates an expected call of DescribeStorageSetDetailsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeStorageSetDetailsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStorageSetDetailsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeStorageSetDetailsWithChan), arg0) +} + +// DescribeStorageSets mocks base method. +func (m *MockEcsClient) DescribeStorageSets(arg0 *ecs.DescribeStorageSetsRequest) (*ecs.DescribeStorageSetsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeStorageSets", arg0) + ret0, _ := ret[0].(*ecs.DescribeStorageSetsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeStorageSets indicates an expected call of DescribeStorageSets. +func (mr *MockEcsClientMockRecorder) DescribeStorageSets(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStorageSets", reflect.TypeOf((*MockEcsClient)(nil).DescribeStorageSets), arg0) +} + +// DescribeStorageSetsWithCallback mocks base method. +func (m *MockEcsClient) DescribeStorageSetsWithCallback(arg0 *ecs.DescribeStorageSetsRequest, arg1 func(*ecs.DescribeStorageSetsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeStorageSetsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeStorageSetsWithCallback indicates an expected call of DescribeStorageSetsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeStorageSetsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStorageSetsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeStorageSetsWithCallback), arg0, arg1) +} + +// DescribeStorageSetsWithChan mocks base method. +func (m *MockEcsClient) DescribeStorageSetsWithChan(arg0 *ecs.DescribeStorageSetsRequest) (<-chan *ecs.DescribeStorageSetsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeStorageSetsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeStorageSetsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeStorageSetsWithChan indicates an expected call of DescribeStorageSetsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeStorageSetsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeStorageSetsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeStorageSetsWithChan), arg0) +} + +// DescribeTags mocks base method. +func (m *MockEcsClient) DescribeTags(arg0 *ecs.DescribeTagsRequest) (*ecs.DescribeTagsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTags", arg0) + ret0, _ := ret[0].(*ecs.DescribeTagsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeTags indicates an expected call of DescribeTags. +func (mr *MockEcsClientMockRecorder) DescribeTags(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTags", reflect.TypeOf((*MockEcsClient)(nil).DescribeTags), arg0) +} + +// DescribeTagsWithCallback mocks base method. +func (m *MockEcsClient) DescribeTagsWithCallback(arg0 *ecs.DescribeTagsRequest, arg1 func(*ecs.DescribeTagsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTagsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeTagsWithCallback indicates an expected call of DescribeTagsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeTagsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTagsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeTagsWithCallback), arg0, arg1) +} + +// DescribeTagsWithChan mocks base method. +func (m *MockEcsClient) DescribeTagsWithChan(arg0 *ecs.DescribeTagsRequest) (<-chan *ecs.DescribeTagsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTagsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeTagsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeTagsWithChan indicates an expected call of DescribeTagsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeTagsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTagsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeTagsWithChan), arg0) +} + +// DescribeTaskAttribute mocks base method. +func (m *MockEcsClient) DescribeTaskAttribute(arg0 *ecs.DescribeTaskAttributeRequest) (*ecs.DescribeTaskAttributeResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTaskAttribute", arg0) + ret0, _ := ret[0].(*ecs.DescribeTaskAttributeResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeTaskAttribute indicates an expected call of DescribeTaskAttribute. +func (mr *MockEcsClientMockRecorder) DescribeTaskAttribute(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTaskAttribute", reflect.TypeOf((*MockEcsClient)(nil).DescribeTaskAttribute), arg0) +} + +// DescribeTaskAttributeWithCallback mocks base method. +func (m *MockEcsClient) DescribeTaskAttributeWithCallback(arg0 *ecs.DescribeTaskAttributeRequest, arg1 func(*ecs.DescribeTaskAttributeResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTaskAttributeWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeTaskAttributeWithCallback indicates an expected call of DescribeTaskAttributeWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeTaskAttributeWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTaskAttributeWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeTaskAttributeWithCallback), arg0, arg1) +} + +// DescribeTaskAttributeWithChan mocks base method. +func (m *MockEcsClient) DescribeTaskAttributeWithChan(arg0 *ecs.DescribeTaskAttributeRequest) (<-chan *ecs.DescribeTaskAttributeResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTaskAttributeWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeTaskAttributeResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeTaskAttributeWithChan indicates an expected call of DescribeTaskAttributeWithChan. +func (mr *MockEcsClientMockRecorder) DescribeTaskAttributeWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTaskAttributeWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeTaskAttributeWithChan), arg0) +} + +// DescribeTasks mocks base method. +func (m *MockEcsClient) DescribeTasks(arg0 *ecs.DescribeTasksRequest) (*ecs.DescribeTasksResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTasks", arg0) + ret0, _ := ret[0].(*ecs.DescribeTasksResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeTasks indicates an expected call of DescribeTasks. +func (mr *MockEcsClientMockRecorder) DescribeTasks(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTasks", reflect.TypeOf((*MockEcsClient)(nil).DescribeTasks), arg0) +} + +// DescribeTasksWithCallback mocks base method. +func (m *MockEcsClient) DescribeTasksWithCallback(arg0 *ecs.DescribeTasksRequest, arg1 func(*ecs.DescribeTasksResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTasksWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeTasksWithCallback indicates an expected call of DescribeTasksWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeTasksWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTasksWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeTasksWithCallback), arg0, arg1) +} + +// DescribeTasksWithChan mocks base method. +func (m *MockEcsClient) DescribeTasksWithChan(arg0 *ecs.DescribeTasksRequest) (<-chan *ecs.DescribeTasksResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeTasksWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeTasksResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeTasksWithChan indicates an expected call of DescribeTasksWithChan. +func (mr *MockEcsClientMockRecorder) DescribeTasksWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeTasksWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeTasksWithChan), arg0) +} + +// DescribeUserBusinessBehavior mocks base method. +func (m *MockEcsClient) DescribeUserBusinessBehavior(arg0 *ecs.DescribeUserBusinessBehaviorRequest) (*ecs.DescribeUserBusinessBehaviorResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeUserBusinessBehavior", arg0) + ret0, _ := ret[0].(*ecs.DescribeUserBusinessBehaviorResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeUserBusinessBehavior indicates an expected call of DescribeUserBusinessBehavior. +func (mr *MockEcsClientMockRecorder) DescribeUserBusinessBehavior(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeUserBusinessBehavior", reflect.TypeOf((*MockEcsClient)(nil).DescribeUserBusinessBehavior), arg0) +} + +// DescribeUserBusinessBehaviorWithCallback mocks base method. +func (m *MockEcsClient) DescribeUserBusinessBehaviorWithCallback(arg0 *ecs.DescribeUserBusinessBehaviorRequest, arg1 func(*ecs.DescribeUserBusinessBehaviorResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeUserBusinessBehaviorWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeUserBusinessBehaviorWithCallback indicates an expected call of DescribeUserBusinessBehaviorWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeUserBusinessBehaviorWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeUserBusinessBehaviorWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeUserBusinessBehaviorWithCallback), arg0, arg1) +} + +// DescribeUserBusinessBehaviorWithChan mocks base method. +func (m *MockEcsClient) DescribeUserBusinessBehaviorWithChan(arg0 *ecs.DescribeUserBusinessBehaviorRequest) (<-chan *ecs.DescribeUserBusinessBehaviorResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeUserBusinessBehaviorWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeUserBusinessBehaviorResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeUserBusinessBehaviorWithChan indicates an expected call of DescribeUserBusinessBehaviorWithChan. +func (mr *MockEcsClientMockRecorder) DescribeUserBusinessBehaviorWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeUserBusinessBehaviorWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeUserBusinessBehaviorWithChan), arg0) +} + +// DescribeUserData mocks base method. +func (m *MockEcsClient) DescribeUserData(arg0 *ecs.DescribeUserDataRequest) (*ecs.DescribeUserDataResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeUserData", arg0) + ret0, _ := ret[0].(*ecs.DescribeUserDataResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeUserData indicates an expected call of DescribeUserData. +func (mr *MockEcsClientMockRecorder) DescribeUserData(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeUserData", reflect.TypeOf((*MockEcsClient)(nil).DescribeUserData), arg0) +} + +// DescribeUserDataWithCallback mocks base method. +func (m *MockEcsClient) DescribeUserDataWithCallback(arg0 *ecs.DescribeUserDataRequest, arg1 func(*ecs.DescribeUserDataResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeUserDataWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeUserDataWithCallback indicates an expected call of DescribeUserDataWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeUserDataWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeUserDataWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeUserDataWithCallback), arg0, arg1) +} + +// DescribeUserDataWithChan mocks base method. +func (m *MockEcsClient) DescribeUserDataWithChan(arg0 *ecs.DescribeUserDataRequest) (<-chan *ecs.DescribeUserDataResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeUserDataWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeUserDataResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeUserDataWithChan indicates an expected call of DescribeUserDataWithChan. +func (mr *MockEcsClientMockRecorder) DescribeUserDataWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeUserDataWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeUserDataWithChan), arg0) +} + +// DescribeVRouters mocks base method. +func (m *MockEcsClient) DescribeVRouters(arg0 *ecs.DescribeVRoutersRequest) (*ecs.DescribeVRoutersResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVRouters", arg0) + ret0, _ := ret[0].(*ecs.DescribeVRoutersResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeVRouters indicates an expected call of DescribeVRouters. +func (mr *MockEcsClientMockRecorder) DescribeVRouters(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVRouters", reflect.TypeOf((*MockEcsClient)(nil).DescribeVRouters), arg0) +} + +// DescribeVRoutersWithCallback mocks base method. +func (m *MockEcsClient) DescribeVRoutersWithCallback(arg0 *ecs.DescribeVRoutersRequest, arg1 func(*ecs.DescribeVRoutersResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVRoutersWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeVRoutersWithCallback indicates an expected call of DescribeVRoutersWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeVRoutersWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVRoutersWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeVRoutersWithCallback), arg0, arg1) +} + +// DescribeVRoutersWithChan mocks base method. +func (m *MockEcsClient) DescribeVRoutersWithChan(arg0 *ecs.DescribeVRoutersRequest) (<-chan *ecs.DescribeVRoutersResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVRoutersWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeVRoutersResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeVRoutersWithChan indicates an expected call of DescribeVRoutersWithChan. +func (mr *MockEcsClientMockRecorder) DescribeVRoutersWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVRoutersWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeVRoutersWithChan), arg0) +} + +// DescribeVSwitches mocks base method. +func (m *MockEcsClient) DescribeVSwitches(arg0 *ecs.DescribeVSwitchesRequest) (*ecs.DescribeVSwitchesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVSwitches", arg0) + ret0, _ := ret[0].(*ecs.DescribeVSwitchesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeVSwitches indicates an expected call of DescribeVSwitches. +func (mr *MockEcsClientMockRecorder) DescribeVSwitches(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVSwitches", reflect.TypeOf((*MockEcsClient)(nil).DescribeVSwitches), arg0) +} + +// DescribeVSwitchesWithCallback mocks base method. +func (m *MockEcsClient) DescribeVSwitchesWithCallback(arg0 *ecs.DescribeVSwitchesRequest, arg1 func(*ecs.DescribeVSwitchesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVSwitchesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeVSwitchesWithCallback indicates an expected call of DescribeVSwitchesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeVSwitchesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVSwitchesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeVSwitchesWithCallback), arg0, arg1) +} + +// DescribeVSwitchesWithChan mocks base method. +func (m *MockEcsClient) DescribeVSwitchesWithChan(arg0 *ecs.DescribeVSwitchesRequest) (<-chan *ecs.DescribeVSwitchesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVSwitchesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeVSwitchesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeVSwitchesWithChan indicates an expected call of DescribeVSwitchesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeVSwitchesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVSwitchesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeVSwitchesWithChan), arg0) +} + +// DescribeVirtualBorderRouters mocks base method. +func (m *MockEcsClient) DescribeVirtualBorderRouters(arg0 *ecs.DescribeVirtualBorderRoutersRequest) (*ecs.DescribeVirtualBorderRoutersResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVirtualBorderRouters", arg0) + ret0, _ := ret[0].(*ecs.DescribeVirtualBorderRoutersResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeVirtualBorderRouters indicates an expected call of DescribeVirtualBorderRouters. +func (mr *MockEcsClientMockRecorder) DescribeVirtualBorderRouters(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVirtualBorderRouters", reflect.TypeOf((*MockEcsClient)(nil).DescribeVirtualBorderRouters), arg0) +} + +// DescribeVirtualBorderRoutersForPhysicalConnection mocks base method. +func (m *MockEcsClient) DescribeVirtualBorderRoutersForPhysicalConnection(arg0 *ecs.DescribeVirtualBorderRoutersForPhysicalConnectionRequest) (*ecs.DescribeVirtualBorderRoutersForPhysicalConnectionResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVirtualBorderRoutersForPhysicalConnection", arg0) + ret0, _ := ret[0].(*ecs.DescribeVirtualBorderRoutersForPhysicalConnectionResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeVirtualBorderRoutersForPhysicalConnection indicates an expected call of DescribeVirtualBorderRoutersForPhysicalConnection. +func (mr *MockEcsClientMockRecorder) DescribeVirtualBorderRoutersForPhysicalConnection(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVirtualBorderRoutersForPhysicalConnection", reflect.TypeOf((*MockEcsClient)(nil).DescribeVirtualBorderRoutersForPhysicalConnection), arg0) +} + +// DescribeVirtualBorderRoutersForPhysicalConnectionWithCallback mocks base method. +func (m *MockEcsClient) DescribeVirtualBorderRoutersForPhysicalConnectionWithCallback(arg0 *ecs.DescribeVirtualBorderRoutersForPhysicalConnectionRequest, arg1 func(*ecs.DescribeVirtualBorderRoutersForPhysicalConnectionResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVirtualBorderRoutersForPhysicalConnectionWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeVirtualBorderRoutersForPhysicalConnectionWithCallback indicates an expected call of DescribeVirtualBorderRoutersForPhysicalConnectionWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeVirtualBorderRoutersForPhysicalConnectionWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVirtualBorderRoutersForPhysicalConnectionWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeVirtualBorderRoutersForPhysicalConnectionWithCallback), arg0, arg1) +} + +// DescribeVirtualBorderRoutersForPhysicalConnectionWithChan mocks base method. +func (m *MockEcsClient) DescribeVirtualBorderRoutersForPhysicalConnectionWithChan(arg0 *ecs.DescribeVirtualBorderRoutersForPhysicalConnectionRequest) (<-chan *ecs.DescribeVirtualBorderRoutersForPhysicalConnectionResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVirtualBorderRoutersForPhysicalConnectionWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeVirtualBorderRoutersForPhysicalConnectionResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeVirtualBorderRoutersForPhysicalConnectionWithChan indicates an expected call of DescribeVirtualBorderRoutersForPhysicalConnectionWithChan. +func (mr *MockEcsClientMockRecorder) DescribeVirtualBorderRoutersForPhysicalConnectionWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVirtualBorderRoutersForPhysicalConnectionWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeVirtualBorderRoutersForPhysicalConnectionWithChan), arg0) +} + +// DescribeVirtualBorderRoutersWithCallback mocks base method. +func (m *MockEcsClient) DescribeVirtualBorderRoutersWithCallback(arg0 *ecs.DescribeVirtualBorderRoutersRequest, arg1 func(*ecs.DescribeVirtualBorderRoutersResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVirtualBorderRoutersWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeVirtualBorderRoutersWithCallback indicates an expected call of DescribeVirtualBorderRoutersWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeVirtualBorderRoutersWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVirtualBorderRoutersWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeVirtualBorderRoutersWithCallback), arg0, arg1) +} + +// DescribeVirtualBorderRoutersWithChan mocks base method. +func (m *MockEcsClient) DescribeVirtualBorderRoutersWithChan(arg0 *ecs.DescribeVirtualBorderRoutersRequest) (<-chan *ecs.DescribeVirtualBorderRoutersResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVirtualBorderRoutersWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeVirtualBorderRoutersResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeVirtualBorderRoutersWithChan indicates an expected call of DescribeVirtualBorderRoutersWithChan. +func (mr *MockEcsClientMockRecorder) DescribeVirtualBorderRoutersWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVirtualBorderRoutersWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeVirtualBorderRoutersWithChan), arg0) +} + +// DescribeVpcs mocks base method. +func (m *MockEcsClient) DescribeVpcs(arg0 *ecs.DescribeVpcsRequest) (*ecs.DescribeVpcsResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVpcs", arg0) + ret0, _ := ret[0].(*ecs.DescribeVpcsResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeVpcs indicates an expected call of DescribeVpcs. +func (mr *MockEcsClientMockRecorder) DescribeVpcs(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVpcs", reflect.TypeOf((*MockEcsClient)(nil).DescribeVpcs), arg0) +} + +// DescribeVpcsWithCallback mocks base method. +func (m *MockEcsClient) DescribeVpcsWithCallback(arg0 *ecs.DescribeVpcsRequest, arg1 func(*ecs.DescribeVpcsResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVpcsWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeVpcsWithCallback indicates an expected call of DescribeVpcsWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeVpcsWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVpcsWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeVpcsWithCallback), arg0, arg1) +} + +// DescribeVpcsWithChan mocks base method. +func (m *MockEcsClient) DescribeVpcsWithChan(arg0 *ecs.DescribeVpcsRequest) (<-chan *ecs.DescribeVpcsResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeVpcsWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeVpcsResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeVpcsWithChan indicates an expected call of DescribeVpcsWithChan. +func (mr *MockEcsClientMockRecorder) DescribeVpcsWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeVpcsWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeVpcsWithChan), arg0) +} + +// DescribeZones mocks base method. +func (m *MockEcsClient) DescribeZones(arg0 *ecs.DescribeZonesRequest) (*ecs.DescribeZonesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeZones", arg0) + ret0, _ := ret[0].(*ecs.DescribeZonesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// DescribeZones indicates an expected call of DescribeZones. +func (mr *MockEcsClientMockRecorder) DescribeZones(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeZones", reflect.TypeOf((*MockEcsClient)(nil).DescribeZones), arg0) +} + +// DescribeZonesWithCallback mocks base method. +func (m *MockEcsClient) DescribeZonesWithCallback(arg0 *ecs.DescribeZonesRequest, arg1 func(*ecs.DescribeZonesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeZonesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// DescribeZonesWithCallback indicates an expected call of DescribeZonesWithCallback. +func (mr *MockEcsClientMockRecorder) DescribeZonesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeZonesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).DescribeZonesWithCallback), arg0, arg1) +} + +// DescribeZonesWithChan mocks base method. +func (m *MockEcsClient) DescribeZonesWithChan(arg0 *ecs.DescribeZonesRequest) (<-chan *ecs.DescribeZonesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "DescribeZonesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.DescribeZonesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// DescribeZonesWithChan indicates an expected call of DescribeZonesWithChan. +func (mr *MockEcsClientMockRecorder) DescribeZonesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DescribeZonesWithChan", reflect.TypeOf((*MockEcsClient)(nil).DescribeZonesWithChan), arg0) +} + +// GetCloseTrace mocks base method. +func (m *MockEcsClient) GetCloseTrace() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetCloseTrace") + ret0, _ := ret[0].(bool) + return ret0 +} + +// GetCloseTrace indicates an expected call of GetCloseTrace. +func (mr *MockEcsClientMockRecorder) GetCloseTrace() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCloseTrace", reflect.TypeOf((*MockEcsClient)(nil).GetCloseTrace)) +} + +// GetEndpointRules mocks base method. +func (m *MockEcsClient) GetEndpointRules(arg0, arg1 string) (string, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetEndpointRules", arg0, arg1) + ret0, _ := ret[0].(string) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetEndpointRules indicates an expected call of GetEndpointRules. +func (mr *MockEcsClientMockRecorder) GetEndpointRules(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEndpointRules", reflect.TypeOf((*MockEcsClient)(nil).GetEndpointRules), arg0, arg1) +} + +// GetHTTPSInsecure mocks base method. +func (m *MockEcsClient) GetHTTPSInsecure() bool { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetHTTPSInsecure") + ret0, _ := ret[0].(bool) + return ret0 +} + +// GetHTTPSInsecure indicates an expected call of GetHTTPSInsecure. +func (mr *MockEcsClientMockRecorder) GetHTTPSInsecure() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHTTPSInsecure", reflect.TypeOf((*MockEcsClient)(nil).GetHTTPSInsecure)) +} + +// GetHttpProxy mocks base method. +func (m *MockEcsClient) GetHttpProxy() string { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetHttpProxy") + ret0, _ := ret[0].(string) + return ret0 +} + +// GetHttpProxy indicates an expected call of GetHttpProxy. +func (mr *MockEcsClientMockRecorder) GetHttpProxy() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHttpProxy", reflect.TypeOf((*MockEcsClient)(nil).GetHttpProxy)) +} + +// GetHttpsProxy mocks base method. +func (m *MockEcsClient) GetHttpsProxy() string { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetHttpsProxy") + ret0, _ := ret[0].(string) + return ret0 +} + +// GetHttpsProxy indicates an expected call of GetHttpsProxy. +func (mr *MockEcsClientMockRecorder) GetHttpsProxy() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetHttpsProxy", reflect.TypeOf((*MockEcsClient)(nil).GetHttpsProxy)) +} + +// GetInstanceConsoleOutput mocks base method. +func (m *MockEcsClient) GetInstanceConsoleOutput(arg0 *ecs.GetInstanceConsoleOutputRequest) (*ecs.GetInstanceConsoleOutputResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetInstanceConsoleOutput", arg0) + ret0, _ := ret[0].(*ecs.GetInstanceConsoleOutputResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetInstanceConsoleOutput indicates an expected call of GetInstanceConsoleOutput. +func (mr *MockEcsClientMockRecorder) GetInstanceConsoleOutput(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInstanceConsoleOutput", reflect.TypeOf((*MockEcsClient)(nil).GetInstanceConsoleOutput), arg0) +} + +// GetInstanceConsoleOutputWithCallback mocks base method. +func (m *MockEcsClient) GetInstanceConsoleOutputWithCallback(arg0 *ecs.GetInstanceConsoleOutputRequest, arg1 func(*ecs.GetInstanceConsoleOutputResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetInstanceConsoleOutputWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// GetInstanceConsoleOutputWithCallback indicates an expected call of GetInstanceConsoleOutputWithCallback. +func (mr *MockEcsClientMockRecorder) GetInstanceConsoleOutputWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInstanceConsoleOutputWithCallback", reflect.TypeOf((*MockEcsClient)(nil).GetInstanceConsoleOutputWithCallback), arg0, arg1) +} + +// GetInstanceConsoleOutputWithChan mocks base method. +func (m *MockEcsClient) GetInstanceConsoleOutputWithChan(arg0 *ecs.GetInstanceConsoleOutputRequest) (<-chan *ecs.GetInstanceConsoleOutputResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetInstanceConsoleOutputWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.GetInstanceConsoleOutputResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// GetInstanceConsoleOutputWithChan indicates an expected call of GetInstanceConsoleOutputWithChan. +func (mr *MockEcsClientMockRecorder) GetInstanceConsoleOutputWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInstanceConsoleOutputWithChan", reflect.TypeOf((*MockEcsClient)(nil).GetInstanceConsoleOutputWithChan), arg0) +} + +// GetInstanceScreenshot mocks base method. +func (m *MockEcsClient) GetInstanceScreenshot(arg0 *ecs.GetInstanceScreenshotRequest) (*ecs.GetInstanceScreenshotResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetInstanceScreenshot", arg0) + ret0, _ := ret[0].(*ecs.GetInstanceScreenshotResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// GetInstanceScreenshot indicates an expected call of GetInstanceScreenshot. +func (mr *MockEcsClientMockRecorder) GetInstanceScreenshot(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInstanceScreenshot", reflect.TypeOf((*MockEcsClient)(nil).GetInstanceScreenshot), arg0) +} + +// GetInstanceScreenshotWithCallback mocks base method. +func (m *MockEcsClient) GetInstanceScreenshotWithCallback(arg0 *ecs.GetInstanceScreenshotRequest, arg1 func(*ecs.GetInstanceScreenshotResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetInstanceScreenshotWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// GetInstanceScreenshotWithCallback indicates an expected call of GetInstanceScreenshotWithCallback. +func (mr *MockEcsClientMockRecorder) GetInstanceScreenshotWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInstanceScreenshotWithCallback", reflect.TypeOf((*MockEcsClient)(nil).GetInstanceScreenshotWithCallback), arg0, arg1) +} + +// GetInstanceScreenshotWithChan mocks base method. +func (m *MockEcsClient) GetInstanceScreenshotWithChan(arg0 *ecs.GetInstanceScreenshotRequest) (<-chan *ecs.GetInstanceScreenshotResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetInstanceScreenshotWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.GetInstanceScreenshotResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// GetInstanceScreenshotWithChan indicates an expected call of GetInstanceScreenshotWithChan. +func (mr *MockEcsClientMockRecorder) GetInstanceScreenshotWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetInstanceScreenshotWithChan", reflect.TypeOf((*MockEcsClient)(nil).GetInstanceScreenshotWithChan), arg0) +} + +// GetLoggerMsg mocks base method. +func (m *MockEcsClient) GetLoggerMsg() string { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetLoggerMsg") + ret0, _ := ret[0].(string) + return ret0 +} + +// GetLoggerMsg indicates an expected call of GetLoggerMsg. +func (mr *MockEcsClientMockRecorder) GetLoggerMsg() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLoggerMsg", reflect.TypeOf((*MockEcsClient)(nil).GetLoggerMsg)) +} + +// GetNoProxy mocks base method. +func (m *MockEcsClient) GetNoProxy() string { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetNoProxy") + ret0, _ := ret[0].(string) + return ret0 +} + +// GetNoProxy indicates an expected call of GetNoProxy. +func (mr *MockEcsClientMockRecorder) GetNoProxy() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetNoProxy", reflect.TypeOf((*MockEcsClient)(nil).GetNoProxy)) +} + +// GetTemplate mocks base method. +func (m *MockEcsClient) GetTemplate() string { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "GetTemplate") + ret0, _ := ret[0].(string) + return ret0 +} + +// GetTemplate indicates an expected call of GetTemplate. +func (mr *MockEcsClientMockRecorder) GetTemplate() *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetTemplate", reflect.TypeOf((*MockEcsClient)(nil).GetTemplate)) +} + +// ListPluginStatus mocks base method. +func (m *MockEcsClient) ListPluginStatus(arg0 *ecs.ListPluginStatusRequest) (*ecs.ListPluginStatusResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListPluginStatus", arg0) + ret0, _ := ret[0].(*ecs.ListPluginStatusResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListPluginStatus indicates an expected call of ListPluginStatus. +func (mr *MockEcsClientMockRecorder) ListPluginStatus(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPluginStatus", reflect.TypeOf((*MockEcsClient)(nil).ListPluginStatus), arg0) +} + +// ListPluginStatusWithCallback mocks base method. +func (m *MockEcsClient) ListPluginStatusWithCallback(arg0 *ecs.ListPluginStatusRequest, arg1 func(*ecs.ListPluginStatusResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListPluginStatusWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// ListPluginStatusWithCallback indicates an expected call of ListPluginStatusWithCallback. +func (mr *MockEcsClientMockRecorder) ListPluginStatusWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPluginStatusWithCallback", reflect.TypeOf((*MockEcsClient)(nil).ListPluginStatusWithCallback), arg0, arg1) +} + +// ListPluginStatusWithChan mocks base method. +func (m *MockEcsClient) ListPluginStatusWithChan(arg0 *ecs.ListPluginStatusRequest) (<-chan *ecs.ListPluginStatusResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListPluginStatusWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.ListPluginStatusResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// ListPluginStatusWithChan indicates an expected call of ListPluginStatusWithChan. +func (mr *MockEcsClientMockRecorder) ListPluginStatusWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListPluginStatusWithChan", reflect.TypeOf((*MockEcsClient)(nil).ListPluginStatusWithChan), arg0) +} + +// ListTagResources mocks base method. +func (m *MockEcsClient) ListTagResources(arg0 *ecs.ListTagResourcesRequest) (*ecs.ListTagResourcesResponse, error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListTagResources", arg0) + ret0, _ := ret[0].(*ecs.ListTagResourcesResponse) + ret1, _ := ret[1].(error) + return ret0, ret1 +} + +// ListTagResources indicates an expected call of ListTagResources. +func (mr *MockEcsClientMockRecorder) ListTagResources(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagResources", reflect.TypeOf((*MockEcsClient)(nil).ListTagResources), arg0) +} + +// ListTagResourcesWithCallback mocks base method. +func (m *MockEcsClient) ListTagResourcesWithCallback(arg0 *ecs.ListTagResourcesRequest, arg1 func(*ecs.ListTagResourcesResponse, error)) <-chan int { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListTagResourcesWithCallback", arg0, arg1) + ret0, _ := ret[0].(<-chan int) + return ret0 +} + +// ListTagResourcesWithCallback indicates an expected call of ListTagResourcesWithCallback. +func (mr *MockEcsClientMockRecorder) ListTagResourcesWithCallback(arg0, arg1 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagResourcesWithCallback", reflect.TypeOf((*MockEcsClient)(nil).ListTagResourcesWithCallback), arg0, arg1) +} + +// ListTagResourcesWithChan mocks base method. +func (m *MockEcsClient) ListTagResourcesWithChan(arg0 *ecs.ListTagResourcesRequest) (<-chan *ecs.ListTagResourcesResponse, <-chan error) { + m.ctrl.T.Helper() + ret := m.ctrl.Call(m, "ListTagResourcesWithChan", arg0) + ret0, _ := ret[0].(<-chan *ecs.ListTagResourcesResponse) + ret1, _ := ret[1].(<-chan error) + return ret0, ret1 +} + +// ListTagResourcesWithChan indicates an expected call of ListTagResourcesWithChan. +func (mr *MockEcsClientMockRecorder) ListTagResourcesWithChan(arg0 interface{}) *gomock.Call { + mr.mock.ctrl.T.Helper() + return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListTagResourcesWithChan", reflect.TypeOf((*MockEcsClient)(nil).ListTagResourcesWithChan), arg0) +} diff --git a/plugins/source/alicloud/client/multiplexers.go b/plugins/source/alicloud/client/multiplexers.go index a6b6782b0de50d..8eddba51408721 100644 --- a/plugins/source/alicloud/client/multiplexers.go +++ b/plugins/source/alicloud/client/multiplexers.go @@ -1,6 +1,7 @@ package client import ( + "fmt" "sort" "github.com/cloudquery/plugin-sdk/schema" @@ -34,13 +35,19 @@ func AccountMultiplex(meta schema.ClientMeta) []schema.ClientMeta { return l } -func AccountRegionMultiplex(meta schema.ClientMeta) []schema.ClientMeta { - var l = make([]schema.ClientMeta, 0) - client := meta.(*Client) - for accountID, account := range client.services { - for region := range account { - l = append(l, client.WithAccountIDAndRegion(accountID, region)) +func ServiceAccountRegionMultiplexer(service string) func(meta schema.ClientMeta) []schema.ClientMeta { + return func(meta schema.ClientMeta) []schema.ClientMeta { + var l = make([]schema.ClientMeta, 0) + client := meta.(*Client) + for accountID := range client.services { + if regions, ok := ServiceRegions[service]; ok { + for _, region := range regions { + l = append(l, client.WithAccountIDAndRegion(accountID, region)) + } + } else { + panic(fmt.Sprintf("service %s is not supported. Add it to client/service_regions.go", service)) + } } + return l } - return l } diff --git a/plugins/source/alicloud/client/resolvers.go b/plugins/source/alicloud/client/resolvers.go new file mode 100644 index 00000000000000..cb3b8444e9fa8c --- /dev/null +++ b/plugins/source/alicloud/client/resolvers.go @@ -0,0 +1,17 @@ +package client + +import ( + "context" + + "github.com/cloudquery/plugin-sdk/schema" +) + +func ResolveAccount(_ context.Context, meta schema.ClientMeta, r *schema.Resource, _ schema.Column) error { + client := meta.(*Client) + return r.Set("account_id", client.AccountID) +} + +func ResolveRegion(_ context.Context, meta schema.ClientMeta, r *schema.Resource, _ schema.Column) error { + client := meta.(*Client) + return r.Set("region", client.Region) +} diff --git a/plugins/source/alicloud/client/service_regions.go b/plugins/source/alicloud/client/service_regions.go new file mode 100644 index 00000000000000..943793350a2673 --- /dev/null +++ b/plugins/source/alicloud/client/service_regions.go @@ -0,0 +1,38 @@ +package client + +const ServiceECS = "ecs" + +// ServiceRegions maps service name to a list of regions where the service is available. +// Extracted from https://api.aliyun.com/#/region +var ServiceRegions = map[string][]string{ + ServiceECS: { + "cn-hangzhou", + "cn-qingdao", + "cn-beijing", + "cn-zhangjiakou", + "cn-huhehaote", + "cn-shanghai", + "cn-shenzhen", + "cn-hongkong", + "ap-southeast-1", + "ap-southeast-2", + "ap-southeast-3", + "ap-southeast-5", + "ap-northeast-1", + "eu-west-1", + "us-west-1", + "us-east-1", + "eu-central-1", + "me-east-1", + "ap-south-1", + "cn-shanghai-finance-1", + "cn-shenzhen-finance-1", + "cn-chengdu", + "cn-heyuan", + "cn-wulanchabu", + "rus-west-1", + "cn-guangzhou", + "ap-southeast-6", + "cn-nanjing", + }, +} diff --git a/plugins/source/alicloud/client/services.go b/plugins/source/alicloud/client/services.go index 7d65c1bc40bd81..16b5a2dc2a2351 100644 --- a/plugins/source/alicloud/client/services.go +++ b/plugins/source/alicloud/client/services.go @@ -11,6 +11,7 @@ import ( type Services struct { OSS services.OssClient BSS services.BssopenapiClient + ECS services.EcsClient } func initServices(account AccountSpec, region string) (*Services, error) { diff --git a/plugins/source/alicloud/client/services/ecs.go b/plugins/source/alicloud/client/services/ecs.go new file mode 100644 index 00000000000000..cfa6708d2c9a0d --- /dev/null +++ b/plugins/source/alicloud/client/services/ecs.go @@ -0,0 +1,366 @@ +// Code generated by codegen; DO NOT EDIT. +package services + +import ( + "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" +) + +//go:generate mockgen -package=mocks -destination=../mocks/ecs.go -source=ecs.go EcsClient +type EcsClient interface { + DescribeAccessPoints(*ecs.DescribeAccessPointsRequest) (*ecs.DescribeAccessPointsResponse, error) + DescribeAccessPointsWithCallback(*ecs.DescribeAccessPointsRequest, func(*ecs.DescribeAccessPointsResponse, error)) <-chan int + DescribeAccessPointsWithChan(*ecs.DescribeAccessPointsRequest) (<-chan *ecs.DescribeAccessPointsResponse, <-chan error) + DescribeAccountAttributes(*ecs.DescribeAccountAttributesRequest) (*ecs.DescribeAccountAttributesResponse, error) + DescribeAccountAttributesWithCallback(*ecs.DescribeAccountAttributesRequest, func(*ecs.DescribeAccountAttributesResponse, error)) <-chan int + DescribeAccountAttributesWithChan(*ecs.DescribeAccountAttributesRequest) (<-chan *ecs.DescribeAccountAttributesResponse, <-chan error) + DescribeActivations(*ecs.DescribeActivationsRequest) (*ecs.DescribeActivationsResponse, error) + DescribeActivationsWithCallback(*ecs.DescribeActivationsRequest, func(*ecs.DescribeActivationsResponse, error)) <-chan int + DescribeActivationsWithChan(*ecs.DescribeActivationsRequest) (<-chan *ecs.DescribeActivationsResponse, <-chan error) + DescribeAutoProvisioningGroupHistory(*ecs.DescribeAutoProvisioningGroupHistoryRequest) (*ecs.DescribeAutoProvisioningGroupHistoryResponse, error) + DescribeAutoProvisioningGroupHistoryWithCallback(*ecs.DescribeAutoProvisioningGroupHistoryRequest, func(*ecs.DescribeAutoProvisioningGroupHistoryResponse, error)) <-chan int + DescribeAutoProvisioningGroupHistoryWithChan(*ecs.DescribeAutoProvisioningGroupHistoryRequest) (<-chan *ecs.DescribeAutoProvisioningGroupHistoryResponse, <-chan error) + DescribeAutoProvisioningGroupInstances(*ecs.DescribeAutoProvisioningGroupInstancesRequest) (*ecs.DescribeAutoProvisioningGroupInstancesResponse, error) + DescribeAutoProvisioningGroupInstancesWithCallback(*ecs.DescribeAutoProvisioningGroupInstancesRequest, func(*ecs.DescribeAutoProvisioningGroupInstancesResponse, error)) <-chan int + DescribeAutoProvisioningGroupInstancesWithChan(*ecs.DescribeAutoProvisioningGroupInstancesRequest) (<-chan *ecs.DescribeAutoProvisioningGroupInstancesResponse, <-chan error) + DescribeAutoProvisioningGroups(*ecs.DescribeAutoProvisioningGroupsRequest) (*ecs.DescribeAutoProvisioningGroupsResponse, error) + DescribeAutoProvisioningGroupsWithCallback(*ecs.DescribeAutoProvisioningGroupsRequest, func(*ecs.DescribeAutoProvisioningGroupsResponse, error)) <-chan int + DescribeAutoProvisioningGroupsWithChan(*ecs.DescribeAutoProvisioningGroupsRequest) (<-chan *ecs.DescribeAutoProvisioningGroupsResponse, <-chan error) + DescribeAutoSnapshotPolicyEx(*ecs.DescribeAutoSnapshotPolicyExRequest) (*ecs.DescribeAutoSnapshotPolicyExResponse, error) + DescribeAutoSnapshotPolicyExWithCallback(*ecs.DescribeAutoSnapshotPolicyExRequest, func(*ecs.DescribeAutoSnapshotPolicyExResponse, error)) <-chan int + DescribeAutoSnapshotPolicyExWithChan(*ecs.DescribeAutoSnapshotPolicyExRequest) (<-chan *ecs.DescribeAutoSnapshotPolicyExResponse, <-chan error) + DescribeAvailableResource(*ecs.DescribeAvailableResourceRequest) (*ecs.DescribeAvailableResourceResponse, error) + DescribeAvailableResourceWithCallback(*ecs.DescribeAvailableResourceRequest, func(*ecs.DescribeAvailableResourceResponse, error)) <-chan int + DescribeAvailableResourceWithChan(*ecs.DescribeAvailableResourceRequest) (<-chan *ecs.DescribeAvailableResourceResponse, <-chan error) + DescribeBandwidthLimitation(*ecs.DescribeBandwidthLimitationRequest) (*ecs.DescribeBandwidthLimitationResponse, error) + DescribeBandwidthLimitationWithCallback(*ecs.DescribeBandwidthLimitationRequest, func(*ecs.DescribeBandwidthLimitationResponse, error)) <-chan int + DescribeBandwidthLimitationWithChan(*ecs.DescribeBandwidthLimitationRequest) (<-chan *ecs.DescribeBandwidthLimitationResponse, <-chan error) + DescribeBandwidthPackages(*ecs.DescribeBandwidthPackagesRequest) (*ecs.DescribeBandwidthPackagesResponse, error) + DescribeBandwidthPackagesWithCallback(*ecs.DescribeBandwidthPackagesRequest, func(*ecs.DescribeBandwidthPackagesResponse, error)) <-chan int + DescribeBandwidthPackagesWithChan(*ecs.DescribeBandwidthPackagesRequest) (<-chan *ecs.DescribeBandwidthPackagesResponse, <-chan error) + DescribeCapacityReservationInstances(*ecs.DescribeCapacityReservationInstancesRequest) (*ecs.DescribeCapacityReservationInstancesResponse, error) + DescribeCapacityReservationInstancesWithCallback(*ecs.DescribeCapacityReservationInstancesRequest, func(*ecs.DescribeCapacityReservationInstancesResponse, error)) <-chan int + DescribeCapacityReservationInstancesWithChan(*ecs.DescribeCapacityReservationInstancesRequest) (<-chan *ecs.DescribeCapacityReservationInstancesResponse, <-chan error) + DescribeCapacityReservations(*ecs.DescribeCapacityReservationsRequest) (*ecs.DescribeCapacityReservationsResponse, error) + DescribeCapacityReservationsWithCallback(*ecs.DescribeCapacityReservationsRequest, func(*ecs.DescribeCapacityReservationsResponse, error)) <-chan int + DescribeCapacityReservationsWithChan(*ecs.DescribeCapacityReservationsRequest) (<-chan *ecs.DescribeCapacityReservationsResponse, <-chan error) + DescribeClassicLinkInstances(*ecs.DescribeClassicLinkInstancesRequest) (*ecs.DescribeClassicLinkInstancesResponse, error) + DescribeClassicLinkInstancesWithCallback(*ecs.DescribeClassicLinkInstancesRequest, func(*ecs.DescribeClassicLinkInstancesResponse, error)) <-chan int + DescribeClassicLinkInstancesWithChan(*ecs.DescribeClassicLinkInstancesRequest) (<-chan *ecs.DescribeClassicLinkInstancesResponse, <-chan error) + DescribeCloudAssistantStatus(*ecs.DescribeCloudAssistantStatusRequest) (*ecs.DescribeCloudAssistantStatusResponse, error) + DescribeCloudAssistantStatusWithCallback(*ecs.DescribeCloudAssistantStatusRequest, func(*ecs.DescribeCloudAssistantStatusResponse, error)) <-chan int + DescribeCloudAssistantStatusWithChan(*ecs.DescribeCloudAssistantStatusRequest) (<-chan *ecs.DescribeCloudAssistantStatusResponse, <-chan error) + DescribeClusters(*ecs.DescribeClustersRequest) (*ecs.DescribeClustersResponse, error) + DescribeClustersWithCallback(*ecs.DescribeClustersRequest, func(*ecs.DescribeClustersResponse, error)) <-chan int + DescribeClustersWithChan(*ecs.DescribeClustersRequest) (<-chan *ecs.DescribeClustersResponse, <-chan error) + DescribeCommands(*ecs.DescribeCommandsRequest) (*ecs.DescribeCommandsResponse, error) + DescribeCommandsWithCallback(*ecs.DescribeCommandsRequest, func(*ecs.DescribeCommandsResponse, error)) <-chan int + DescribeCommandsWithChan(*ecs.DescribeCommandsRequest) (<-chan *ecs.DescribeCommandsResponse, <-chan error) + DescribeDedicatedBlockStorageClusters(*ecs.DescribeDedicatedBlockStorageClustersRequest) (*ecs.DescribeDedicatedBlockStorageClustersResponse, error) + DescribeDedicatedBlockStorageClustersWithCallback(*ecs.DescribeDedicatedBlockStorageClustersRequest, func(*ecs.DescribeDedicatedBlockStorageClustersResponse, error)) <-chan int + DescribeDedicatedBlockStorageClustersWithChan(*ecs.DescribeDedicatedBlockStorageClustersRequest) (<-chan *ecs.DescribeDedicatedBlockStorageClustersResponse, <-chan error) + DescribeDedicatedHostAutoRenew(*ecs.DescribeDedicatedHostAutoRenewRequest) (*ecs.DescribeDedicatedHostAutoRenewResponse, error) + DescribeDedicatedHostAutoRenewWithCallback(*ecs.DescribeDedicatedHostAutoRenewRequest, func(*ecs.DescribeDedicatedHostAutoRenewResponse, error)) <-chan int + DescribeDedicatedHostAutoRenewWithChan(*ecs.DescribeDedicatedHostAutoRenewRequest) (<-chan *ecs.DescribeDedicatedHostAutoRenewResponse, <-chan error) + DescribeDedicatedHostClusters(*ecs.DescribeDedicatedHostClustersRequest) (*ecs.DescribeDedicatedHostClustersResponse, error) + DescribeDedicatedHostClustersWithCallback(*ecs.DescribeDedicatedHostClustersRequest, func(*ecs.DescribeDedicatedHostClustersResponse, error)) <-chan int + DescribeDedicatedHostClustersWithChan(*ecs.DescribeDedicatedHostClustersRequest) (<-chan *ecs.DescribeDedicatedHostClustersResponse, <-chan error) + DescribeDedicatedHostTypes(*ecs.DescribeDedicatedHostTypesRequest) (*ecs.DescribeDedicatedHostTypesResponse, error) + DescribeDedicatedHostTypesWithCallback(*ecs.DescribeDedicatedHostTypesRequest, func(*ecs.DescribeDedicatedHostTypesResponse, error)) <-chan int + DescribeDedicatedHostTypesWithChan(*ecs.DescribeDedicatedHostTypesRequest) (<-chan *ecs.DescribeDedicatedHostTypesResponse, <-chan error) + DescribeDedicatedHosts(*ecs.DescribeDedicatedHostsRequest) (*ecs.DescribeDedicatedHostsResponse, error) + DescribeDedicatedHostsWithCallback(*ecs.DescribeDedicatedHostsRequest, func(*ecs.DescribeDedicatedHostsResponse, error)) <-chan int + DescribeDedicatedHostsWithChan(*ecs.DescribeDedicatedHostsRequest) (<-chan *ecs.DescribeDedicatedHostsResponse, <-chan error) + DescribeDemands(*ecs.DescribeDemandsRequest) (*ecs.DescribeDemandsResponse, error) + DescribeDemandsWithCallback(*ecs.DescribeDemandsRequest, func(*ecs.DescribeDemandsResponse, error)) <-chan int + DescribeDemandsWithChan(*ecs.DescribeDemandsRequest) (<-chan *ecs.DescribeDemandsResponse, <-chan error) + DescribeDeploymentSetSupportedInstanceTypeFamily(*ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyRequest) (*ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyResponse, error) + DescribeDeploymentSetSupportedInstanceTypeFamilyWithCallback(*ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyRequest, func(*ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyResponse, error)) <-chan int + DescribeDeploymentSetSupportedInstanceTypeFamilyWithChan(*ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyRequest) (<-chan *ecs.DescribeDeploymentSetSupportedInstanceTypeFamilyResponse, <-chan error) + DescribeDeploymentSets(*ecs.DescribeDeploymentSetsRequest) (*ecs.DescribeDeploymentSetsResponse, error) + DescribeDeploymentSetsWithCallback(*ecs.DescribeDeploymentSetsRequest, func(*ecs.DescribeDeploymentSetsResponse, error)) <-chan int + DescribeDeploymentSetsWithChan(*ecs.DescribeDeploymentSetsRequest) (<-chan *ecs.DescribeDeploymentSetsResponse, <-chan error) + DescribeDiagnosticMetricSets(*ecs.DescribeDiagnosticMetricSetsRequest) (*ecs.DescribeDiagnosticMetricSetsResponse, error) + DescribeDiagnosticMetricSetsWithCallback(*ecs.DescribeDiagnosticMetricSetsRequest, func(*ecs.DescribeDiagnosticMetricSetsResponse, error)) <-chan int + DescribeDiagnosticMetricSetsWithChan(*ecs.DescribeDiagnosticMetricSetsRequest) (<-chan *ecs.DescribeDiagnosticMetricSetsResponse, <-chan error) + DescribeDiagnosticMetrics(*ecs.DescribeDiagnosticMetricsRequest) (*ecs.DescribeDiagnosticMetricsResponse, error) + DescribeDiagnosticMetricsWithCallback(*ecs.DescribeDiagnosticMetricsRequest, func(*ecs.DescribeDiagnosticMetricsResponse, error)) <-chan int + DescribeDiagnosticMetricsWithChan(*ecs.DescribeDiagnosticMetricsRequest) (<-chan *ecs.DescribeDiagnosticMetricsResponse, <-chan error) + DescribeDiagnosticReports(*ecs.DescribeDiagnosticReportsRequest) (*ecs.DescribeDiagnosticReportsResponse, error) + DescribeDiagnosticReportsWithCallback(*ecs.DescribeDiagnosticReportsRequest, func(*ecs.DescribeDiagnosticReportsResponse, error)) <-chan int + DescribeDiagnosticReportsWithChan(*ecs.DescribeDiagnosticReportsRequest) (<-chan *ecs.DescribeDiagnosticReportsResponse, <-chan error) + DescribeDiskMonitorData(*ecs.DescribeDiskMonitorDataRequest) (*ecs.DescribeDiskMonitorDataResponse, error) + DescribeDiskMonitorDataWithCallback(*ecs.DescribeDiskMonitorDataRequest, func(*ecs.DescribeDiskMonitorDataResponse, error)) <-chan int + DescribeDiskMonitorDataWithChan(*ecs.DescribeDiskMonitorDataRequest) (<-chan *ecs.DescribeDiskMonitorDataResponse, <-chan error) + DescribeDisks(*ecs.DescribeDisksRequest) (*ecs.DescribeDisksResponse, error) + DescribeDisksFullStatus(*ecs.DescribeDisksFullStatusRequest) (*ecs.DescribeDisksFullStatusResponse, error) + DescribeDisksFullStatusWithCallback(*ecs.DescribeDisksFullStatusRequest, func(*ecs.DescribeDisksFullStatusResponse, error)) <-chan int + DescribeDisksFullStatusWithChan(*ecs.DescribeDisksFullStatusRequest) (<-chan *ecs.DescribeDisksFullStatusResponse, <-chan error) + DescribeDisksWithCallback(*ecs.DescribeDisksRequest, func(*ecs.DescribeDisksResponse, error)) <-chan int + DescribeDisksWithChan(*ecs.DescribeDisksRequest) (<-chan *ecs.DescribeDisksResponse, <-chan error) + DescribeEipAddresses(*ecs.DescribeEipAddressesRequest) (*ecs.DescribeEipAddressesResponse, error) + DescribeEipAddressesWithCallback(*ecs.DescribeEipAddressesRequest, func(*ecs.DescribeEipAddressesResponse, error)) <-chan int + DescribeEipAddressesWithChan(*ecs.DescribeEipAddressesRequest) (<-chan *ecs.DescribeEipAddressesResponse, <-chan error) + DescribeEipMonitorData(*ecs.DescribeEipMonitorDataRequest) (*ecs.DescribeEipMonitorDataResponse, error) + DescribeEipMonitorDataWithCallback(*ecs.DescribeEipMonitorDataRequest, func(*ecs.DescribeEipMonitorDataResponse, error)) <-chan int + DescribeEipMonitorDataWithChan(*ecs.DescribeEipMonitorDataRequest) (<-chan *ecs.DescribeEipMonitorDataResponse, <-chan error) + DescribeElasticityAssuranceInstances(*ecs.DescribeElasticityAssuranceInstancesRequest) (*ecs.DescribeElasticityAssuranceInstancesResponse, error) + DescribeElasticityAssuranceInstancesWithCallback(*ecs.DescribeElasticityAssuranceInstancesRequest, func(*ecs.DescribeElasticityAssuranceInstancesResponse, error)) <-chan int + DescribeElasticityAssuranceInstancesWithChan(*ecs.DescribeElasticityAssuranceInstancesRequest) (<-chan *ecs.DescribeElasticityAssuranceInstancesResponse, <-chan error) + DescribeElasticityAssurances(*ecs.DescribeElasticityAssurancesRequest) (*ecs.DescribeElasticityAssurancesResponse, error) + DescribeElasticityAssurancesWithCallback(*ecs.DescribeElasticityAssurancesRequest, func(*ecs.DescribeElasticityAssurancesResponse, error)) <-chan int + DescribeElasticityAssurancesWithChan(*ecs.DescribeElasticityAssurancesRequest) (<-chan *ecs.DescribeElasticityAssurancesResponse, <-chan error) + DescribeEniMonitorData(*ecs.DescribeEniMonitorDataRequest) (*ecs.DescribeEniMonitorDataResponse, error) + DescribeEniMonitorDataWithCallback(*ecs.DescribeEniMonitorDataRequest, func(*ecs.DescribeEniMonitorDataResponse, error)) <-chan int + DescribeEniMonitorDataWithChan(*ecs.DescribeEniMonitorDataRequest) (<-chan *ecs.DescribeEniMonitorDataResponse, <-chan error) + DescribeForwardTableEntries(*ecs.DescribeForwardTableEntriesRequest) (*ecs.DescribeForwardTableEntriesResponse, error) + DescribeForwardTableEntriesWithCallback(*ecs.DescribeForwardTableEntriesRequest, func(*ecs.DescribeForwardTableEntriesResponse, error)) <-chan int + DescribeForwardTableEntriesWithChan(*ecs.DescribeForwardTableEntriesRequest) (<-chan *ecs.DescribeForwardTableEntriesResponse, <-chan error) + DescribeHaVips(*ecs.DescribeHaVipsRequest) (*ecs.DescribeHaVipsResponse, error) + DescribeHaVipsWithCallback(*ecs.DescribeHaVipsRequest, func(*ecs.DescribeHaVipsResponse, error)) <-chan int + DescribeHaVipsWithChan(*ecs.DescribeHaVipsRequest) (<-chan *ecs.DescribeHaVipsResponse, <-chan error) + DescribeHpcClusters(*ecs.DescribeHpcClustersRequest) (*ecs.DescribeHpcClustersResponse, error) + DescribeHpcClustersWithCallback(*ecs.DescribeHpcClustersRequest, func(*ecs.DescribeHpcClustersResponse, error)) <-chan int + DescribeHpcClustersWithChan(*ecs.DescribeHpcClustersRequest) (<-chan *ecs.DescribeHpcClustersResponse, <-chan error) + DescribeImageComponents(*ecs.DescribeImageComponentsRequest) (*ecs.DescribeImageComponentsResponse, error) + DescribeImageComponentsWithCallback(*ecs.DescribeImageComponentsRequest, func(*ecs.DescribeImageComponentsResponse, error)) <-chan int + DescribeImageComponentsWithChan(*ecs.DescribeImageComponentsRequest) (<-chan *ecs.DescribeImageComponentsResponse, <-chan error) + DescribeImageFromFamily(*ecs.DescribeImageFromFamilyRequest) (*ecs.DescribeImageFromFamilyResponse, error) + DescribeImageFromFamilyWithCallback(*ecs.DescribeImageFromFamilyRequest, func(*ecs.DescribeImageFromFamilyResponse, error)) <-chan int + DescribeImageFromFamilyWithChan(*ecs.DescribeImageFromFamilyRequest) (<-chan *ecs.DescribeImageFromFamilyResponse, <-chan error) + DescribeImagePipelineExecutions(*ecs.DescribeImagePipelineExecutionsRequest) (*ecs.DescribeImagePipelineExecutionsResponse, error) + DescribeImagePipelineExecutionsWithCallback(*ecs.DescribeImagePipelineExecutionsRequest, func(*ecs.DescribeImagePipelineExecutionsResponse, error)) <-chan int + DescribeImagePipelineExecutionsWithChan(*ecs.DescribeImagePipelineExecutionsRequest) (<-chan *ecs.DescribeImagePipelineExecutionsResponse, <-chan error) + DescribeImagePipelines(*ecs.DescribeImagePipelinesRequest) (*ecs.DescribeImagePipelinesResponse, error) + DescribeImagePipelinesWithCallback(*ecs.DescribeImagePipelinesRequest, func(*ecs.DescribeImagePipelinesResponse, error)) <-chan int + DescribeImagePipelinesWithChan(*ecs.DescribeImagePipelinesRequest) (<-chan *ecs.DescribeImagePipelinesResponse, <-chan error) + DescribeImageSharePermission(*ecs.DescribeImageSharePermissionRequest) (*ecs.DescribeImageSharePermissionResponse, error) + DescribeImageSharePermissionWithCallback(*ecs.DescribeImageSharePermissionRequest, func(*ecs.DescribeImageSharePermissionResponse, error)) <-chan int + DescribeImageSharePermissionWithChan(*ecs.DescribeImageSharePermissionRequest) (<-chan *ecs.DescribeImageSharePermissionResponse, <-chan error) + DescribeImageSupportInstanceTypes(*ecs.DescribeImageSupportInstanceTypesRequest) (*ecs.DescribeImageSupportInstanceTypesResponse, error) + DescribeImageSupportInstanceTypesWithCallback(*ecs.DescribeImageSupportInstanceTypesRequest, func(*ecs.DescribeImageSupportInstanceTypesResponse, error)) <-chan int + DescribeImageSupportInstanceTypesWithChan(*ecs.DescribeImageSupportInstanceTypesRequest) (<-chan *ecs.DescribeImageSupportInstanceTypesResponse, <-chan error) + DescribeImages(*ecs.DescribeImagesRequest) (*ecs.DescribeImagesResponse, error) + DescribeImagesWithCallback(*ecs.DescribeImagesRequest, func(*ecs.DescribeImagesResponse, error)) <-chan int + DescribeImagesWithChan(*ecs.DescribeImagesRequest) (<-chan *ecs.DescribeImagesResponse, <-chan error) + DescribeInstanceAttachmentAttributes(*ecs.DescribeInstanceAttachmentAttributesRequest) (*ecs.DescribeInstanceAttachmentAttributesResponse, error) + DescribeInstanceAttachmentAttributesWithCallback(*ecs.DescribeInstanceAttachmentAttributesRequest, func(*ecs.DescribeInstanceAttachmentAttributesResponse, error)) <-chan int + DescribeInstanceAttachmentAttributesWithChan(*ecs.DescribeInstanceAttachmentAttributesRequest) (<-chan *ecs.DescribeInstanceAttachmentAttributesResponse, <-chan error) + DescribeInstanceAttribute(*ecs.DescribeInstanceAttributeRequest) (*ecs.DescribeInstanceAttributeResponse, error) + DescribeInstanceAttributeWithCallback(*ecs.DescribeInstanceAttributeRequest, func(*ecs.DescribeInstanceAttributeResponse, error)) <-chan int + DescribeInstanceAttributeWithChan(*ecs.DescribeInstanceAttributeRequest) (<-chan *ecs.DescribeInstanceAttributeResponse, <-chan error) + DescribeInstanceAutoRenewAttribute(*ecs.DescribeInstanceAutoRenewAttributeRequest) (*ecs.DescribeInstanceAutoRenewAttributeResponse, error) + DescribeInstanceAutoRenewAttributeWithCallback(*ecs.DescribeInstanceAutoRenewAttributeRequest, func(*ecs.DescribeInstanceAutoRenewAttributeResponse, error)) <-chan int + DescribeInstanceAutoRenewAttributeWithChan(*ecs.DescribeInstanceAutoRenewAttributeRequest) (<-chan *ecs.DescribeInstanceAutoRenewAttributeResponse, <-chan error) + DescribeInstanceHistoryEvents(*ecs.DescribeInstanceHistoryEventsRequest) (*ecs.DescribeInstanceHistoryEventsResponse, error) + DescribeInstanceHistoryEventsWithCallback(*ecs.DescribeInstanceHistoryEventsRequest, func(*ecs.DescribeInstanceHistoryEventsResponse, error)) <-chan int + DescribeInstanceHistoryEventsWithChan(*ecs.DescribeInstanceHistoryEventsRequest) (<-chan *ecs.DescribeInstanceHistoryEventsResponse, <-chan error) + DescribeInstanceMaintenanceAttributes(*ecs.DescribeInstanceMaintenanceAttributesRequest) (*ecs.DescribeInstanceMaintenanceAttributesResponse, error) + DescribeInstanceMaintenanceAttributesWithCallback(*ecs.DescribeInstanceMaintenanceAttributesRequest, func(*ecs.DescribeInstanceMaintenanceAttributesResponse, error)) <-chan int + DescribeInstanceMaintenanceAttributesWithChan(*ecs.DescribeInstanceMaintenanceAttributesRequest) (<-chan *ecs.DescribeInstanceMaintenanceAttributesResponse, <-chan error) + DescribeInstanceModificationPrice(*ecs.DescribeInstanceModificationPriceRequest) (*ecs.DescribeInstanceModificationPriceResponse, error) + DescribeInstanceModificationPriceWithCallback(*ecs.DescribeInstanceModificationPriceRequest, func(*ecs.DescribeInstanceModificationPriceResponse, error)) <-chan int + DescribeInstanceModificationPriceWithChan(*ecs.DescribeInstanceModificationPriceRequest) (<-chan *ecs.DescribeInstanceModificationPriceResponse, <-chan error) + DescribeInstanceMonitorData(*ecs.DescribeInstanceMonitorDataRequest) (*ecs.DescribeInstanceMonitorDataResponse, error) + DescribeInstanceMonitorDataWithCallback(*ecs.DescribeInstanceMonitorDataRequest, func(*ecs.DescribeInstanceMonitorDataResponse, error)) <-chan int + DescribeInstanceMonitorDataWithChan(*ecs.DescribeInstanceMonitorDataRequest) (<-chan *ecs.DescribeInstanceMonitorDataResponse, <-chan error) + DescribeInstanceRamRole(*ecs.DescribeInstanceRamRoleRequest) (*ecs.DescribeInstanceRamRoleResponse, error) + DescribeInstanceRamRoleWithCallback(*ecs.DescribeInstanceRamRoleRequest, func(*ecs.DescribeInstanceRamRoleResponse, error)) <-chan int + DescribeInstanceRamRoleWithChan(*ecs.DescribeInstanceRamRoleRequest) (<-chan *ecs.DescribeInstanceRamRoleResponse, <-chan error) + DescribeInstanceStatus(*ecs.DescribeInstanceStatusRequest) (*ecs.DescribeInstanceStatusResponse, error) + DescribeInstanceStatusWithCallback(*ecs.DescribeInstanceStatusRequest, func(*ecs.DescribeInstanceStatusResponse, error)) <-chan int + DescribeInstanceStatusWithChan(*ecs.DescribeInstanceStatusRequest) (<-chan *ecs.DescribeInstanceStatusResponse, <-chan error) + DescribeInstanceTopology(*ecs.DescribeInstanceTopologyRequest) (*ecs.DescribeInstanceTopologyResponse, error) + DescribeInstanceTopologyWithCallback(*ecs.DescribeInstanceTopologyRequest, func(*ecs.DescribeInstanceTopologyResponse, error)) <-chan int + DescribeInstanceTopologyWithChan(*ecs.DescribeInstanceTopologyRequest) (<-chan *ecs.DescribeInstanceTopologyResponse, <-chan error) + DescribeInstanceTypeFamilies(*ecs.DescribeInstanceTypeFamiliesRequest) (*ecs.DescribeInstanceTypeFamiliesResponse, error) + DescribeInstanceTypeFamiliesWithCallback(*ecs.DescribeInstanceTypeFamiliesRequest, func(*ecs.DescribeInstanceTypeFamiliesResponse, error)) <-chan int + DescribeInstanceTypeFamiliesWithChan(*ecs.DescribeInstanceTypeFamiliesRequest) (<-chan *ecs.DescribeInstanceTypeFamiliesResponse, <-chan error) + DescribeInstanceTypes(*ecs.DescribeInstanceTypesRequest) (*ecs.DescribeInstanceTypesResponse, error) + DescribeInstanceTypesWithCallback(*ecs.DescribeInstanceTypesRequest, func(*ecs.DescribeInstanceTypesResponse, error)) <-chan int + DescribeInstanceTypesWithChan(*ecs.DescribeInstanceTypesRequest) (<-chan *ecs.DescribeInstanceTypesResponse, <-chan error) + DescribeInstanceVncPasswd(*ecs.DescribeInstanceVncPasswdRequest) (*ecs.DescribeInstanceVncPasswdResponse, error) + DescribeInstanceVncPasswdWithCallback(*ecs.DescribeInstanceVncPasswdRequest, func(*ecs.DescribeInstanceVncPasswdResponse, error)) <-chan int + DescribeInstanceVncPasswdWithChan(*ecs.DescribeInstanceVncPasswdRequest) (<-chan *ecs.DescribeInstanceVncPasswdResponse, <-chan error) + DescribeInstanceVncUrl(*ecs.DescribeInstanceVncUrlRequest) (*ecs.DescribeInstanceVncUrlResponse, error) + DescribeInstanceVncUrlWithCallback(*ecs.DescribeInstanceVncUrlRequest, func(*ecs.DescribeInstanceVncUrlResponse, error)) <-chan int + DescribeInstanceVncUrlWithChan(*ecs.DescribeInstanceVncUrlRequest) (<-chan *ecs.DescribeInstanceVncUrlResponse, <-chan error) + DescribeInstances(*ecs.DescribeInstancesRequest) (*ecs.DescribeInstancesResponse, error) + DescribeInstancesFullStatus(*ecs.DescribeInstancesFullStatusRequest) (*ecs.DescribeInstancesFullStatusResponse, error) + DescribeInstancesFullStatusWithCallback(*ecs.DescribeInstancesFullStatusRequest, func(*ecs.DescribeInstancesFullStatusResponse, error)) <-chan int + DescribeInstancesFullStatusWithChan(*ecs.DescribeInstancesFullStatusRequest) (<-chan *ecs.DescribeInstancesFullStatusResponse, <-chan error) + DescribeInstancesWithCallback(*ecs.DescribeInstancesRequest, func(*ecs.DescribeInstancesResponse, error)) <-chan int + DescribeInstancesWithChan(*ecs.DescribeInstancesRequest) (<-chan *ecs.DescribeInstancesResponse, <-chan error) + DescribeInvocationResults(*ecs.DescribeInvocationResultsRequest) (*ecs.DescribeInvocationResultsResponse, error) + DescribeInvocationResultsWithCallback(*ecs.DescribeInvocationResultsRequest, func(*ecs.DescribeInvocationResultsResponse, error)) <-chan int + DescribeInvocationResultsWithChan(*ecs.DescribeInvocationResultsRequest) (<-chan *ecs.DescribeInvocationResultsResponse, <-chan error) + DescribeInvocations(*ecs.DescribeInvocationsRequest) (*ecs.DescribeInvocationsResponse, error) + DescribeInvocationsWithCallback(*ecs.DescribeInvocationsRequest, func(*ecs.DescribeInvocationsResponse, error)) <-chan int + DescribeInvocationsWithChan(*ecs.DescribeInvocationsRequest) (<-chan *ecs.DescribeInvocationsResponse, <-chan error) + DescribeKeyPairs(*ecs.DescribeKeyPairsRequest) (*ecs.DescribeKeyPairsResponse, error) + DescribeKeyPairsWithCallback(*ecs.DescribeKeyPairsRequest, func(*ecs.DescribeKeyPairsResponse, error)) <-chan int + DescribeKeyPairsWithChan(*ecs.DescribeKeyPairsRequest) (<-chan *ecs.DescribeKeyPairsResponse, <-chan error) + DescribeLaunchTemplateVersions(*ecs.DescribeLaunchTemplateVersionsRequest) (*ecs.DescribeLaunchTemplateVersionsResponse, error) + DescribeLaunchTemplateVersionsWithCallback(*ecs.DescribeLaunchTemplateVersionsRequest, func(*ecs.DescribeLaunchTemplateVersionsResponse, error)) <-chan int + DescribeLaunchTemplateVersionsWithChan(*ecs.DescribeLaunchTemplateVersionsRequest) (<-chan *ecs.DescribeLaunchTemplateVersionsResponse, <-chan error) + DescribeLaunchTemplates(*ecs.DescribeLaunchTemplatesRequest) (*ecs.DescribeLaunchTemplatesResponse, error) + DescribeLaunchTemplatesWithCallback(*ecs.DescribeLaunchTemplatesRequest, func(*ecs.DescribeLaunchTemplatesResponse, error)) <-chan int + DescribeLaunchTemplatesWithChan(*ecs.DescribeLaunchTemplatesRequest) (<-chan *ecs.DescribeLaunchTemplatesResponse, <-chan error) + DescribeLimitation(*ecs.DescribeLimitationRequest) (*ecs.DescribeLimitationResponse, error) + DescribeLimitationWithCallback(*ecs.DescribeLimitationRequest, func(*ecs.DescribeLimitationResponse, error)) <-chan int + DescribeLimitationWithChan(*ecs.DescribeLimitationRequest) (<-chan *ecs.DescribeLimitationResponse, <-chan error) + DescribeManagedInstances(*ecs.DescribeManagedInstancesRequest) (*ecs.DescribeManagedInstancesResponse, error) + DescribeManagedInstancesWithCallback(*ecs.DescribeManagedInstancesRequest, func(*ecs.DescribeManagedInstancesResponse, error)) <-chan int + DescribeManagedInstancesWithChan(*ecs.DescribeManagedInstancesRequest) (<-chan *ecs.DescribeManagedInstancesResponse, <-chan error) + DescribeNatGateways(*ecs.DescribeNatGatewaysRequest) (*ecs.DescribeNatGatewaysResponse, error) + DescribeNatGatewaysWithCallback(*ecs.DescribeNatGatewaysRequest, func(*ecs.DescribeNatGatewaysResponse, error)) <-chan int + DescribeNatGatewaysWithChan(*ecs.DescribeNatGatewaysRequest) (<-chan *ecs.DescribeNatGatewaysResponse, <-chan error) + DescribeNetworkInterfaceAttribute(*ecs.DescribeNetworkInterfaceAttributeRequest) (*ecs.DescribeNetworkInterfaceAttributeResponse, error) + DescribeNetworkInterfaceAttributeWithCallback(*ecs.DescribeNetworkInterfaceAttributeRequest, func(*ecs.DescribeNetworkInterfaceAttributeResponse, error)) <-chan int + DescribeNetworkInterfaceAttributeWithChan(*ecs.DescribeNetworkInterfaceAttributeRequest) (<-chan *ecs.DescribeNetworkInterfaceAttributeResponse, <-chan error) + DescribeNetworkInterfacePermissions(*ecs.DescribeNetworkInterfacePermissionsRequest) (*ecs.DescribeNetworkInterfacePermissionsResponse, error) + DescribeNetworkInterfacePermissionsWithCallback(*ecs.DescribeNetworkInterfacePermissionsRequest, func(*ecs.DescribeNetworkInterfacePermissionsResponse, error)) <-chan int + DescribeNetworkInterfacePermissionsWithChan(*ecs.DescribeNetworkInterfacePermissionsRequest) (<-chan *ecs.DescribeNetworkInterfacePermissionsResponse, <-chan error) + DescribeNetworkInterfaces(*ecs.DescribeNetworkInterfacesRequest) (*ecs.DescribeNetworkInterfacesResponse, error) + DescribeNetworkInterfacesWithCallback(*ecs.DescribeNetworkInterfacesRequest, func(*ecs.DescribeNetworkInterfacesResponse, error)) <-chan int + DescribeNetworkInterfacesWithChan(*ecs.DescribeNetworkInterfacesRequest) (<-chan *ecs.DescribeNetworkInterfacesResponse, <-chan error) + DescribeNewProjectEipMonitorData(*ecs.DescribeNewProjectEipMonitorDataRequest) (*ecs.DescribeNewProjectEipMonitorDataResponse, error) + DescribeNewProjectEipMonitorDataWithCallback(*ecs.DescribeNewProjectEipMonitorDataRequest, func(*ecs.DescribeNewProjectEipMonitorDataResponse, error)) <-chan int + DescribeNewProjectEipMonitorDataWithChan(*ecs.DescribeNewProjectEipMonitorDataRequest) (<-chan *ecs.DescribeNewProjectEipMonitorDataResponse, <-chan error) + DescribePhysicalConnections(*ecs.DescribePhysicalConnectionsRequest) (*ecs.DescribePhysicalConnectionsResponse, error) + DescribePhysicalConnectionsWithCallback(*ecs.DescribePhysicalConnectionsRequest, func(*ecs.DescribePhysicalConnectionsResponse, error)) <-chan int + DescribePhysicalConnectionsWithChan(*ecs.DescribePhysicalConnectionsRequest) (<-chan *ecs.DescribePhysicalConnectionsResponse, <-chan error) + DescribePrefixListAssociations(*ecs.DescribePrefixListAssociationsRequest) (*ecs.DescribePrefixListAssociationsResponse, error) + DescribePrefixListAssociationsWithCallback(*ecs.DescribePrefixListAssociationsRequest, func(*ecs.DescribePrefixListAssociationsResponse, error)) <-chan int + DescribePrefixListAssociationsWithChan(*ecs.DescribePrefixListAssociationsRequest) (<-chan *ecs.DescribePrefixListAssociationsResponse, <-chan error) + DescribePrefixListAttributes(*ecs.DescribePrefixListAttributesRequest) (*ecs.DescribePrefixListAttributesResponse, error) + DescribePrefixListAttributesWithCallback(*ecs.DescribePrefixListAttributesRequest, func(*ecs.DescribePrefixListAttributesResponse, error)) <-chan int + DescribePrefixListAttributesWithChan(*ecs.DescribePrefixListAttributesRequest) (<-chan *ecs.DescribePrefixListAttributesResponse, <-chan error) + DescribePrefixLists(*ecs.DescribePrefixListsRequest) (*ecs.DescribePrefixListsResponse, error) + DescribePrefixListsWithCallback(*ecs.DescribePrefixListsRequest, func(*ecs.DescribePrefixListsResponse, error)) <-chan int + DescribePrefixListsWithChan(*ecs.DescribePrefixListsRequest) (<-chan *ecs.DescribePrefixListsResponse, <-chan error) + DescribePrice(*ecs.DescribePriceRequest) (*ecs.DescribePriceResponse, error) + DescribePriceWithCallback(*ecs.DescribePriceRequest, func(*ecs.DescribePriceResponse, error)) <-chan int + DescribePriceWithChan(*ecs.DescribePriceRequest) (<-chan *ecs.DescribePriceResponse, <-chan error) + DescribeRecommendInstanceType(*ecs.DescribeRecommendInstanceTypeRequest) (*ecs.DescribeRecommendInstanceTypeResponse, error) + DescribeRecommendInstanceTypeWithCallback(*ecs.DescribeRecommendInstanceTypeRequest, func(*ecs.DescribeRecommendInstanceTypeResponse, error)) <-chan int + DescribeRecommendInstanceTypeWithChan(*ecs.DescribeRecommendInstanceTypeRequest) (<-chan *ecs.DescribeRecommendInstanceTypeResponse, <-chan error) + DescribeRegions(*ecs.DescribeRegionsRequest) (*ecs.DescribeRegionsResponse, error) + DescribeRegionsWithCallback(*ecs.DescribeRegionsRequest, func(*ecs.DescribeRegionsResponse, error)) <-chan int + DescribeRegionsWithChan(*ecs.DescribeRegionsRequest) (<-chan *ecs.DescribeRegionsResponse, <-chan error) + DescribeRenewalPrice(*ecs.DescribeRenewalPriceRequest) (*ecs.DescribeRenewalPriceResponse, error) + DescribeRenewalPriceWithCallback(*ecs.DescribeRenewalPriceRequest, func(*ecs.DescribeRenewalPriceResponse, error)) <-chan int + DescribeRenewalPriceWithChan(*ecs.DescribeRenewalPriceRequest) (<-chan *ecs.DescribeRenewalPriceResponse, <-chan error) + DescribeReservedInstances(*ecs.DescribeReservedInstancesRequest) (*ecs.DescribeReservedInstancesResponse, error) + DescribeReservedInstancesWithCallback(*ecs.DescribeReservedInstancesRequest, func(*ecs.DescribeReservedInstancesResponse, error)) <-chan int + DescribeReservedInstancesWithChan(*ecs.DescribeReservedInstancesRequest) (<-chan *ecs.DescribeReservedInstancesResponse, <-chan error) + DescribeResourceByTags(*ecs.DescribeResourceByTagsRequest) (*ecs.DescribeResourceByTagsResponse, error) + DescribeResourceByTagsWithCallback(*ecs.DescribeResourceByTagsRequest, func(*ecs.DescribeResourceByTagsResponse, error)) <-chan int + DescribeResourceByTagsWithChan(*ecs.DescribeResourceByTagsRequest) (<-chan *ecs.DescribeResourceByTagsResponse, <-chan error) + DescribeResourcesModification(*ecs.DescribeResourcesModificationRequest) (*ecs.DescribeResourcesModificationResponse, error) + DescribeResourcesModificationWithCallback(*ecs.DescribeResourcesModificationRequest, func(*ecs.DescribeResourcesModificationResponse, error)) <-chan int + DescribeResourcesModificationWithChan(*ecs.DescribeResourcesModificationRequest) (<-chan *ecs.DescribeResourcesModificationResponse, <-chan error) + DescribeRouteTables(*ecs.DescribeRouteTablesRequest) (*ecs.DescribeRouteTablesResponse, error) + DescribeRouteTablesWithCallback(*ecs.DescribeRouteTablesRequest, func(*ecs.DescribeRouteTablesResponse, error)) <-chan int + DescribeRouteTablesWithChan(*ecs.DescribeRouteTablesRequest) (<-chan *ecs.DescribeRouteTablesResponse, <-chan error) + DescribeRouterInterfaces(*ecs.DescribeRouterInterfacesRequest) (*ecs.DescribeRouterInterfacesResponse, error) + DescribeRouterInterfacesWithCallback(*ecs.DescribeRouterInterfacesRequest, func(*ecs.DescribeRouterInterfacesResponse, error)) <-chan int + DescribeRouterInterfacesWithChan(*ecs.DescribeRouterInterfacesRequest) (<-chan *ecs.DescribeRouterInterfacesResponse, <-chan error) + DescribeSecurityGroupAttribute(*ecs.DescribeSecurityGroupAttributeRequest) (*ecs.DescribeSecurityGroupAttributeResponse, error) + DescribeSecurityGroupAttributeWithCallback(*ecs.DescribeSecurityGroupAttributeRequest, func(*ecs.DescribeSecurityGroupAttributeResponse, error)) <-chan int + DescribeSecurityGroupAttributeWithChan(*ecs.DescribeSecurityGroupAttributeRequest) (<-chan *ecs.DescribeSecurityGroupAttributeResponse, <-chan error) + DescribeSecurityGroupReferences(*ecs.DescribeSecurityGroupReferencesRequest) (*ecs.DescribeSecurityGroupReferencesResponse, error) + DescribeSecurityGroupReferencesWithCallback(*ecs.DescribeSecurityGroupReferencesRequest, func(*ecs.DescribeSecurityGroupReferencesResponse, error)) <-chan int + DescribeSecurityGroupReferencesWithChan(*ecs.DescribeSecurityGroupReferencesRequest) (<-chan *ecs.DescribeSecurityGroupReferencesResponse, <-chan error) + DescribeSecurityGroups(*ecs.DescribeSecurityGroupsRequest) (*ecs.DescribeSecurityGroupsResponse, error) + DescribeSecurityGroupsWithCallback(*ecs.DescribeSecurityGroupsRequest, func(*ecs.DescribeSecurityGroupsResponse, error)) <-chan int + DescribeSecurityGroupsWithChan(*ecs.DescribeSecurityGroupsRequest) (<-chan *ecs.DescribeSecurityGroupsResponse, <-chan error) + DescribeSendFileResults(*ecs.DescribeSendFileResultsRequest) (*ecs.DescribeSendFileResultsResponse, error) + DescribeSendFileResultsWithCallback(*ecs.DescribeSendFileResultsRequest, func(*ecs.DescribeSendFileResultsResponse, error)) <-chan int + DescribeSendFileResultsWithChan(*ecs.DescribeSendFileResultsRequest) (<-chan *ecs.DescribeSendFileResultsResponse, <-chan error) + DescribeSnapshotGroups(*ecs.DescribeSnapshotGroupsRequest) (*ecs.DescribeSnapshotGroupsResponse, error) + DescribeSnapshotGroupsWithCallback(*ecs.DescribeSnapshotGroupsRequest, func(*ecs.DescribeSnapshotGroupsResponse, error)) <-chan int + DescribeSnapshotGroupsWithChan(*ecs.DescribeSnapshotGroupsRequest) (<-chan *ecs.DescribeSnapshotGroupsResponse, <-chan error) + DescribeSnapshotLinks(*ecs.DescribeSnapshotLinksRequest) (*ecs.DescribeSnapshotLinksResponse, error) + DescribeSnapshotLinksWithCallback(*ecs.DescribeSnapshotLinksRequest, func(*ecs.DescribeSnapshotLinksResponse, error)) <-chan int + DescribeSnapshotLinksWithChan(*ecs.DescribeSnapshotLinksRequest) (<-chan *ecs.DescribeSnapshotLinksResponse, <-chan error) + DescribeSnapshotMonitorData(*ecs.DescribeSnapshotMonitorDataRequest) (*ecs.DescribeSnapshotMonitorDataResponse, error) + DescribeSnapshotMonitorDataWithCallback(*ecs.DescribeSnapshotMonitorDataRequest, func(*ecs.DescribeSnapshotMonitorDataResponse, error)) <-chan int + DescribeSnapshotMonitorDataWithChan(*ecs.DescribeSnapshotMonitorDataRequest) (<-chan *ecs.DescribeSnapshotMonitorDataResponse, <-chan error) + DescribeSnapshotPackage(*ecs.DescribeSnapshotPackageRequest) (*ecs.DescribeSnapshotPackageResponse, error) + DescribeSnapshotPackageWithCallback(*ecs.DescribeSnapshotPackageRequest, func(*ecs.DescribeSnapshotPackageResponse, error)) <-chan int + DescribeSnapshotPackageWithChan(*ecs.DescribeSnapshotPackageRequest) (<-chan *ecs.DescribeSnapshotPackageResponse, <-chan error) + DescribeSnapshots(*ecs.DescribeSnapshotsRequest) (*ecs.DescribeSnapshotsResponse, error) + DescribeSnapshotsUsage(*ecs.DescribeSnapshotsUsageRequest) (*ecs.DescribeSnapshotsUsageResponse, error) + DescribeSnapshotsUsageWithCallback(*ecs.DescribeSnapshotsUsageRequest, func(*ecs.DescribeSnapshotsUsageResponse, error)) <-chan int + DescribeSnapshotsUsageWithChan(*ecs.DescribeSnapshotsUsageRequest) (<-chan *ecs.DescribeSnapshotsUsageResponse, <-chan error) + DescribeSnapshotsWithCallback(*ecs.DescribeSnapshotsRequest, func(*ecs.DescribeSnapshotsResponse, error)) <-chan int + DescribeSnapshotsWithChan(*ecs.DescribeSnapshotsRequest) (<-chan *ecs.DescribeSnapshotsResponse, <-chan error) + DescribeSpotAdvice(*ecs.DescribeSpotAdviceRequest) (*ecs.DescribeSpotAdviceResponse, error) + DescribeSpotAdviceWithCallback(*ecs.DescribeSpotAdviceRequest, func(*ecs.DescribeSpotAdviceResponse, error)) <-chan int + DescribeSpotAdviceWithChan(*ecs.DescribeSpotAdviceRequest) (<-chan *ecs.DescribeSpotAdviceResponse, <-chan error) + DescribeSpotPriceHistory(*ecs.DescribeSpotPriceHistoryRequest) (*ecs.DescribeSpotPriceHistoryResponse, error) + DescribeSpotPriceHistoryWithCallback(*ecs.DescribeSpotPriceHistoryRequest, func(*ecs.DescribeSpotPriceHistoryResponse, error)) <-chan int + DescribeSpotPriceHistoryWithChan(*ecs.DescribeSpotPriceHistoryRequest) (<-chan *ecs.DescribeSpotPriceHistoryResponse, <-chan error) + DescribeStorageCapacityUnits(*ecs.DescribeStorageCapacityUnitsRequest) (*ecs.DescribeStorageCapacityUnitsResponse, error) + DescribeStorageCapacityUnitsWithCallback(*ecs.DescribeStorageCapacityUnitsRequest, func(*ecs.DescribeStorageCapacityUnitsResponse, error)) <-chan int + DescribeStorageCapacityUnitsWithChan(*ecs.DescribeStorageCapacityUnitsRequest) (<-chan *ecs.DescribeStorageCapacityUnitsResponse, <-chan error) + DescribeStorageSetDetails(*ecs.DescribeStorageSetDetailsRequest) (*ecs.DescribeStorageSetDetailsResponse, error) + DescribeStorageSetDetailsWithCallback(*ecs.DescribeStorageSetDetailsRequest, func(*ecs.DescribeStorageSetDetailsResponse, error)) <-chan int + DescribeStorageSetDetailsWithChan(*ecs.DescribeStorageSetDetailsRequest) (<-chan *ecs.DescribeStorageSetDetailsResponse, <-chan error) + DescribeStorageSets(*ecs.DescribeStorageSetsRequest) (*ecs.DescribeStorageSetsResponse, error) + DescribeStorageSetsWithCallback(*ecs.DescribeStorageSetsRequest, func(*ecs.DescribeStorageSetsResponse, error)) <-chan int + DescribeStorageSetsWithChan(*ecs.DescribeStorageSetsRequest) (<-chan *ecs.DescribeStorageSetsResponse, <-chan error) + DescribeTags(*ecs.DescribeTagsRequest) (*ecs.DescribeTagsResponse, error) + DescribeTagsWithCallback(*ecs.DescribeTagsRequest, func(*ecs.DescribeTagsResponse, error)) <-chan int + DescribeTagsWithChan(*ecs.DescribeTagsRequest) (<-chan *ecs.DescribeTagsResponse, <-chan error) + DescribeTaskAttribute(*ecs.DescribeTaskAttributeRequest) (*ecs.DescribeTaskAttributeResponse, error) + DescribeTaskAttributeWithCallback(*ecs.DescribeTaskAttributeRequest, func(*ecs.DescribeTaskAttributeResponse, error)) <-chan int + DescribeTaskAttributeWithChan(*ecs.DescribeTaskAttributeRequest) (<-chan *ecs.DescribeTaskAttributeResponse, <-chan error) + DescribeTasks(*ecs.DescribeTasksRequest) (*ecs.DescribeTasksResponse, error) + DescribeTasksWithCallback(*ecs.DescribeTasksRequest, func(*ecs.DescribeTasksResponse, error)) <-chan int + DescribeTasksWithChan(*ecs.DescribeTasksRequest) (<-chan *ecs.DescribeTasksResponse, <-chan error) + DescribeUserBusinessBehavior(*ecs.DescribeUserBusinessBehaviorRequest) (*ecs.DescribeUserBusinessBehaviorResponse, error) + DescribeUserBusinessBehaviorWithCallback(*ecs.DescribeUserBusinessBehaviorRequest, func(*ecs.DescribeUserBusinessBehaviorResponse, error)) <-chan int + DescribeUserBusinessBehaviorWithChan(*ecs.DescribeUserBusinessBehaviorRequest) (<-chan *ecs.DescribeUserBusinessBehaviorResponse, <-chan error) + DescribeUserData(*ecs.DescribeUserDataRequest) (*ecs.DescribeUserDataResponse, error) + DescribeUserDataWithCallback(*ecs.DescribeUserDataRequest, func(*ecs.DescribeUserDataResponse, error)) <-chan int + DescribeUserDataWithChan(*ecs.DescribeUserDataRequest) (<-chan *ecs.DescribeUserDataResponse, <-chan error) + DescribeVRouters(*ecs.DescribeVRoutersRequest) (*ecs.DescribeVRoutersResponse, error) + DescribeVRoutersWithCallback(*ecs.DescribeVRoutersRequest, func(*ecs.DescribeVRoutersResponse, error)) <-chan int + DescribeVRoutersWithChan(*ecs.DescribeVRoutersRequest) (<-chan *ecs.DescribeVRoutersResponse, <-chan error) + DescribeVSwitches(*ecs.DescribeVSwitchesRequest) (*ecs.DescribeVSwitchesResponse, error) + DescribeVSwitchesWithCallback(*ecs.DescribeVSwitchesRequest, func(*ecs.DescribeVSwitchesResponse, error)) <-chan int + DescribeVSwitchesWithChan(*ecs.DescribeVSwitchesRequest) (<-chan *ecs.DescribeVSwitchesResponse, <-chan error) + DescribeVirtualBorderRouters(*ecs.DescribeVirtualBorderRoutersRequest) (*ecs.DescribeVirtualBorderRoutersResponse, error) + DescribeVirtualBorderRoutersForPhysicalConnection(*ecs.DescribeVirtualBorderRoutersForPhysicalConnectionRequest) (*ecs.DescribeVirtualBorderRoutersForPhysicalConnectionResponse, error) + DescribeVirtualBorderRoutersForPhysicalConnectionWithCallback(*ecs.DescribeVirtualBorderRoutersForPhysicalConnectionRequest, func(*ecs.DescribeVirtualBorderRoutersForPhysicalConnectionResponse, error)) <-chan int + DescribeVirtualBorderRoutersForPhysicalConnectionWithChan(*ecs.DescribeVirtualBorderRoutersForPhysicalConnectionRequest) (<-chan *ecs.DescribeVirtualBorderRoutersForPhysicalConnectionResponse, <-chan error) + DescribeVirtualBorderRoutersWithCallback(*ecs.DescribeVirtualBorderRoutersRequest, func(*ecs.DescribeVirtualBorderRoutersResponse, error)) <-chan int + DescribeVirtualBorderRoutersWithChan(*ecs.DescribeVirtualBorderRoutersRequest) (<-chan *ecs.DescribeVirtualBorderRoutersResponse, <-chan error) + DescribeVpcs(*ecs.DescribeVpcsRequest) (*ecs.DescribeVpcsResponse, error) + DescribeVpcsWithCallback(*ecs.DescribeVpcsRequest, func(*ecs.DescribeVpcsResponse, error)) <-chan int + DescribeVpcsWithChan(*ecs.DescribeVpcsRequest) (<-chan *ecs.DescribeVpcsResponse, <-chan error) + DescribeZones(*ecs.DescribeZonesRequest) (*ecs.DescribeZonesResponse, error) + DescribeZonesWithCallback(*ecs.DescribeZonesRequest, func(*ecs.DescribeZonesResponse, error)) <-chan int + DescribeZonesWithChan(*ecs.DescribeZonesRequest) (<-chan *ecs.DescribeZonesResponse, <-chan error) + GetCloseTrace() bool + GetEndpointRules(string, string) (string, error) + GetHTTPSInsecure() bool + GetHttpProxy() string + GetHttpsProxy() string + GetInstanceConsoleOutput(*ecs.GetInstanceConsoleOutputRequest) (*ecs.GetInstanceConsoleOutputResponse, error) + GetInstanceConsoleOutputWithCallback(*ecs.GetInstanceConsoleOutputRequest, func(*ecs.GetInstanceConsoleOutputResponse, error)) <-chan int + GetInstanceConsoleOutputWithChan(*ecs.GetInstanceConsoleOutputRequest) (<-chan *ecs.GetInstanceConsoleOutputResponse, <-chan error) + GetInstanceScreenshot(*ecs.GetInstanceScreenshotRequest) (*ecs.GetInstanceScreenshotResponse, error) + GetInstanceScreenshotWithCallback(*ecs.GetInstanceScreenshotRequest, func(*ecs.GetInstanceScreenshotResponse, error)) <-chan int + GetInstanceScreenshotWithChan(*ecs.GetInstanceScreenshotRequest) (<-chan *ecs.GetInstanceScreenshotResponse, <-chan error) + GetLoggerMsg() string + GetNoProxy() string + GetTemplate() string + ListPluginStatus(*ecs.ListPluginStatusRequest) (*ecs.ListPluginStatusResponse, error) + ListPluginStatusWithCallback(*ecs.ListPluginStatusRequest, func(*ecs.ListPluginStatusResponse, error)) <-chan int + ListPluginStatusWithChan(*ecs.ListPluginStatusRequest) (<-chan *ecs.ListPluginStatusResponse, <-chan error) + ListTagResources(*ecs.ListTagResourcesRequest) (*ecs.ListTagResourcesResponse, error) + ListTagResourcesWithCallback(*ecs.ListTagResourcesRequest, func(*ecs.ListTagResourcesResponse, error)) <-chan int + ListTagResourcesWithChan(*ecs.ListTagResourcesRequest) (<-chan *ecs.ListTagResourcesResponse, <-chan error) +} diff --git a/plugins/source/alicloud/codegen/main.go b/plugins/source/alicloud/codegen/main.go index fb04e0c212ec06..e881af6aad27dd 100644 --- a/plugins/source/alicloud/codegen/main.go +++ b/plugins/source/alicloud/codegen/main.go @@ -6,6 +6,7 @@ import ( "runtime" "github.com/aliyun/alibaba-cloud-sdk-go/services/bssopenapi" + "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" "github.com/aliyun/aliyun-oss-go-sdk/oss" "github.com/cloudquery/codegen/interfaces" "github.com/thoas/go-funk" @@ -14,6 +15,7 @@ import ( var clients = []any{ &oss.Client{}, &bssopenapi.Client{}, + &ecs.Client{}, } // Generate the service interfaces under in client/services for use with mockgen. diff --git a/plugins/source/alicloud/resources/services/ecs/instances.go b/plugins/source/alicloud/resources/services/ecs/instances.go new file mode 100644 index 00000000000000..0a23ca36f55d11 --- /dev/null +++ b/plugins/source/alicloud/resources/services/ecs/instances.go @@ -0,0 +1,33 @@ +package ecs + +import ( + "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" + "github.com/cloudquery/cloudquery/plugins/source/alicloud/client" + "github.com/cloudquery/plugin-sdk/schema" + "github.com/cloudquery/plugin-sdk/transformers" +) + +func Instances() *schema.Table { + return &schema.Table{ + Name: "alicloud_ecs_instances", + Resolver: fetchEcsInstances, + Multiplex: client.ServiceAccountRegionMultiplexer(client.ServiceECS), + Description: "https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describeinstances#t9865.html", + Transform: transformers.TransformWithStruct( + &ecs.Instance{}, + transformers.WithPrimaryKeys( + "RegionId", "InstanceId", + ), + ), + Columns: []schema.Column{ + { + Name: "account_id", + Type: schema.TypeString, + Resolver: client.ResolveAccount, + CreationOptions: schema.ColumnCreationOptions{ + PrimaryKey: true, + }, + }, + }, + } +} diff --git a/plugins/source/alicloud/resources/services/ecs/instances_fetch.go b/plugins/source/alicloud/resources/services/ecs/instances_fetch.go new file mode 100644 index 00000000000000..104d423f0262ca --- /dev/null +++ b/plugins/source/alicloud/resources/services/ecs/instances_fetch.go @@ -0,0 +1,45 @@ +package ecs + +import ( + "context" + "fmt" + "net/http" + + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/requests" + "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" + "github.com/cloudquery/cloudquery/plugins/source/alicloud/client" + "github.com/cloudquery/plugin-sdk/schema" +) + +var ( + maxLimit = 100 +) + +func fetchEcsInstances(_ context.Context, meta schema.ClientMeta, _ *schema.Resource, res chan<- any) error { + c := meta.(*client.Client) + pageNum := 1 + total := 0 + req := ecs.CreateDescribeInstancesRequest() + req.PageNumber = requests.NewInteger(pageNum) + req.PageSize = requests.NewInteger(maxLimit) + for { + resp, err := c.Services().ECS.DescribeInstances(req) + if err != nil { + return err + } + if !resp.IsSuccess() { + code := resp.GetHttpStatus() + return fmt.Errorf("got response status code %d (%v)", code, http.StatusText(code)) + } + for _, instance := range resp.Instances.Instance { + res <- instance + } + total += len(resp.Instances.Instance) + if len(resp.Instances.Instance) == 0 || total >= resp.TotalCount { + break + } + pageNum++ + req.PageNumber = requests.NewInteger(pageNum) + } + return nil +} diff --git a/plugins/source/alicloud/resources/services/ecs/instances_fetch_mock_test.go b/plugins/source/alicloud/resources/services/ecs/instances_fetch_mock_test.go new file mode 100644 index 00000000000000..6342b5f0d50c7a --- /dev/null +++ b/plugins/source/alicloud/resources/services/ecs/instances_fetch_mock_test.go @@ -0,0 +1,26 @@ +package ecs + +import ( + "testing" + + "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" + "github.com/cloudquery/cloudquery/plugins/source/alicloud/client" + "github.com/cloudquery/cloudquery/plugins/source/alicloud/client/mocks" + "github.com/cloudquery/plugin-sdk/faker" + "github.com/golang/mock/gomock" +) + +func buildEcsInstances(t *testing.T, ctrl *gomock.Controller) client.Services { + mock := mocks.NewMockEcsClient(ctrl) + + var b ecs.DescribeInstancesResponse + if err := faker.FakeObject(&b); err != nil { + t.Fatal(err) + } + mock.EXPECT().DescribeInstances(gomock.Any()).Return(&b, nil) + return client.Services{ECS: mock} +} + +func TestEcsInstances(t *testing.T) { + client.MockTestHelper(t, Instances(), buildEcsInstances, client.TestOptions{}) +} From 399381e6b5ea1c2c18b3addb8dbe626a1bb7b69d Mon Sep 17 00:00:00 2001 From: Herman Schaaf Date: Tue, 17 Jan 2023 14:44:21 +0000 Subject: [PATCH 2/5] Add support for ECS --- plugins/source/alicloud/client/client.go | 2 +- .../source/alicloud/client/multiplexers.go | 8 +- plugins/source/alicloud/client/services.go | 6 ++ plugins/source/alicloud/client/testing.go | 2 +- plugins/source/alicloud/docs/tables/README.md | 1 + .../docs/tables/alicloud_ecs_instances.md | 93 +++++++++++++++++++ plugins/source/alicloud/go.mod | 5 +- plugins/source/alicloud/go.sum | 6 +- .../alicloud/resources/plugin/plugin.go | 2 + .../services/ecs/instances_fetch_mock_test.go | 26 +++++- 10 files changed, 135 insertions(+), 16 deletions(-) create mode 100644 plugins/source/alicloud/docs/tables/alicloud_ecs_instances.md diff --git a/plugins/source/alicloud/client/client.go b/plugins/source/alicloud/client/client.go index 1102cea6627d73..17bf5484425d81 100644 --- a/plugins/source/alicloud/client/client.go +++ b/plugins/source/alicloud/client/client.go @@ -24,7 +24,7 @@ func (c *Client) Logger() *zerolog.Logger { } func (c *Client) ID() string { - return strings.Join([]string{c.AccountID, c.Region}, ":") + return strings.Join([]string{"alicloud", c.AccountID, c.Region}, ":") } func (c *Client) Services() *Services { diff --git a/plugins/source/alicloud/client/multiplexers.go b/plugins/source/alicloud/client/multiplexers.go index 8eddba51408721..093841990694fe 100644 --- a/plugins/source/alicloud/client/multiplexers.go +++ b/plugins/source/alicloud/client/multiplexers.go @@ -39,13 +39,15 @@ func ServiceAccountRegionMultiplexer(service string) func(meta schema.ClientMeta return func(meta schema.ClientMeta) []schema.ClientMeta { var l = make([]schema.ClientMeta, 0) client := meta.(*Client) - for accountID := range client.services { + for accountID, accountRegions := range client.services { if regions, ok := ServiceRegions[service]; ok { for _, region := range regions { - l = append(l, client.WithAccountIDAndRegion(accountID, region)) + if _, regionConfigured := accountRegions[region]; regionConfigured { + l = append(l, client.WithAccountIDAndRegion(accountID, region)) + } } } else { - panic(fmt.Sprintf("service %s is not supported. Add it to client/service_regions.go", service)) + panic(fmt.Sprintf("service %s is not yet supported. Developer hint: add it to client/service_regions.go", service)) } } return l diff --git a/plugins/source/alicloud/client/services.go b/plugins/source/alicloud/client/services.go index 16b5a2dc2a2351..a858e45814418c 100644 --- a/plugins/source/alicloud/client/services.go +++ b/plugins/source/alicloud/client/services.go @@ -4,6 +4,7 @@ import ( "fmt" "github.com/aliyun/alibaba-cloud-sdk-go/services/bssopenapi" + "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" "github.com/aliyun/aliyun-oss-go-sdk/oss" "github.com/cloudquery/cloudquery/plugins/source/alicloud/client/services" ) @@ -23,8 +24,13 @@ func initServices(account AccountSpec, region string) (*Services, error) { if err != nil { return nil, fmt.Errorf("failed to initialize bssopenapi client: %w", err) } + ecsCli, err := ecs.NewClientWithAccessKey(region, account.AccessKey, account.SecretKey) + if err != nil { + return nil, fmt.Errorf("failed to initialize ecs client: %w", err) + } return &Services{ OSS: ossCli, BSS: bssCli, + ECS: ecsCli, }, nil } diff --git a/plugins/source/alicloud/client/testing.go b/plugins/source/alicloud/client/testing.go index 25ba3d150e8493..82c87fc45d4c58 100644 --- a/plugins/source/alicloud/client/testing.go +++ b/plugins/source/alicloud/client/testing.go @@ -56,7 +56,7 @@ func MockTestHelper(t *testing.T, table *schema.Table, builder func(*testing.T, Destinations: []string{"mock-destination"}, Spec: Spec{ Accounts: []AccountSpec{ - {Name: "test-account", Regions: []string{"test-region"}, AccessKey: "test-access-key", SecretKey: "test-secret-key"}, + {Name: "test-account", Regions: []string{"cn-hangzhou"}, AccessKey: "test-access-key", SecretKey: "test-secret-key"}, }, }, }) diff --git a/plugins/source/alicloud/docs/tables/README.md b/plugins/source/alicloud/docs/tables/README.md index bf251df109a082..7ed9052b547e08 100644 --- a/plugins/source/alicloud/docs/tables/README.md +++ b/plugins/source/alicloud/docs/tables/README.md @@ -4,5 +4,6 @@ - [alicloud_bss_bill](alicloud_bss_bill.md) - [alicloud_bss_bill_overview](alicloud_bss_bill_overview.md) +- [alicloud_ecs_instances](alicloud_ecs_instances.md) - [alicloud_oss_buckets](alicloud_oss_buckets.md) - [alicloud_oss_bucket_stats](alicloud_oss_bucket_stats.md) \ No newline at end of file diff --git a/plugins/source/alicloud/docs/tables/alicloud_ecs_instances.md b/plugins/source/alicloud/docs/tables/alicloud_ecs_instances.md new file mode 100644 index 00000000000000..66e87f3fdfa524 --- /dev/null +++ b/plugins/source/alicloud/docs/tables/alicloud_ecs_instances.md @@ -0,0 +1,93 @@ +# Table: alicloud_ecs_instances + +https://www.alibabacloud.com/help/en/elastic-compute-service/latest/describeinstances#t9865.html + +The composite primary key for this table is (**account_id**, **region_id**, **instance_id**). + +## Columns + +| Name | Type | +| ------------- | ------------- | +|_cq_source_name|String| +|_cq_sync_time|Timestamp| +|_cq_id|UUID| +|_cq_parent_id|UUID| +|account_id (PK)|String| +|hostname|String| +|image_id|String| +|instance_type|String| +|auto_release_time|String| +|last_invoked_time|String| +|os_type|String| +|device_available|Bool| +|instance_network_type|String| +|registration_time|String| +|local_storage_amount|Int| +|network_type|String| +|intranet_ip|String| +|is_spot|Bool| +|instance_charge_type|String| +|machine_id|String| +|private_pool_options_id|String| +|cluster_id|String| +|instance_name|String| +|private_pool_options_match_criteria|String| +|deployment_set_group_no|Int| +|credit_specification|String| +|gpu_amount|Int| +|connected|Bool| +|invocation_count|Int| +|start_time|String| +|zone_id|String| +|internet_max_bandwidth_in|Int| +|internet_charge_type|String| +|host_name|String| +|status|String| +|cpu|Int| +|isp|String| +|os_version|String| +|spot_price_limit|Float| +|os_name|String| +|os_name_en|String| +|serial_number|String| +|region_id (PK)|String| +|io_optimized|Bool| +|internet_max_bandwidth_out|Int| +|resource_group_id|String| +|activation_id|String| +|instance_type_family|String| +|instance_id (PK)|String| +|deployment_set_id|String| +|gpu_spec|String| +|description|String| +|recyclable|Bool| +|sale_cycle|String| +|expired_time|String| +|internet_ip|String| +|memory|Int| +|creation_time|String| +|agent_version|String| +|key_pair_name|String| +|hpc_cluster_id|String| +|local_storage_capacity|Int| +|vlan_id|String| +|stopped_mode|String| +|spot_strategy|String| +|spot_duration|Int| +|deletion_protection|Bool| +|security_group_ids|JSON| +|inner_ip_address|JSON| +|public_ip_address|JSON| +|rdma_ip_address|JSON| +|image_options|JSON| +|dedicated_host_attribute|JSON| +|ecs_capacity_reservation_attr|JSON| +|hibernation_options|JSON| +|dedicated_instance_attribute|JSON| +|eip_address|JSON| +|metadata_options|JSON| +|cpu_options|JSON| +|vpc_attributes|JSON| +|tags|JSON| +|network_interfaces|JSON| +|operation_locks|JSON| \ No newline at end of file diff --git a/plugins/source/alicloud/go.mod b/plugins/source/alicloud/go.mod index dfb24514a98076..755df16975a93a 100644 --- a/plugins/source/alicloud/go.mod +++ b/plugins/source/alicloud/go.mod @@ -6,7 +6,7 @@ require ( github.com/aliyun/alibaba-cloud-sdk-go v1.62.80 github.com/aliyun/aliyun-oss-go-sdk v2.2.6+incompatible github.com/cloudquery/codegen v0.2.1 - github.com/cloudquery/plugin-sdk v1.25.1 + github.com/cloudquery/plugin-sdk v1.27.0 github.com/golang/mock v1.4.4 github.com/pkg/errors v0.9.1 github.com/rs/zerolog v1.28.0 @@ -43,6 +43,3 @@ require ( gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect ) -replace ( - github.com/cloudquery/plugin-sdk v1.25.1 => ../../../../plugin-sdk -) \ No newline at end of file diff --git a/plugins/source/alicloud/go.sum b/plugins/source/alicloud/go.sum index 4cea6a7773324b..bc9dffc6f642a9 100644 --- a/plugins/source/alicloud/go.sum +++ b/plugins/source/alicloud/go.sum @@ -46,10 +46,8 @@ github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMn github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cloudquery/codegen v0.2.1 h1:AWpGNKIFUyzI7vulYADXi/3SoksUaNXgTgIMuSrTHZk= github.com/cloudquery/codegen v0.2.1/go.mod h1:oJxzUuOC79fP36vBPU1BJ7n+jgQemS33y/mbgNq6vfM= -github.com/cloudquery/plugin-sdk v1.25.0 h1:LnKWhX94AF8Y/GASzLCTlMF4rZX85KXcA4CjB2vERtc= -github.com/cloudquery/plugin-sdk v1.25.0/go.mod h1:teMPyCON3uPdMsHvzpSiOg+IK2sOR5Tf9dYLreoURzI= -github.com/cloudquery/plugin-sdk v1.25.1 h1:fIKQkPiZdOssAt41GrAEy1rW/4WIrsPJ8gW2JjR6izs= -github.com/cloudquery/plugin-sdk v1.25.1/go.mod h1:teMPyCON3uPdMsHvzpSiOg+IK2sOR5Tf9dYLreoURzI= +github.com/cloudquery/plugin-sdk v1.27.0 h1:DXuvnBt1gOB98umBZU6jltZEV6oxfsdEBIAbQXFcIx4= +github.com/cloudquery/plugin-sdk v1.27.0/go.mod h1:teMPyCON3uPdMsHvzpSiOg+IK2sOR5Tf9dYLreoURzI= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod h1:F5haX7vjVVG0kc13fIWeqUViNPyEJxv/OmvnBo0Yme4= diff --git a/plugins/source/alicloud/resources/plugin/plugin.go b/plugins/source/alicloud/resources/plugin/plugin.go index 9ee96ff3da4865..23f03d6dc4409d 100644 --- a/plugins/source/alicloud/resources/plugin/plugin.go +++ b/plugins/source/alicloud/resources/plugin/plugin.go @@ -3,6 +3,7 @@ package plugin import ( "github.com/cloudquery/cloudquery/plugins/source/alicloud/client" "github.com/cloudquery/cloudquery/plugins/source/alicloud/resources/services/bss" + "github.com/cloudquery/cloudquery/plugins/source/alicloud/resources/services/ecs" "github.com/cloudquery/cloudquery/plugins/source/alicloud/resources/services/oss" "github.com/cloudquery/plugin-sdk/plugins/source" "github.com/cloudquery/plugin-sdk/schema" @@ -20,6 +21,7 @@ func Plugin() *source.Plugin { []*schema.Table{ bss.BillOverview(), bss.Bill(), + ecs.Instances(), oss.Buckets(), }, client.New, diff --git a/plugins/source/alicloud/resources/services/ecs/instances_fetch_mock_test.go b/plugins/source/alicloud/resources/services/ecs/instances_fetch_mock_test.go index 6342b5f0d50c7a..a7e4b939e7e234 100644 --- a/plugins/source/alicloud/resources/services/ecs/instances_fetch_mock_test.go +++ b/plugins/source/alicloud/resources/services/ecs/instances_fetch_mock_test.go @@ -1,8 +1,12 @@ package ecs import ( + "io" + "net/http" + "strings" "testing" + "github.com/aliyun/alibaba-cloud-sdk-go/sdk/responses" "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" "github.com/cloudquery/cloudquery/plugins/source/alicloud/client" "github.com/cloudquery/cloudquery/plugins/source/alicloud/client/mocks" @@ -13,14 +17,30 @@ import ( func buildEcsInstances(t *testing.T, ctrl *gomock.Controller) client.Services { mock := mocks.NewMockEcsClient(ctrl) - var b ecs.DescribeInstancesResponse - if err := faker.FakeObject(&b); err != nil { + b := ecs.CreateDescribeInstancesResponse() + if err := faker.FakeObject(b); err != nil { t.Fatal(err) } - mock.EXPECT().DescribeInstances(gomock.Any()).Return(&b, nil) + b.BaseResponse = fakeSuccessRequest(t) + b.TotalCount = 2 + mock.EXPECT().DescribeInstances(gomock.Any()).Times(2).Return(b, nil) return client.Services{ECS: mock} } +func fakeSuccessRequest(t *testing.T) *responses.BaseResponse { + baseResponse := &responses.BaseResponse{} + resp := &http.Response{ + Status: http.StatusText(http.StatusOK), + StatusCode: http.StatusOK, + Body: io.NopCloser(strings.NewReader("{}")), + } + err := responses.Unmarshal(baseResponse, resp, "JSON") + if err != nil { + t.Fatal(err) + } + return baseResponse +} + func TestEcsInstances(t *testing.T) { client.MockTestHelper(t, Instances(), buildEcsInstances, client.TestOptions{}) } From abe5eb77fbdbc9040b1c1970754402d248373b93 Mon Sep 17 00:00:00 2001 From: Herman Schaaf Date: Tue, 17 Jan 2023 14:46:58 +0000 Subject: [PATCH 3/5] go mod tidy --- plugins/source/alicloud/go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/source/alicloud/go.mod b/plugins/source/alicloud/go.mod index c48666b61540c6..755df16975a93a 100644 --- a/plugins/source/alicloud/go.mod +++ b/plugins/source/alicloud/go.mod @@ -42,4 +42,4 @@ require ( google.golang.org/protobuf v1.28.1 // indirect gopkg.in/ini.v1 v1.67.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect -) \ No newline at end of file +) From df618bcef4b4a19140cd4dbd663521d3c9f53a6d Mon Sep 17 00:00:00 2001 From: Herman Schaaf Date: Tue, 17 Jan 2023 16:54:44 +0000 Subject: [PATCH 4/5] Fixes to PKs, timestamps, docs and automation --- .github/workflows/source_alicloud.yml | 85 +++++++++++++ .../workflows/wait_for_required_workflows.yml | 1 + plugins/source/alicloud/Makefile | 1 + plugins/source/alicloud/client/resolvers.go | 16 +++ .../resources/services/ecs/instances.go | 15 +++ .../resources/services/oss/bucket_stats.go | 31 ++++- .../resources/services/oss/buckets.go | 11 +- release-please-config.json | 1 + website/pages/docs/plugins/sources/_meta.json | 1 + .../docs/plugins/sources/alicloud/_meta.json | 4 + .../docs/plugins/sources/alicloud/overview.md | 115 ++++++++++++++++++ .../docs/plugins/sources/alicloud/tables.md | 9 ++ .../pages/docs/plugins/sources/overview.mdx | 51 ++++---- 13 files changed, 311 insertions(+), 30 deletions(-) create mode 100644 .github/workflows/source_alicloud.yml create mode 100644 website/pages/docs/plugins/sources/alicloud/_meta.json create mode 100644 website/pages/docs/plugins/sources/alicloud/overview.md create mode 100644 website/pages/docs/plugins/sources/alicloud/tables.md diff --git a/.github/workflows/source_alicloud.yml b/.github/workflows/source_alicloud.yml new file mode 100644 index 00000000000000..2e3d901e2886de --- /dev/null +++ b/.github/workflows/source_alicloud.yml @@ -0,0 +1,85 @@ +name: Source Plugin Alibaba Cloud Workflow + +on: + pull_request: + paths: + - "plugins/source/alicloud/**" + - ".github/workflows/source_alicloud.yml" + push: + branches: + - main + paths: + - "plugins/source/alicloud/**" + - ".github/workflows/source_alicloud.yml" + +jobs: + plugins-source-alicloud: + timeout-minutes: 30 + name: "plugins/source/alicloud" + runs-on: ubuntu-latest + defaults: + run: + working-directory: ./plugins/source/alicloud + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 2 + - name: Set up Go 1.x + uses: actions/setup-go@v3 + with: + go-version-file: plugins/source/alicloud/go.mod + cache: true + cache-dependency-path: plugins/source/alicloud/go.sum + - name: golangci-lint + uses: cloudquery/golangci-lint-action@master + with: + version: v1.50.1 + working-directory: plugins/source/alicloud + args: "--config ../../.golangci.yml" + - name: Get dependencies + run: go get -t -d ./... + - name: Build + run: go build . + - name: Test + run: make test + - name: gen + if: github.event_name == 'pull_request' + run: make gen + - name: Fail if generation updated files + if: github.event_name == 'pull_request' + run: test "$(git status -s | wc -l)" -eq 0 || (git status -s; exit 1) + validate-release: + timeout-minutes: 30 + runs-on: ubuntu-latest + env: + CGO_ENABLED: 0 + steps: + - name: Checkout + if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push' + uses: actions/checkout@v3 + - uses: actions/cache@v3 + if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push' + with: + path: | + ~/.cache/go-build + ~/go/pkg/mod + key: ${{ runner.os }}-go-1.19.4-release-cache-${{ hashFiles('plugins/source/alicloud/go.sum') }} + restore-keys: | + ${{ runner.os }}-go-1.19.4-release-cache-plugins-source-alicloud + - name: Set up Go + if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push' + uses: actions/setup-go@v3 + with: + go-version-file: plugins/source/alicloud/go.mod + - name: Install GoReleaser + if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push' + uses: goreleaser/goreleaser-action@v3 + with: + distribution: goreleaser-pro + version: latest + install-only: true + - name: Run GoReleaser Dry-Run + if: startsWith(github.head_ref, 'release-please--branches--main--components') || github.event_name == 'push' + run: goreleaser release --snapshot --rm-dist --skip-validate --skip-publish --skip-sign -f ./plugins/source/alicloud/.goreleaser.yaml + env: + GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} diff --git a/.github/workflows/wait_for_required_workflows.yml b/.github/workflows/wait_for_required_workflows.yml index 1d84651b4ce461..fa3d4205823ef2 100644 --- a/.github/workflows/wait_for_required_workflows.yml +++ b/.github/workflows/wait_for_required_workflows.yml @@ -41,6 +41,7 @@ jobs: } let actions = ["cli", "scaffold", + "plugins/source/alicloud", "plugins/source/aws", "plugins/source/azure", "plugins/source/azuredevops", diff --git a/plugins/source/alicloud/Makefile b/plugins/source/alicloud/Makefile index 915b9c1ae0f67c..c869da62ed16a1 100644 --- a/plugins/source/alicloud/Makefile +++ b/plugins/source/alicloud/Makefile @@ -30,6 +30,7 @@ gen-mocks: gen-docs: rm -rf ./docs/tables/* go run main.go doc ./docs/tables + sed 's_(\(.*\))_(https://github.com/cloudquery/cloudquery/blob/main/plugins/source/alicloud/docs/tables/\1)_' docs/tables/README.md > ../../../website/pages/docs/plugins/sources/alicloud/tables.md .PHONY: build build: diff --git a/plugins/source/alicloud/client/resolvers.go b/plugins/source/alicloud/client/resolvers.go index cb3b8444e9fa8c..87a6f04ccccc7e 100644 --- a/plugins/source/alicloud/client/resolvers.go +++ b/plugins/source/alicloud/client/resolvers.go @@ -2,8 +2,10 @@ package client import ( "context" + "time" "github.com/cloudquery/plugin-sdk/schema" + "github.com/thoas/go-funk" ) func ResolveAccount(_ context.Context, meta schema.ClientMeta, r *schema.Resource, _ schema.Column) error { @@ -15,3 +17,17 @@ func ResolveRegion(_ context.Context, meta schema.ClientMeta, r *schema.Resource client := meta.(*Client) return r.Set("region", client.Region) } + +func TimestampResolver(layout, path string) schema.ColumnResolver { + return func(_ context.Context, meta schema.ClientMeta, r *schema.Resource, c schema.Column) error { + s := funk.Get(r.Item, path, funk.WithAllowZero()).(string) + if s == "" { + return r.Set(c.Name, nil) + } + t, err := time.Parse(layout, s) + if err != nil { + return err + } + return r.Set(c.Name, t) + } +} diff --git a/plugins/source/alicloud/resources/services/ecs/instances.go b/plugins/source/alicloud/resources/services/ecs/instances.go index 0a23ca36f55d11..5def939a47e4e4 100644 --- a/plugins/source/alicloud/resources/services/ecs/instances.go +++ b/plugins/source/alicloud/resources/services/ecs/instances.go @@ -1,6 +1,9 @@ package ecs import ( + "reflect" + "strings" + "github.com/aliyun/alibaba-cloud-sdk-go/services/ecs" "github.com/cloudquery/cloudquery/plugins/source/alicloud/client" "github.com/cloudquery/plugin-sdk/schema" @@ -18,6 +21,18 @@ func Instances() *schema.Table { transformers.WithPrimaryKeys( "RegionId", "InstanceId", ), + transformers.WithTypeTransformer(func(f reflect.StructField) (schema.ValueType, error) { + if strings.HasSuffix(f.Name, "Time") { + return schema.TypeTimestamp, nil + } + return transformers.DefaultTypeTransformer(f) + }), + transformers.WithResolverTransformer(func(f reflect.StructField, path string) schema.ColumnResolver { + if strings.HasSuffix(f.Name, "Time") { + return client.TimestampResolver("2006-01-02T15:04Z", path) + } + return transformers.DefaultResolverTransformer(f, path) + }), ), Columns: []schema.Column{ { diff --git a/plugins/source/alicloud/resources/services/oss/bucket_stats.go b/plugins/source/alicloud/resources/services/oss/bucket_stats.go index 64bc5343253717..02953c53e2c1a8 100644 --- a/plugins/source/alicloud/resources/services/oss/bucket_stats.go +++ b/plugins/source/alicloud/resources/services/oss/bucket_stats.go @@ -1,7 +1,10 @@ package oss import ( + "reflect" + "github.com/aliyun/aliyun-oss-go-sdk/oss" + "github.com/cloudquery/cloudquery/plugins/source/alicloud/client" "github.com/cloudquery/plugin-sdk/schema" "github.com/cloudquery/plugin-sdk/transformers" ) @@ -12,10 +15,30 @@ func BucketStats() *schema.Table { Resolver: fetchOssBucketStats, Transform: transformers.TransformWithStruct( &oss.BucketStat{}, - transformers.WithPrimaryKeys( - "Name", - ), + transformers.WithTypeTransformer(func(f reflect.StructField) (schema.ValueType, error) { + if f.Name == "LastModifiedTime" { + return schema.TypeTimestamp, nil + } + return transformers.DefaultTypeTransformer(f) + }), ), - Columns: []schema.Column{}, + Columns: []schema.Column{ + { + Name: "bucket_name", + Type: schema.TypeString, + Resolver: schema.ParentColumnResolver("name"), + CreationOptions: schema.ColumnCreationOptions{ + PrimaryKey: true, + }, + }, + { + Name: "account_id", + Type: schema.TypeString, + Resolver: client.ResolveAccount, + CreationOptions: schema.ColumnCreationOptions{ + PrimaryKey: true, + }, + }, + }, } } diff --git a/plugins/source/alicloud/resources/services/oss/buckets.go b/plugins/source/alicloud/resources/services/oss/buckets.go index 8b13babc659937..28a337bd226d20 100644 --- a/plugins/source/alicloud/resources/services/oss/buckets.go +++ b/plugins/source/alicloud/resources/services/oss/buckets.go @@ -18,7 +18,16 @@ func Buckets() *schema.Table { "Name", ), ), - Columns: []schema.Column{}, + Columns: []schema.Column{ + { + Name: "account_id", + Type: schema.TypeString, + Resolver: client.ResolveAccount, + CreationOptions: schema.ColumnCreationOptions{ + PrimaryKey: true, + }, + }, + }, Relations: []*schema.Table{ BucketStats(), }, diff --git a/release-please-config.json b/release-please-config.json index d3907fdd11fd53..d1f44c510182b6 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -4,6 +4,7 @@ "packages": { "cli": { "component": "cli" }, "scaffold": { "component": "scaffold" }, + "plugins/source/alicloud": { "component": "plugins-source-alicloud" }, "plugins/source/aws": { "component": "plugins-source-aws" }, "plugins/source/azure": { "component": "plugins-source-azure" }, "plugins/source/azuredevops": { "component": "plugins-source-azuredevops" }, diff --git a/website/pages/docs/plugins/sources/_meta.json b/website/pages/docs/plugins/sources/_meta.json index 18998e094c07a7..ff6516ec9c1a3b 100644 --- a/website/pages/docs/plugins/sources/_meta.json +++ b/website/pages/docs/plugins/sources/_meta.json @@ -1,5 +1,6 @@ { "overview": "Overview", + "alicloud": "Alibaba Cloud", "aws": "AWS", "azure": "Azure", "azuredevops": "Azure DevOps", diff --git a/website/pages/docs/plugins/sources/alicloud/_meta.json b/website/pages/docs/plugins/sources/alicloud/_meta.json new file mode 100644 index 00000000000000..d2ba90ccfb4341 --- /dev/null +++ b/website/pages/docs/plugins/sources/alicloud/_meta.json @@ -0,0 +1,4 @@ +{ + "overview": "Overview", + "tables": "Tables" +} diff --git a/website/pages/docs/plugins/sources/alicloud/overview.md b/website/pages/docs/plugins/sources/alicloud/overview.md new file mode 100644 index 00000000000000..46765752e0e0c5 --- /dev/null +++ b/website/pages/docs/plugins/sources/alicloud/overview.md @@ -0,0 +1,115 @@ +# Alibaba Cloud Source Plugin + +import { getLatestVersion } from "../../../../../utils/versions"; +import { Badge } from "../../../../../components/Badge"; + + + +The Alibaba Cloud source plugin for CloudQuery extracts configuration from the [Alibaba Cloud (阿里云) API](https://www.alibabacloud.com/product/openapiexplorer) and loads it into any supported CloudQuery destination (e.g. PostgreSQL). + +## Configuration + +The following configuration syncs from Alibaba Cloud to a Postgres destination. The (top level) source spec section is described in the [Source Spec Reference](https://www.cloudquery.io/docs/reference/source-spec). The config for the `postgresql` destination is not shown here. See our [Quickstart](/docs/quickstart) if you need help setting up the destination. + +```yaml +kind: source +spec: + name: "alicloud" + path: "cloudquery/alicloud" + version: "VERSION_SOURCE_ALICLOUD" + tables: ["*"] + destinations: + - "postgresql" + spec: + accounts: + - name: my_account + regions: + - cn-hangzhou + - cn-beijing + - eu-west-1 + - us-west-1 + # ... + access_key: ${ALICLOUD_ACCESS_KEY} + secret_key: ${ALICLOUD_SECRET_KEY} +``` + +- `accounts` (array[object], required): + + A list of accounts to sync. Every account must have a unique name, and must specify at least one region. The `access_key` and `secret_key` are required and can be specified as environment variables, as shown in the example above. + - `name` (string, required): A unique name for the account. + - `regions` (array[string], required): A list of regions to sync. For example, `["cn-hangzhou", "cn-beijing"]`. + - `access_key` (string, required): A valid access key for the account + - `secret_key` (string, required): A valid secret key for the account, corresponding to the access key + +- `bill_history_months` (int, optional): + + The number of months of billing history to fetch for the `alicloud_bss_bill` and `alicloud_bss_bill_overview` tables. Defaults to 12. + + +See the [Alibaba documentation](https://www.alibabacloud.com/help/en/basics-for-beginners/latest/obtain-an-accesskey-pair) for how to obtain an AccessKey pair. + +## Example Queries + +### Find all ECS instances in a region + +```sql +select + instance_id, + os_name, + region_id, + start_time, + tags +from + alicloud_ecs_instances +where + region_id = 'eu-west-1'; +``` + +```text ++------------------------+--------------------------------------+-----------+-------------------+---------------+ +| instance_id | os_name | region_id | start_time | tags | +|------------------------+--------------------------------------+-----------+-------------------+---------------| +| i-xxxxxxxxxxxxxxxxxxxx | Alibaba Cloud Linux 3.2104 LTS 64位 | eu-west-1 | 2023-01-17T14:40Z | {"Tag": null} | ++------------------------+--------------------------------------+-----------+-------------------+---------------+ +``` + +### Query past bills + +```sql +select + product_name, + item, + pip_code, + currency, + adjust_amount +from + alicloud_bss_bill_overview; +``` + +```text ++------------------------+----------------+----------+----------+---------------+ +| product_name | item | pip_code | currency | adjust_amount | +|------------------------+----------------+----------+----------+---------------| +| Object Storage Service | PayAsYouGoBill | oss | USD | 0.0 | ++------------------------+----------------+----------+----------+---------------+ +``` + +### Query bucket stats + +```sql +select + account_id, + bucket_name, + object_count, + storage +from + alicloud_oss_bucket_stats; +``` + +```text ++------------+-------------+--------------+---------+ +| account_id | bucket_name | object_count | storage | +|------------+-------------+--------------+---------| +| test | cq-test | 2 | 29665 | ++------------+-------------+--------------+---------+ +``` \ No newline at end of file diff --git a/website/pages/docs/plugins/sources/alicloud/tables.md b/website/pages/docs/plugins/sources/alicloud/tables.md new file mode 100644 index 00000000000000..0fb42bf98cee02 --- /dev/null +++ b/website/pages/docs/plugins/sources/alicloud/tables.md @@ -0,0 +1,9 @@ +# Source Plugin: alicloud + +## Tables + +- [alicloud_bss_bill](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/alicloud/docs/tables/alicloud_bss_bill.md) +- [alicloud_bss_bill_overview](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/alicloud/docs/tables/alicloud_bss_bill_overview.md) +- [alicloud_ecs_instances](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/alicloud/docs/tables/alicloud_ecs_instances.md) +- [alicloud_oss_buckets](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/alicloud/docs/tables/alicloud_oss_buckets.md) + - [alicloud_oss_bucket_stats](https://github.com/cloudquery/cloudquery/blob/main/plugins/source/alicloud/docs/tables/alicloud_oss_bucket_stats.md) \ No newline at end of file diff --git a/website/pages/docs/plugins/sources/overview.mdx b/website/pages/docs/plugins/sources/overview.mdx index b1cd57d2af9827..5a2d96e38bd131 100644 --- a/website/pages/docs/plugins/sources/overview.mdx +++ b/website/pages/docs/plugins/sources/overview.mdx @@ -16,31 +16,32 @@ Official source plugins follow [release stages](#source-plugin-release-stages). type="source" plugins={ [ - { name: "AWS", stage:"GA" }, - { name: "Azure", stage:"GA" }, - { name: "GCP", stage:"GA" }, - { name: "DigitalOcean", stage:"GA" }, - { name: "Fastly", stage:"Preview" }, - { name: "GitHub", stage:"GA" }, - { name: "GitLab", stage:"Preview" }, - { name: "Hacker News", stage:"Preview", id: `hackernews` }, - { name: "Heroku", stage:"Preview" }, - { name: "k8s", stage:"Preview" }, - { name: "Okta", stage:"Preview" }, - { name: "Oracle", stage:"Preview"}, - { name: "Terraform", stage:"Preview" }, - { name: "Cloudflare", stage:"Preview" }, - { name: "Gandi", stage:"Preview" }, - { name: "Datadog", stage:"Preview" }, - { name: "Salesforce", stage:"Preview" }, - { name: "Slack", stage:"Preview" }, - { name: "Shopify", stage:"Preview" }, - { name: "Stripe", stage:"Preview" }, - { name: "PagerDuty", stage:"Preview"}, - { name: "Tailscale", stage:"Preview" }, - { name: "Vercel", stage:"Preview" }, - { name: "Snyk", stage:"Preview" }, - { name: "Azure DevOps", stage:"Preview", id: `azuredevops` }, + { name: "Alibaba Cloud", stage: "Preview", id: `alicloud` }, + { name: "AWS", stage: "GA" }, + { name: "Azure", stage: "GA" }, + { name: "GCP", stage: "GA" }, + { name: "DigitalOcean", stage: "GA" }, + { name: "Fastly", stage: "Preview" }, + { name: "GitHub", stage: "GA" }, + { name: "GitLab", stage: "Preview" }, + { name: "Hacker News", stage: "Preview", id: `hackernews` }, + { name: "Heroku", stage: "Preview" }, + { name: "k8s", stage: "Preview" }, + { name: "Okta", stage: "Preview" }, + { name: "Oracle", stage: "Preview" }, + { name: "Terraform", stage: "Preview" }, + { name: "Cloudflare", stage: "Preview" }, + { name: "Gandi", stage: "Preview" }, + { name: "Datadog", stage: "Preview" }, + { name: "Salesforce", stage: "Preview" }, + { name: "Slack", stage: "Preview" }, + { name: "Shopify", stage: "Preview" }, + { name: "Stripe", stage: "Preview" }, + { name: "PagerDuty", stage: "Preview"}, + { name: "Tailscale", stage: "Preview" }, + { name: "Vercel", stage: "Preview" }, + { name: "Snyk", stage: "Preview" }, + { name: "Azure DevOps", stage: "Preview", id: `azuredevops` }, ] } /> From ede932e23533a80040d41e81aa0fd65bf5a0a273 Mon Sep 17 00:00:00 2001 From: Herman Schaaf Date: Tue, 17 Jan 2023 17:03:39 +0000 Subject: [PATCH 5/5] Update docs --- .../alicloud/docs/tables/alicloud_ecs_instances.md | 12 ++++++------ .../docs/tables/alicloud_oss_bucket_stats.md | 8 +++++--- .../alicloud/docs/tables/alicloud_oss_buckets.md | 3 ++- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/plugins/source/alicloud/docs/tables/alicloud_ecs_instances.md b/plugins/source/alicloud/docs/tables/alicloud_ecs_instances.md index 66e87f3fdfa524..32c51c4b0d2af1 100644 --- a/plugins/source/alicloud/docs/tables/alicloud_ecs_instances.md +++ b/plugins/source/alicloud/docs/tables/alicloud_ecs_instances.md @@ -16,12 +16,12 @@ The composite primary key for this table is (**account_id**, **region_id**, **in |hostname|String| |image_id|String| |instance_type|String| -|auto_release_time|String| -|last_invoked_time|String| +|auto_release_time|Timestamp| +|last_invoked_time|Timestamp| |os_type|String| |device_available|Bool| |instance_network_type|String| -|registration_time|String| +|registration_time|Timestamp| |local_storage_amount|Int| |network_type|String| |intranet_ip|String| @@ -37,7 +37,7 @@ The composite primary key for this table is (**account_id**, **region_id**, **in |gpu_amount|Int| |connected|Bool| |invocation_count|Int| -|start_time|String| +|start_time|Timestamp| |zone_id|String| |internet_max_bandwidth_in|Int| |internet_charge_type|String| @@ -62,10 +62,10 @@ The composite primary key for this table is (**account_id**, **region_id**, **in |description|String| |recyclable|Bool| |sale_cycle|String| -|expired_time|String| +|expired_time|Timestamp| |internet_ip|String| |memory|Int| -|creation_time|String| +|creation_time|Timestamp| |agent_version|String| |key_pair_name|String| |hpc_cluster_id|String| diff --git a/plugins/source/alicloud/docs/tables/alicloud_oss_bucket_stats.md b/plugins/source/alicloud/docs/tables/alicloud_oss_bucket_stats.md index 55545ecf2d1e45..5c759b2aa1fab0 100644 --- a/plugins/source/alicloud/docs/tables/alicloud_oss_bucket_stats.md +++ b/plugins/source/alicloud/docs/tables/alicloud_oss_bucket_stats.md @@ -1,6 +1,6 @@ # Table: alicloud_oss_bucket_stats -The primary key for this table is **_cq_id**. +The composite primary key for this table is (**bucket_name**, **account_id**). ## Relations @@ -12,14 +12,16 @@ This table depends on [alicloud_oss_buckets](alicloud_oss_buckets.md). | ------------- | ------------- | |_cq_source_name|String| |_cq_sync_time|Timestamp| -|_cq_id (PK)|UUID| +|_cq_id|UUID| |_cq_parent_id|UUID| +|bucket_name (PK)|String| +|account_id (PK)|String| |xml_name|JSON| |storage|Int| |object_count|Int| |multipart_upload_count|Int| |live_channel_count|Int| -|last_modified_time|Int| +|last_modified_time|Timestamp| |standard_storage|Int| |standard_object_count|Int| |infrequent_access_storage|Int| diff --git a/plugins/source/alicloud/docs/tables/alicloud_oss_buckets.md b/plugins/source/alicloud/docs/tables/alicloud_oss_buckets.md index 38adcf8c95c94b..8cad5516e5e850 100644 --- a/plugins/source/alicloud/docs/tables/alicloud_oss_buckets.md +++ b/plugins/source/alicloud/docs/tables/alicloud_oss_buckets.md @@ -1,6 +1,6 @@ # Table: alicloud_oss_buckets -The primary key for this table is **name**. +The composite primary key for this table is (**account_id**, **name**). ## Relations @@ -15,6 +15,7 @@ The following tables depend on alicloud_oss_buckets: |_cq_sync_time|Timestamp| |_cq_id|UUID| |_cq_parent_id|UUID| +|account_id (PK)|String| |xml_name|JSON| |name (PK)|String| |location|String|