mock

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock is a generated GoMock package.

Index

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) CreateAccessKey

func (m *MockClient) CreateAccessKey(arg0 *iam.CreateAccessKeyInput) (*iam.CreateAccessKeyOutput, error)

CreateAccessKey mocks base method.

func (*MockClient) CreateBucket

func (m *MockClient) CreateBucket(arg0 *s3.CreateBucketInput) (*s3.CreateBucketOutput, error)

CreateBucket mocks base method.

func (*MockClient) CreateCloudFrontDistributionWithTags

func (m *MockClient) CreateCloudFrontDistributionWithTags(input *cloudfront.CreateDistributionWithTagsInput) (*cloudfront.CreateDistributionWithTagsOutput, error)

CreateCloudFrontDistributionWithTags mocks base method.

func (*MockClient) CreateCloudFrontOriginAccessIdentity

CreateCloudFrontOriginAccessIdentity mocks base method.

func (*MockClient) CreateOpenIDConnectProvider

CreateOpenIDConnectProvider mocks base method.

func (*MockClient) CreateRole

func (m *MockClient) CreateRole(arg0 *iam.CreateRoleInput) (*iam.CreateRoleOutput, error)

CreateRole 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(input *s3.DeleteBucketInput) (*s3.DeleteBucketOutput, error)

DeleteBucket mocks base method.

func (*MockClient) DeleteCloudFrontDistribution

func (m *MockClient) DeleteCloudFrontDistribution(input *cloudfront.DeleteDistributionInput) (*cloudfront.DeleteDistributionOutput, error)

DeleteCloudFrontDistribution mocks base method.

func (*MockClient) DeleteCloudFrontOriginAccessIdentity

DeleteCloudFrontOriginAccessIdentity mocks base method.

func (*MockClient) DeleteObject

func (m *MockClient) DeleteObject(input *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)

DeleteObject mocks base method.

func (*MockClient) DeleteOpenIDConnectProvider

DeleteOpenIDConnectProvider mocks base method.

func (*MockClient) DeleteRole

func (m *MockClient) DeleteRole(input *iam.DeleteRoleInput) (*iam.DeleteRoleOutput, error)

DeleteRole mocks base method.

func (*MockClient) DeleteRolePolicy

func (m *MockClient) DeleteRolePolicy(input *iam.DeleteRolePolicyInput) (*iam.DeleteRolePolicyOutput, error)

DeleteRolePolicy mocks base method.

func (*MockClient) DeleteUser

func (m *MockClient) DeleteUser(arg0 *iam.DeleteUserInput) (*iam.DeleteUserOutput, error)

DeleteUser mocks base method.

func (*MockClient) DeleteUserPolicy

func (m *MockClient) DeleteUserPolicy(arg0 *iam.DeleteUserPolicyInput) (*iam.DeleteUserPolicyOutput, error)

DeleteUserPolicy 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) GetBucketTagging

func (m *MockClient) GetBucketTagging(input *s3.GetBucketTaggingInput) (*s3.GetBucketTaggingOutput, error)

GetBucketTagging mocks base method.

func (*MockClient) GetCloudFrontDistribution

func (m *MockClient) GetCloudFrontDistribution(input *cloudfront.GetDistributionInput) (*cloudfront.GetDistributionOutput, error)

GetCloudFrontDistribution mocks base method.

func (*MockClient) GetCloudFrontOriginAccessIdentity

GetCloudFrontOriginAccessIdentity mocks base method.

func (*MockClient) GetObjectTagging

func (m *MockClient) GetObjectTagging(input *s3.GetObjectTaggingInput) (*s3.GetObjectTaggingOutput, error)

GetObjectTagging mocks base method.

func (*MockClient) GetOpenIDConnectProvider

func (m *MockClient) GetOpenIDConnectProvider(input *iam.GetOpenIDConnectProviderInput) (*iam.GetOpenIDConnectProviderOutput, error)

GetOpenIDConnectProvider mocks base method.

