Documentation
¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockClient
- func (m *MockClient) AssumeRole(arg0 *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error)
- func (m *MockClient) AttachRolePolicy(arg0 *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error)
- func (m *MockClient) AttachUserPolicy(arg0 *iam.AttachUserPolicyInput) (*iam.AttachUserPolicyOutput, error)
- func (m *MockClient) CreateAccessKey(arg0 *iam.CreateAccessKeyInput) (*iam.CreateAccessKeyOutput, error)
- func (m *MockClient) CreateCostCategoryDefinition(input *costexplorer.CreateCostCategoryDefinitionInput) (*costexplorer.CreateCostCategoryDefinitionOutput, error)
- func (m *MockClient) CreatePolicy(arg0 *iam.CreatePolicyInput) (*iam.CreatePolicyOutput, error)
- func (m *MockClient) CreateUser(arg0 *iam.CreateUserInput) (*iam.CreateUserOutput, error)
- func (m *MockClient) DeleteAccessKey(arg0 *iam.DeleteAccessKeyInput) (*iam.DeleteAccessKeyOutput, error)
- func (m *MockClient) DeleteBucket(arg0 *s3.DeleteBucketInput) (*s3.DeleteBucketOutput, error)
- func (m *MockClient) DeleteObjects(arg0 *s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error)
- func (m *MockClient) DeletePolicy(arg0 *iam.DeletePolicyInput) (*iam.DeletePolicyOutput, error)
- func (m *MockClient) DescribeOrganizationalUnit(input *organizations.DescribeOrganizationalUnitInput) (*organizations.DescribeOrganizationalUnitOutput, error)
- func (m *MockClient) DetachRolePolicy(arg0 *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)
- func (m *MockClient) EXPECT() *MockClientMockRecorder
- func (m *MockClient) GetCallerIdentity(arg0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error)
- func (m *MockClient) GetCostAndUsage(input *costexplorer.GetCostAndUsageInput) (*costexplorer.GetCostAndUsageOutput, error)
- func (m *MockClient) GetFederationToken(arg0 *sts.GetFederationTokenInput) (*sts.GetFederationTokenOutput, error)
- func (m *MockClient) GetUser(arg0 *iam.GetUserInput) (*iam.GetUserOutput, error)
- func (m *MockClient) ListAccessKeys(arg0 *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)
- func (m *MockClient) ListAccountsForParent(input *organizations.ListAccountsForParentInput) (*organizations.ListAccountsForParentOutput, error)
- func (m *MockClient) ListAttachedRolePolicies(arg0 *iam.ListAttachedRolePoliciesInput) (*iam.ListAttachedRolePoliciesOutput, error)
- func (m *MockClient) ListBuckets(arg0 *s3.ListBucketsInput) (*s3.ListBucketsOutput, error)
- func (m *MockClient) ListCostCategoryDefinitions(input *costexplorer.ListCostCategoryDefinitionsInput) (*costexplorer.ListCostCategoryDefinitionsOutput, error)
- func (m *MockClient) ListObjects(arg0 *s3.ListObjectsInput) (*s3.ListObjectsOutput, error)
- func (m *MockClient) ListOrganizationalUnitsForParent(input *organizations.ListOrganizationalUnitsForParentInput) (*organizations.ListOrganizationalUnitsForParentOutput, error)
- func (m *MockClient) ListUsers(arg0 *iam.ListUsersInput) (*iam.ListUsersOutput, error)
- type MockClientMockRecorder
- func (mr *MockClientMockRecorder) AssumeRole(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AttachRolePolicy(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) AttachUserPolicy(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateAccessKey(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateCostCategoryDefinition(input interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreatePolicy(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) CreateUser(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteAccessKey(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteBucket(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeleteObjects(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DeletePolicy(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DescribeOrganizationalUnit(input interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) DetachRolePolicy(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCallerIdentity(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetCostAndUsage(input interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetFederationToken(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) GetUser(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListAccessKeys(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListAccountsForParent(input interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListAttachedRolePolicies(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListBuckets(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListCostCategoryDefinitions(input interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListObjects(arg0 interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListOrganizationalUnitsForParent(input interface{}) *gomock.Call
- func (mr *MockClientMockRecorder) ListUsers(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
type MockClient struct {
// contains filtered or unexported fields
}
MockClient is a mock of Client interface.
func NewMockClient ¶
func NewMockClient(ctrl *gomock.Controller) *MockClient
NewMockClient creates a new mock instance.
func (*MockClient) AssumeRole ¶
func (m *MockClient) AssumeRole(arg0 *sts.AssumeRoleInput) (*sts.AssumeRoleOutput, error)
AssumeRole mocks base method.
func (*MockClient) AttachRolePolicy ¶
func (m *MockClient) AttachRolePolicy(arg0 *iam.AttachRolePolicyInput) (*iam.AttachRolePolicyOutput, error)
AttachRolePolicy mocks base method.
func (*MockClient) AttachUserPolicy ¶
func (m *MockClient) AttachUserPolicy(arg0 *iam.AttachUserPolicyInput) (*iam.AttachUserPolicyOutput, error)
AttachUserPolicy mocks base method.
func (*MockClient) CreateAccessKey ¶
func (m *MockClient) CreateAccessKey(arg0 *iam.CreateAccessKeyInput) (*iam.CreateAccessKeyOutput, error)
CreateAccessKey mocks base method.
func (*MockClient) CreateCostCategoryDefinition ¶
func (m *MockClient) CreateCostCategoryDefinition(input *costexplorer.CreateCostCategoryDefinitionInput) (*costexplorer.CreateCostCategoryDefinitionOutput, error)
CreateCostCategoryDefinition mocks base method.
func (*MockClient) CreatePolicy ¶
func (m *MockClient) CreatePolicy(arg0 *iam.CreatePolicyInput) (*iam.CreatePolicyOutput, error)
CreatePolicy mocks base method.
func (*MockClient) CreateUser ¶
func (m *MockClient) CreateUser(arg0 *iam.CreateUserInput) (*iam.CreateUserOutput, error)
CreateUser mocks base method.
func (*MockClient) DeleteAccessKey ¶
func (m *MockClient) DeleteAccessKey(arg0 *iam.DeleteAccessKeyInput) (*iam.DeleteAccessKeyOutput, error)
DeleteAccessKey mocks base method.
func (*MockClient) DeleteBucket ¶
func (m *MockClient) DeleteBucket(arg0 *s3.DeleteBucketInput) (*s3.DeleteBucketOutput, error)
DeleteBucket mocks base method.
func (*MockClient) DeleteObjects ¶
func (m *MockClient) DeleteObjects(arg0 *s3.DeleteObjectsInput) (*s3.DeleteObjectsOutput, error)
DeleteObjects mocks base method.
func (*MockClient) DeletePolicy ¶
func (m *MockClient) DeletePolicy(arg0 *iam.DeletePolicyInput) (*iam.DeletePolicyOutput, error)
DeletePolicy mocks base method.
func (*MockClient) DescribeOrganizationalUnit ¶
func (m *MockClient) DescribeOrganizationalUnit(input *organizations.DescribeOrganizationalUnitInput) (*organizations.DescribeOrganizationalUnitOutput, error)
DescribeOrganizationalUnit mocks base method.
func (*MockClient) DetachRolePolicy ¶
func (m *MockClient) DetachRolePolicy(arg0 *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)
DetachRolePolicy mocks base method.
func (*MockClient) EXPECT ¶
func (m *MockClient) EXPECT() *MockClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClient) GetCallerIdentity ¶
func (m *MockClient) GetCallerIdentity(arg0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error)
GetCallerIdentity mocks base method.
func (*MockClient) GetCostAndUsage ¶
func (m *MockClient) GetCostAndUsage(input *costexplorer.GetCostAndUsageInput) (*costexplorer.GetCostAndUsageOutput, error)
GetCostAndUsage mocks base method.
func (*MockClient) GetFederationToken ¶
func (m *MockClient) GetFederationToken(arg0 *sts.GetFederationTokenInput) (*sts.GetFederationTokenOutput, error)
GetFederationToken mocks base method.
func (*MockClient) GetUser ¶
func (m *MockClient) GetUser(arg0 *iam.GetUserInput) (*iam.GetUserOutput, error)
GetUser mocks base method.
func (*MockClient) ListAccessKeys ¶
func (m *MockClient) ListAccessKeys(arg0 *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)
ListAccessKeys mocks base method.
func (*MockClient) ListAccountsForParent ¶
func (m *MockClient) ListAccountsForParent(input *organizations.ListAccountsForParentInput) (*organizations.ListAccountsForParentOutput, error)
ListAccountsForParent mocks base method.
func (*MockClient) ListAttachedRolePolicies ¶
func (m *MockClient) ListAttachedRolePolicies(arg0 *iam.ListAttachedRolePoliciesInput) (*iam.ListAttachedRolePoliciesOutput, error)
ListAttachedRolePolicies mocks base method.
func (*MockClient) ListBuckets ¶
func (m *MockClient) ListBuckets(arg0 *s3.ListBucketsInput) (*s3.ListBucketsOutput, error)
ListBuckets mocks base method.
func (*MockClient) ListCostCategoryDefinitions ¶
func (m *MockClient) ListCostCategoryDefinitions(input *costexplorer.ListCostCategoryDefinitionsInput) (*costexplorer.ListCostCategoryDefinitionsOutput, error)
ListCostCategoryDefinitions mocks base method.
func (*MockClient) ListObjects ¶
func (m *MockClient) ListObjects(arg0 *s3.ListObjectsInput) (*s3.ListObjectsOutput, error)
ListObjects mocks base method.
func (*MockClient) ListOrganizationalUnitsForParent ¶
func (m *MockClient) ListOrganizationalUnitsForParent(input *organizations.ListOrganizationalUnitsForParentInput) (*organizations.ListOrganizationalUnitsForParentOutput, error)
ListOrganizationalUnitsForParent mocks base method.
func (*MockClient) ListUsers ¶
func (m *MockClient) ListUsers(arg0 *iam.ListUsersInput) (*iam.ListUsersOutput, error)
ListUsers mocks base method.
type MockClientMockRecorder ¶
type MockClientMockRecorder struct {
// contains filtered or unexported fields
}
MockClientMockRecorder is the mock recorder for MockClient.
func (*MockClientMockRecorder) AssumeRole ¶
func (mr *MockClientMockRecorder) AssumeRole(arg0 interface{}) *gomock.Call
AssumeRole indicates an expected call of AssumeRole.
func (*MockClientMockRecorder) AttachRolePolicy ¶
func (mr *MockClientMockRecorder) AttachRolePolicy(arg0 interface{}) *gomock.Call
AttachRolePolicy indicates an expected call of AttachRolePolicy.
func (*MockClientMockRecorder) AttachUserPolicy ¶
func (mr *MockClientMockRecorder) AttachUserPolicy(arg0 interface{}) *gomock.Call
AttachUserPolicy indicates an expected call of AttachUserPolicy.
func (*MockClientMockRecorder) CreateAccessKey ¶
func (mr *MockClientMockRecorder) CreateAccessKey(arg0 interface{}) *gomock.Call
CreateAccessKey indicates an expected call of CreateAccessKey.
func (*MockClientMockRecorder) CreateCostCategoryDefinition ¶
func (mr *MockClientMockRecorder) CreateCostCategoryDefinition(input interface{}) *gomock.Call
CreateCostCategoryDefinition indicates an expected call of CreateCostCategoryDefinition.
func (*MockClientMockRecorder) CreatePolicy ¶
func (mr *MockClientMockRecorder) CreatePolicy(arg0 interface{}) *gomock.Call
CreatePolicy indicates an expected call of CreatePolicy.
func (*MockClientMockRecorder) CreateUser ¶
func (mr *MockClientMockRecorder) CreateUser(arg0 interface{}) *gomock.Call
CreateUser indicates an expected call of CreateUser.
func (*MockClientMockRecorder) DeleteAccessKey ¶
func (mr *MockClientMockRecorder) DeleteAccessKey(arg0 interface{}) *gomock.Call
DeleteAccessKey indicates an expected call of DeleteAccessKey.
func (*MockClientMockRecorder) DeleteBucket ¶
func (mr *MockClientMockRecorder) DeleteBucket(arg0 interface{}) *gomock.Call
DeleteBucket indicates an expected call of DeleteBucket.
func (*MockClientMockRecorder) DeleteObjects ¶
func (mr *MockClientMockRecorder) DeleteObjects(arg0 interface{}) *gomock.Call
DeleteObjects indicates an expected call of DeleteObjects.
func (*MockClientMockRecorder) DeletePolicy ¶
func (mr *MockClientMockRecorder) DeletePolicy(arg0 interface{}) *gomock.Call
DeletePolicy indicates an expected call of DeletePolicy.
func (*MockClientMockRecorder) DescribeOrganizationalUnit ¶
func (mr *MockClientMockRecorder) DescribeOrganizationalUnit(input interface{}) *gomock.Call
DescribeOrganizationalUnit indicates an expected call of DescribeOrganizationalUnit.
func (*MockClientMockRecorder) DetachRolePolicy ¶
func (mr *MockClientMockRecorder) DetachRolePolicy(arg0 interface{}) *gomock.Call
DetachRolePolicy indicates an expected call of DetachRolePolicy.
func (*MockClientMockRecorder) GetCallerIdentity ¶
func (mr *MockClientMockRecorder) GetCallerIdentity(arg0 interface{}) *gomock.Call
GetCallerIdentity indicates an expected call of GetCallerIdentity.
func (*MockClientMockRecorder) GetCostAndUsage ¶
func (mr *MockClientMockRecorder) GetCostAndUsage(input interface{}) *gomock.Call
GetCostAndUsage indicates an expected call of GetCostAndUsage.
func (*MockClientMockRecorder) GetFederationToken ¶
func (mr *MockClientMockRecorder) GetFederationToken(arg0 interface{}) *gomock.Call
GetFederationToken indicates an expected call of GetFederationToken.
func (*MockClientMockRecorder) GetUser ¶
func (mr *MockClientMockRecorder) GetUser(arg0 interface{}) *gomock.Call
GetUser indicates an expected call of GetUser.
func (*MockClientMockRecorder) ListAccessKeys ¶
func (mr *MockClientMockRecorder) ListAccessKeys(arg0 interface{}) *gomock.Call
ListAccessKeys indicates an expected call of ListAccessKeys.
func (*MockClientMockRecorder) ListAccountsForParent ¶
func (mr *MockClientMockRecorder) ListAccountsForParent(input interface{}) *gomock.Call
ListAccountsForParent indicates an expected call of ListAccountsForParent.
func (*MockClientMockRecorder) ListAttachedRolePolicies ¶
func (mr *MockClientMockRecorder) ListAttachedRolePolicies(arg0 interface{}) *gomock.Call
ListAttachedRolePolicies indicates an expected call of ListAttachedRolePolicies.
func (*MockClientMockRecorder) ListBuckets ¶
func (mr *MockClientMockRecorder) ListBuckets(arg0 interface{}) *gomock.Call
ListBuckets indicates an expected call of ListBuckets.
func (*MockClientMockRecorder) ListCostCategoryDefinitions ¶
func (mr *MockClientMockRecorder) ListCostCategoryDefinitions(input interface{}) *gomock.Call
ListCostCategoryDefinitions indicates an expected call of ListCostCategoryDefinitions.
func (*MockClientMockRecorder) ListObjects ¶
func (mr *MockClientMockRecorder) ListObjects(arg0 interface{}) *gomock.Call
ListObjects indicates an expected call of ListObjects.
func (*MockClientMockRecorder) ListOrganizationalUnitsForParent ¶
func (mr *MockClientMockRecorder) ListOrganizationalUnitsForParent(input interface{}) *gomock.Call
ListOrganizationalUnitsForParent indicates an expected call of ListOrganizationalUnitsForParent.
func (*MockClientMockRecorder) ListUsers ¶
func (mr *MockClientMockRecorder) ListUsers(arg0 interface{}) *gomock.Call
ListUsers indicates an expected call of ListUsers.