func (*MockClient) GetRole

func (m *MockClient) GetRole(input *iam.GetRoleInput) (*iam.GetRoleOutput, error)

GetRole mocks base method.

func (*MockClient) GetUser

func (m *MockClient) GetUser(arg0 *iam.GetUserInput) (*iam.GetUserOutput, error)

GetUser mocks base method.

func (*MockClient) GetUserPolicy

func (m *MockClient) GetUserPolicy(arg0 *iam.GetUserPolicyInput) (*iam.GetUserPolicyOutput, error)

GetUserPolicy mocks base method.

func (*MockClient) ListAccessKeys

func (m *MockClient) ListAccessKeys(arg0 *iam.ListAccessKeysInput) (*iam.ListAccessKeysOutput, error)

ListAccessKeys mocks base method.

func (*MockClient) ListCloudFrontDistributions

func (m *MockClient) ListCloudFrontDistributions(input *cloudfront.ListDistributionsInput) (*cloudfront.ListDistributionsOutput, error)

ListCloudFrontDistributions mocks base method.

func (*MockClient) ListCloudFrontOriginAccessIdentities

ListCloudFrontOriginAccessIdentities mocks base method.

func (*MockClient) ListObjects

func (m *MockClient) ListObjects(input *s3.ListObjectsInput) (*s3.ListObjectsOutput, error)

ListObjects mocks base method.

func (*MockClient) ListOpenIDConnectProviders

ListOpenIDConnectProviders mocks base method.

func (*MockClient) ListRolePolicies

func (m *MockClient) ListRolePolicies(input *iam.ListRolePoliciesInput) (*iam.ListRolePoliciesOutput, error)

ListRolePolicies mocks base method.

func (*MockClient) ListRoles

func (m *MockClient) ListRoles(input *iam.ListRolesInput) (*iam.ListRolesOutput, error)

ListRoles mocks base method.

func (*MockClient) ListTagsForCloudFrontResource

func (m *MockClient) ListTagsForCloudFrontResource(input *cloudfront.ListTagsForResourceInput) (*cloudfront.ListTagsForResourceOutput, error)

ListTagsForCloudFrontResource mocks base method.

func (*MockClient) ListUserPolicies

func (m *MockClient) ListUserPolicies(arg0 *iam.ListUserPoliciesInput) (*iam.ListUserPoliciesOutput, error)

ListUserPolicies mocks base method.

func (*MockClient) PutBucketPolicy

func (m *MockClient) PutBucketPolicy(input *s3.PutBucketPolicyInput) (*s3.PutBucketPolicyOutput, error)

PutBucketPolicy mocks base method.

func (*MockClient) PutBucketTagging

func (m *MockClient) PutBucketTagging(arg0 *s3.PutBucketTaggingInput) (*s3.PutBucketTaggingOutput, error)

PutBucketTagging mocks base method.

func (*MockClient) PutObject

func (m *MockClient) PutObject(arg0 *s3.PutObjectInput) (*s3.PutObjectOutput, error)

PutObject mocks base method.

func (*MockClient) PutPublicAccessBlock

func (m *MockClient) PutPublicAccessBlock(input *s3.PutPublicAccessBlockInput) (*s3.PutPublicAccessBlockOutput, error)

PutPublicAccessBlock mocks base method.

func (*MockClient) PutRolePolicy

func (m *MockClient) PutRolePolicy(arg0 *iam.PutRolePolicyInput) (*iam.PutRolePolicyOutput, error)

PutRolePolicy mocks base method.

func (*MockClient) PutUserPolicy

func (m *MockClient) PutUserPolicy(arg0 *iam.PutUserPolicyInput) (*iam.PutUserPolicyOutput, error)

PutUserPolicy mocks base method.

func (*MockClient) SimulatePrincipalPolicy

func (m *MockClient) SimulatePrincipalPolicy(arg0 *iam.SimulatePrincipalPolicyInput) (*iam.SimulatePolicyResponse, error)

SimulatePrincipalPolicy mocks base method.

func (*MockClient) SimulatePrincipalPolicyPages

func (m *MockClient) SimulatePrincipalPolicyPages(arg0 *iam.SimulatePrincipalPolicyInput, arg1 func(*iam.SimulatePolicyResponse, bool) bool) error

SimulatePrincipalPolicyPages mocks base method.

func (*MockClient) TagOpenIDConnectProvider

TagOpenIDConnectProvider mocks base method.

func (*MockClient) TagUser

func (m *MockClient) TagUser(arg0 *iam.TagUserInput) (*iam.TagUserOutput, error)

TagUser mocks base method.

func (*MockClient) UpdateAssumeRolePolicy

func (m *MockClient) UpdateAssumeRolePolicy(arg0 *iam.UpdateAssumeRolePolicyInput) (*iam.UpdateAssumeRolePolicyOutput, error)

UpdateAssumeRolePolicy mocks base method.

func (*MockClient) UpdateCloudFrontDistribution

func (m *MockClient) UpdateCloudFrontDistribution(input *cloudfront.UpdateDistributionInput) (*cloudfront.UpdateDistributionOutput, error)

UpdateCloudFrontDistribution mocks base method.

type MockClientMockRecorder

type MockClientMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) CreateAccessKey

func (mr *MockClientMockRecorder) CreateAccessKey(arg0 interface{}) *gomock.Call

CreateAccessKey indicates an expected call of CreateAccessKey.

func (*MockClientMockRecorder) CreateBucket

func (mr *MockClientMockRecorder) CreateBucket(arg0 interface{}) *gomock.Call

CreateBucket indicates an expected call of CreateBucket.

func (*MockClientMockRecorder) CreateCloudFrontDistributionWithTags

func (mr *MockClientMockRecorder) CreateCloudFrontDistributionWithTags(input interface{}) *gomock.Call

CreateCloudFrontDistributionWithTags indicates an expected call of CreateCloudFrontDistributionWithTags.

func (*MockClientMockRecorder) CreateCloudFrontOriginAccessIdentity

func (mr *MockClientMockRecorder) CreateCloudFrontOriginAccessIdentity(input interface{}) *gomock.Call

CreateCloudFrontOriginAccessIdentity indicates an expected call of CreateCloudFrontOriginAccessIdentity.

func (*MockClientMockRecorder) CreateOpenIDConnectProvider

func (mr *MockClientMockRecorder) CreateOpenIDConnectProvider(arg0 interface{}) *gomock.Call

CreateOpenIDConnectProvider indicates an expected call of CreateOpenIDConnectProvider.

func (*MockClientMockRecorder) CreateRole

func (mr *MockClientMockRecorder) CreateRole(arg0 interface{}) *gomock.Call

CreateRole indicates an expected call of CreateRole.

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(input interface{}) *gomock.Call

DeleteBucket indicates an expected call of DeleteBucket.

func (*MockClientMockRecorder) DeleteCloudFrontDistribution

func (mr *MockClientMockRecorder) DeleteCloudFrontDistribution(input interface{}) *gomock.Call

DeleteCloudFrontDistribution indicates an expected call of DeleteCloudFrontDistribution.

func (*MockClientMockRecorder) DeleteCloudFrontOriginAccessIdentity

func (mr *MockClientMockRecorder) DeleteCloudFrontOriginAccessIdentity(input interface{}) *gomock.Call

DeleteCloudFrontOriginAccessIdentity indicates an expected call of DeleteCloudFrontOriginAccessIdentity.

func (*MockClientMockRecorder) DeleteObject

func (mr *MockClientMockRecorder) DeleteObject(input interface{}) *gomock.Call

DeleteObject indicates an expected call of DeleteObject.

func (*MockClientMockRecorder) DeleteOpenIDConnectProvider

func (mr *MockClientMockRecorder) DeleteOpenIDConnectProvider(input interface{}) *gomock.Call

DeleteOpenIDConnectProvider indicates an expected call of DeleteOpenIDConnectProvider.

func (*MockClientMockRecorder) DeleteRole

func (mr *MockClientMockRecorder) DeleteRole(input interface{}) *gomock.Call

DeleteRole indicates an expected call of DeleteRole.

func (*MockClientMockRecorder) DeleteRolePolicy

func (mr *MockClientMockRecorder) DeleteRolePolicy(input interface{}) *gomock.Call

DeleteRolePolicy indicates an expected call of DeleteRolePolicy.

func (*MockClientMockRecorder) DeleteUser

func (mr *MockClientMockRecorder) DeleteUser(arg0 interface{}) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockClientMockRecorder) DeleteUserPolicy

func (mr *MockClientMockRecorder) DeleteUserPolicy(arg0 interface{}) *gomock.Call

DeleteUserPolicy indicates an expected call of DeleteUserPolicy.

func (*MockClientMockRecorder) GetBucketTagging

func (mr *MockClientMockRecorder) GetBucketTagging(input interface{}) *gomock.Call

GetBucketTagging indicates an expected call of GetBucketTagging.

func (*MockClientMockRecorder) GetCloudFrontDistribution

func (mr *MockClientMockRecorder) GetCloudFrontDistribution(input interface{}) *gomock.Call

GetCloudFrontDistribution indicates an expected call of GetCloudFrontDistribution.

func (*MockClientMockRecorder) GetCloudFrontOriginAccessIdentity

func (mr *MockClientMockRecorder) GetCloudFrontOriginAccessIdentity(input interface{}) *gomock.Call

GetCloudFrontOriginAccessIdentity indicates an expected call of GetCloudFrontOriginAccessIdentity.

func (*MockClientMockRecorder) GetObjectTagging

func (mr *MockClientMockRecorder) GetObjectTagging(input interface{}) *gomock.Call

GetObjectTagging indicates an expected call of GetObjectTagging.

func (*MockClientMockRecorder) GetOpenIDConnectProvider

func (mr *MockClientMockRecorder) GetOpenIDConnectProvider(input interface{}) *gomock.Call

GetOpenIDConnectProvider indicates an expected call of GetOpenIDConnectProvider.

func (*MockClientMockRecorder) GetRole

func (mr *MockClientMockRecorder) GetRole(input interface{}) *gomock.Call

GetRole indicates an expected call of GetRole.

func (*MockClientMockRecorder) GetUser

func (mr *MockClientMockRecorder) GetUser(arg0 interface{}) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockClientMockRecorder) GetUserPolicy

func (mr *MockClientMockRecorder) GetUserPolicy(arg0 interface{}) *gomock.Call

GetUserPolicy indicates an expected call of GetUserPolicy.

func (*MockClientMockRecorder) ListAccessKeys

func (mr *MockClientMockRecorder) ListAccessKeys(arg0 interface{}) *gomock.Call

ListAccessKeys indicates an expected call of ListAccessKeys.

func (*MockClientMockRecorder) ListCloudFrontDistributions

func (mr *MockClientMockRecorder) ListCloudFrontDistributions(input interface{}) *gomock.Call

ListCloudFrontDistributions indicates an expected call of ListCloudFrontDistributions.

func (*MockClientMockRecorder) ListCloudFrontOriginAccessIdentities

func (mr *MockClientMockRecorder) ListCloudFrontOriginAccessIdentities(input interface{}) *gomock.Call

ListCloudFrontOriginAccessIdentities indicates an expected call of ListCloudFrontOriginAccessIdentities.

func (*MockClientMockRecorder) ListObjects

func (mr *MockClientMockRecorder) ListObjects(input interface{}) *gomock.Call

ListObjects indicates an expected call of ListObjects.

func (*MockClientMockRecorder) ListOpenIDConnectProviders

func (mr *MockClientMockRecorder) ListOpenIDConnectProviders(arg0 interface{}) *gomock.Call

ListOpenIDConnectProviders indicates an expected call of ListOpenIDConnectProviders.

func (*MockClientMockRecorder) ListRolePolicies

func (mr *MockClientMockRecorder) ListRolePolicies(input interface{}) *gomock.Call

ListRolePolicies indicates an expected call of ListRolePolicies.

func (*MockClientMockRecorder) ListRoles

func (mr *MockClientMockRecorder) ListRoles(input interface{}) *gomock.Call

ListRoles indicates an expected call of ListRoles.

func (*MockClientMockRecorder) ListTagsForCloudFrontResource

func (mr *MockClientMockRecorder) ListTagsForCloudFrontResource(input interface{}) *gomock.Call

ListTagsForCloudFrontResource indicates an expected call of ListTagsForCloudFrontResource.

func (*MockClientMockRecorder) ListUserPolicies

func (mr *MockClientMockRecorder) ListUserPolicies(arg0 interface{}) *gomock.Call

ListUserPolicies indicates an expected call of ListUserPolicies.

func (*MockClientMockRecorder) PutBucketPolicy

func (mr *MockClientMockRecorder) PutBucketPolicy(input interface{}) *gomock.Call

PutBucketPolicy indicates an expected call of PutBucketPolicy.

func (*MockClientMockRecorder) PutBucketTagging

func (mr *MockClientMockRecorder) PutBucketTagging(arg0 interface{}) *gomock.Call

PutBucketTagging indicates an expected call of PutBucketTagging.

func (*MockClientMockRecorder) PutObject

func (mr *MockClientMockRecorder) PutObject(arg0 interface{}) *gomock.Call

PutObject indicates an expected call of PutObject.

func (*MockClientMockRecorder) PutPublicAccessBlock

func (mr *MockClientMockRecorder) PutPublicAccessBlock(input interface{}) *gomock.Call

PutPublicAccessBlock indicates an expected call of PutPublicAccessBlock.

func (*MockClientMockRecorder) PutRolePolicy

func (mr *MockClientMockRecorder) PutRolePolicy(arg0 interface{}) *gomock.Call

PutRolePolicy indicates an expected call of PutRolePolicy.

func (*MockClientMockRecorder) PutUserPolicy

func (mr *MockClientMockRecorder) PutUserPolicy(arg0 interface{}) *gomock.Call

PutUserPolicy indicates an expected call of PutUserPolicy.

func (*MockClientMockRecorder) SimulatePrincipalPolicy

func (mr *MockClientMockRecorder) SimulatePrincipalPolicy(arg0 interface{}) *gomock.Call

SimulatePrincipalPolicy indicates an expected call of SimulatePrincipalPolicy.

func (*MockClientMockRecorder) SimulatePrincipalPolicyPages

func (mr *MockClientMockRecorder) SimulatePrincipalPolicyPages(arg0, arg1 interface{}) *gomock.Call

SimulatePrincipalPolicyPages indicates an expected call of SimulatePrincipalPolicyPages.

func (*MockClientMockRecorder) TagOpenIDConnectProvider

func (mr *MockClientMockRecorder) TagOpenIDConnectProvider(arg0 interface{}) *gomock.Call

TagOpenIDConnectProvider indicates an expected call of TagOpenIDConnectProvider.

func (*MockClientMockRecorder) TagUser

func (mr *MockClientMockRecorder) TagUser(arg0 interface{}) *gomock.Call

TagUser indicates an expected call of TagUser.

func (*MockClientMockRecorder) UpdateAssumeRolePolicy

func (mr *MockClientMockRecorder) UpdateAssumeRolePolicy(arg0 interface{}) *gomock.Call

UpdateAssumeRolePolicy indicates an expected call of UpdateAssumeRolePolicy.

func (*MockClientMockRecorder) UpdateCloudFrontDistribution

func (mr *MockClientMockRecorder) UpdateCloudFrontDistribution(input interface{}) *gomock.Call

UpdateCloudFrontDistribution indicates an expected call of UpdateCloudFrontDistribution.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL