mock

package
v0.0.0-...-ab96290 Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 13 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 Builder

type Builder struct {
	MockController *gomock.Controller
	// contains filtered or unexported fields
}

Builder is an IBuilder implementation that knows how to produce a mocked AWS Client for testing purposes. To facilitate use of the mocks, this IBuilder's GetClient method always returns the same Client.

func (*Builder) GetClient

func (mp *Builder) GetClient(controllerName string, kubeClient client.Client, input awsclient.NewAwsClientInput) (awsclient.Client, error)

GetClient generates a mocked AWS client using the embedded MockController. The arguments are ignored, and the error is always nil. The returned client is a singleton for any given MockBuilder instance, so you can do e.g.

mp.GetClient(...).EXPECT()...

and then when the code uses a client created via GetClient(), it'll be using the same client.

type MockClient

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

MockClient is a mock of Client interface.

func GetMockClient

func GetMockClient(b awsclient.IBuilder) *MockClient

GetMockClient is a convenience method to be called only from tests. It returns the (singleton) mocked AWS Client as a MockClient so it can be EXPECT()ed upon.

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

func (m *MockClient) BatchDeleteBucketObjects(bucketName *string) error

BatchDeleteBucketObjects mocks base method.

func (*MockClient) ChangeResourceRecordSets

ChangeResourceRecordSets mocks base method.

func (*MockClient) CreateAccessKey

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

CreateAccessKey mocks base method.

func (*MockClient) CreateAccount

CreateAccount mocks base method.

func (*MockClient) CreateCase

CreateCase mocks base method.

func (*MockClient) CreateOrganizationalUnit

CreateOrganizationalUnit mocks base method.

func (*MockClient) CreatePolicy

func (m *MockClient) CreatePolicy(arg0 *iam.CreatePolicyInput) (*iam.CreatePolicyOutput, error)

CreatePolicy mocks base method.

func (*MockClient) CreateRole

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

CreateRole mocks base method.

func (*MockClient) CreateSubnet

func (m *MockClient) CreateSubnet(arg0 *ec2.CreateSubnetInput) (*ec2.CreateSubnetOutput, error)

CreateSubnet mocks base method.

func (*MockClient) CreateUser

func (m *MockClient) CreateUser(arg0 *iam.CreateUserInput) (*iam.CreateUserOutput, error)

CreateUser mocks base method.

func (*MockClient) CreateVpc

func (m *MockClient) CreateVpc(arg0 *ec2.CreateVpcInput) (*ec2.CreateVpcOutput, error)

CreateVpc 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) DeleteHostedZone

DeleteHostedZone mocks base method.

func (*MockClient) DeletePolicy

func (m *MockClient) DeletePolicy(input *iam.DeletePolicyInput) (*iam.DeletePolicyOutput, error)

DeletePolicy mocks base method.

func (*MockClient) DeletePolicyVersion

func (m *MockClient) DeletePolicyVersion(input *iam.DeletePolicyVersionInput) (*iam.DeletePolicyVersionOutput, error)

DeletePolicyVersion mocks base method.

func (*MockClient) DeleteRole

func (m *MockClient) DeleteRole(arg0 *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) DeleteSnapshot

func (m *MockClient) DeleteSnapshot(arg0 *ec2.DeleteSnapshotInput) (*ec2.DeleteSnapshotOutput, error)

DeleteSnapshot mocks base method.

func (*MockClient) DeleteSubnet

func (m *MockClient) DeleteSubnet(arg0 *ec2.DeleteSubnetInput) (*ec2.DeleteSubnetOutput, error)

DeleteSubnet 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) DeleteVolume

func (m *MockClient) DeleteVolume(arg0 *ec2.DeleteVolumeInput) (*ec2.DeleteVolumeOutput, error)

DeleteVolume mocks base method.

func (*MockClient) DeleteVpc

func (m *MockClient) DeleteVpc(arg0 *ec2.DeleteVpcInput) (*ec2.DeleteVpcOutput, error)

DeleteVpc mocks base method.

func (*MockClient) DeleteVpcEndpointServiceConfigurations

DeleteVpcEndpointServiceConfigurations mocks base method.

func (*MockClient) DescribeCases

DescribeCases mocks base method.

func (*MockClient) DescribeCreateAccountStatus

DescribeCreateAccountStatus mocks base method.

func (*MockClient) DescribeImages

func (m *MockClient) DescribeImages(arg0 *ec2.DescribeImagesInput) (*ec2.DescribeImagesOutput, error)

DescribeImages mocks base method.

func (*MockClient) DescribeInstanceStatus

func (m *MockClient) DescribeInstanceStatus(arg0 *ec2.DescribeInstanceStatusInput) (*ec2.DescribeInstanceStatusOutput, error)

DescribeInstanceStatus mocks base method.

func (*MockClient) DescribeInstanceTypes

func (m *MockClient) DescribeInstanceTypes(arg0 *ec2.DescribeInstanceTypesInput) (*ec2.DescribeInstanceTypesOutput, error)

DescribeInstanceTypes mocks base method.

func (*MockClient) DescribeInstances

func (m *MockClient) DescribeInstances(arg0 *ec2.DescribeInstancesInput) (*ec2.DescribeInstancesOutput, error)

DescribeInstances mocks base method.

func (*MockClient) DescribeRegions

func (m *MockClient) DescribeRegions(input *ec2.DescribeRegionsInput) (*ec2.DescribeRegionsOutput, error)

DescribeRegions mocks base method.

func (*MockClient) DescribeSnapshots

func (m *MockClient) DescribeSnapshots(arg0 *ec2.DescribeSnapshotsInput) (*ec2.DescribeSnapshotsOutput, error)

DescribeSnapshots mocks base method.

func (*MockClient) DescribeSubnets

func (m *MockClient) DescribeSubnets(arg0 *ec2.DescribeSubnetsInput) (*ec2.DescribeSubnetsOutput, error)

DescribeSubnets mocks base method.

func (*MockClient) DescribeVolumes

func (m *MockClient) DescribeVolumes(arg0 *ec2.DescribeVolumesInput) (*ec2.DescribeVolumesOutput, error)

DescribeVolumes mocks base method.

func (*MockClient) DescribeVpcEndpointServiceConfigurations

DescribeVpcEndpointServiceConfigurations mocks base method.

func (*MockClient) DescribeVpcs

func (m *MockClient) DescribeVpcs(arg0 *ec2.DescribeVpcsInput) (*ec2.DescribeVpcsOutput, error)

DescribeVpcs mocks base method.

func (*MockClient) DetachRolePolicy

func (m *MockClient) DetachRolePolicy(arg0 *iam.DetachRolePolicyInput) (*iam.DetachRolePolicyOutput, error)

DetachRolePolicy mocks base method.

func (*MockClient) DetachUserPolicy

func (m *MockClient) DetachUserPolicy(arg0 *iam.DetachUserPolicyInput) (*iam.DetachUserPolicyOutput, error)

DetachUserPolicy 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) EnableRegion

EnableRegion mocks base method.

func (*MockClient) GetCallerIdentity

func (m *MockClient) GetCallerIdentity(arg0 *sts.GetCallerIdentityInput) (*sts.GetCallerIdentityOutput, error)

GetCallerIdentity mocks base method.

func (*MockClient) GetFederationToken

func (m *MockClient) GetFederationToken(arg0 *sts.GetFederationTokenInput) (*sts.GetFederationTokenOutput, error)

GetFederationToken mocks base method.

func (*MockClient) GetPolicy

func (m *MockClient) GetPolicy(input *iam.GetPolicyInput) (*iam.GetPolicyOutput, error)

GetPolicy mocks base method.

func (*MockClient) GetPolicyVersion

func (m *MockClient) GetPolicyVersion(input *iam.GetPolicyVersionInput) (*iam.GetPolicyVersionOutput, error)

GetPolicyVersion mocks base method.

func (*MockClient) GetRegionOptStatus

GetRegionOptStatus mocks base method.

func (*MockClient) GetRole

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

GetRole mocks base method.

func (*MockClient) GetServiceQuota

GetServiceQuota 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) ListAccounts

ListAccounts mocks base method.

func (*MockClient) ListAttachedRolePolicies

ListAttachedRolePolicies mocks base method.

func (*MockClient) ListAttachedUserPolicies

ListAttachedUserPolicies mocks base method.

func (*MockClient) ListBuckets

func (m *MockClient) ListBuckets(arg0 *s3.ListBucketsInput) (*s3.ListBucketsOutput, error)

ListBuckets mocks base method.

func (*MockClient) ListChildren

ListChildren mocks base method.

func (*MockClient) ListCreateAccountStatus

ListCreateAccountStatus mocks base method.

func (*MockClient) ListHostedZones

ListHostedZones mocks base method.

func (*MockClient) ListObjectsV2

func (m *MockClient) ListObjectsV2(arg0 *s3.ListObjectsV2Input) (*s3.ListObjectsV2Output, error)

ListObjectsV2 mocks base method.

func (*MockClient) ListOrganizationalUnitsForParent

ListOrganizationalUnitsForParent mocks base method.

func (*MockClient) ListParents

ListParents mocks base method.

func (*MockClient) ListPolicies

func (m *MockClient) ListPolicies(arg0 *iam.ListPoliciesInput) (*iam.ListPoliciesOutput, error)

ListPolicies mocks base method.

func (*MockClient) ListPolicyVersions

func (m *MockClient) ListPolicyVersions(input *iam.ListPolicyVersionsInput) (*iam.ListPolicyVersionsOutput, error)

ListPolicyVersions mocks base method.

func (*MockClient) ListRequestedServiceQuotaChangeHistory

ListRequestedServiceQuotaChangeHistory mocks base method.

func (*MockClient) ListRequestedServiceQuotaChangeHistoryByQuota

ListRequestedServiceQuotaChangeHistoryByQuota mocks base method.

func (*MockClient) ListResourceRecordSets

ListResourceRecordSets 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) ListTagsForResource

ListTagsForResource mocks base method.

func (*MockClient) ListUserPolicies

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

ListUserPolicies mocks base method.

func (*MockClient) ListUserTags

func (m *MockClient) ListUserTags(arg0 *iam.ListUserTagsInput) (*iam.ListUserTagsOutput, error)

ListUserTags mocks base method.

func (*MockClient) ListUsers

func (m *MockClient) ListUsers(arg0 *iam.ListUsersInput) (*iam.ListUsersOutput, error)

ListUsers mocks base method.

func (*MockClient) ListUsersPages

func (m *MockClient) ListUsersPages(arg0 *iam.ListUsersInput, arg1 func(*iam.ListUsersOutput, bool) bool) error

ListUsersPages mocks base method.

func (*MockClient) MoveAccount

MoveAccount mocks base method.

func (*MockClient) PutRolePolicy

func (m *MockClient) PutRolePolicy(input *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) RequestServiceQuotaIncrease

RequestServiceQuotaIncrease mocks base method.

func (*MockClient) RunInstances

func (m *MockClient) RunInstances(arg0 *ec2.RunInstancesInput) (*ec2.Reservation, error)

RunInstances mocks base method.

func (*MockClient) TagResource

TagResource mocks base method.

func (*MockClient) TerminateInstances

func (m *MockClient) TerminateInstances(arg0 *ec2.TerminateInstancesInput) (*ec2.TerminateInstancesOutput, error)

TerminateInstances mocks base method.

func (*MockClient) UntagResource

UntagResource 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 any) *gomock.Call

AssumeRole indicates an expected call of AssumeRole.

func (*MockClientMockRecorder) AttachRolePolicy

func (mr *MockClientMockRecorder) AttachRolePolicy(arg0 any) *gomock.Call

AttachRolePolicy indicates an expected call of AttachRolePolicy.

func (*MockClientMockRecorder) AttachUserPolicy

func (mr *MockClientMockRecorder) AttachUserPolicy(arg0 any) *gomock.Call

AttachUserPolicy indicates an expected call of AttachUserPolicy.

func (*MockClientMockRecorder) BatchDeleteBucketObjects

func (mr *MockClientMockRecorder) BatchDeleteBucketObjects(bucketName any) *gomock.Call

BatchDeleteBucketObjects indicates an expected call of BatchDeleteBucketObjects.

func (*MockClientMockRecorder) ChangeResourceRecordSets

func (mr *MockClientMockRecorder) ChangeResourceRecordSets(arg0 any) *gomock.Call

ChangeResourceRecordSets indicates an expected call of ChangeResourceRecordSets.

func (*MockClientMockRecorder) CreateAccessKey

func (mr *MockClientMockRecorder) CreateAccessKey(arg0 any) *gomock.Call

CreateAccessKey indicates an expected call of CreateAccessKey.

func (*MockClientMockRecorder) CreateAccount

func (mr *MockClientMockRecorder) CreateAccount(arg0 any) *gomock.Call

CreateAccount indicates an expected call of CreateAccount.

func (*MockClientMockRecorder) CreateCase

func (mr *MockClientMockRecorder) CreateCase(arg0 any) *gomock.Call

CreateCase indicates an expected call of CreateCase.

func (*MockClientMockRecorder) CreateOrganizationalUnit

func (mr *MockClientMockRecorder) CreateOrganizationalUnit(arg0 any) *gomock.Call

CreateOrganizationalUnit indicates an expected call of CreateOrganizationalUnit.

func (*MockClientMockRecorder) CreatePolicy

func (mr *MockClientMockRecorder) CreatePolicy(arg0 any) *gomock.Call

CreatePolicy indicates an expected call of CreatePolicy.

func (*MockClientMockRecorder) CreateRole

func (mr *MockClientMockRecorder) CreateRole(arg0 any) *gomock.Call

CreateRole indicates an expected call of CreateRole.

func (*MockClientMockRecorder) CreateSubnet

func (mr *MockClientMockRecorder) CreateSubnet(arg0 any) *gomock.Call

CreateSubnet indicates an expected call of CreateSubnet.

func (*MockClientMockRecorder) CreateUser

func (mr *MockClientMockRecorder) CreateUser(arg0 any) *gomock.Call

CreateUser indicates an expected call of CreateUser.

func (*MockClientMockRecorder) CreateVpc

func (mr *MockClientMockRecorder) CreateVpc(arg0 any) *gomock.Call

CreateVpc indicates an expected call of CreateVpc.

func (*MockClientMockRecorder) DeleteAccessKey

func (mr *MockClientMockRecorder) DeleteAccessKey(arg0 any) *gomock.Call

DeleteAccessKey indicates an expected call of DeleteAccessKey.

func (*MockClientMockRecorder) DeleteBucket

func (mr *MockClientMockRecorder) DeleteBucket(arg0 any) *gomock.Call

DeleteBucket indicates an expected call of DeleteBucket.

func (*MockClientMockRecorder) DeleteHostedZone

func (mr *MockClientMockRecorder) DeleteHostedZone(arg0 any) *gomock.Call

DeleteHostedZone indicates an expected call of DeleteHostedZone.

func (*MockClientMockRecorder) DeletePolicy

func (mr *MockClientMockRecorder) DeletePolicy(input any) *gomock.Call

DeletePolicy indicates an expected call of DeletePolicy.

func (*MockClientMockRecorder) DeletePolicyVersion

func (mr *MockClientMockRecorder) DeletePolicyVersion(input any) *gomock.Call

DeletePolicyVersion indicates an expected call of DeletePolicyVersion.

func (*MockClientMockRecorder) DeleteRole

func (mr *MockClientMockRecorder) DeleteRole(arg0 any) *gomock.Call

DeleteRole indicates an expected call of DeleteRole.

func (*MockClientMockRecorder) DeleteRolePolicy

func (mr *MockClientMockRecorder) DeleteRolePolicy(input any) *gomock.Call

DeleteRolePolicy indicates an expected call of DeleteRolePolicy.

func (*MockClientMockRecorder) DeleteSnapshot

func (mr *MockClientMockRecorder) DeleteSnapshot(arg0 any) *gomock.Call

DeleteSnapshot indicates an expected call of DeleteSnapshot.

func (*MockClientMockRecorder) DeleteSubnet

func (mr *MockClientMockRecorder) DeleteSubnet(arg0 any) *gomock.Call

DeleteSubnet indicates an expected call of DeleteSubnet.

func (*MockClientMockRecorder) DeleteUser

func (mr *MockClientMockRecorder) DeleteUser(arg0 any) *gomock.Call

DeleteUser indicates an expected call of DeleteUser.

func (*MockClientMockRecorder) DeleteUserPolicy

func (mr *MockClientMockRecorder) DeleteUserPolicy(arg0 any) *gomock.Call

DeleteUserPolicy indicates an expected call of DeleteUserPolicy.

func (*MockClientMockRecorder) DeleteVolume

func (mr *MockClientMockRecorder) DeleteVolume(arg0 any) *gomock.Call

DeleteVolume indicates an expected call of DeleteVolume.

func (*MockClientMockRecorder) DeleteVpc

func (mr *MockClientMockRecorder) DeleteVpc(arg0 any) *gomock.Call

DeleteVpc indicates an expected call of DeleteVpc.

func (*MockClientMockRecorder) DeleteVpcEndpointServiceConfigurations

func (mr *MockClientMockRecorder) DeleteVpcEndpointServiceConfigurations(arg0 any) *gomock.Call

DeleteVpcEndpointServiceConfigurations indicates an expected call of DeleteVpcEndpointServiceConfigurations.

func (*MockClientMockRecorder) DescribeCases

func (mr *MockClientMockRecorder) DescribeCases(arg0 any) *gomock.Call

DescribeCases indicates an expected call of DescribeCases.

func (*MockClientMockRecorder) DescribeCreateAccountStatus

func (mr *MockClientMockRecorder) DescribeCreateAccountStatus(arg0 any) *gomock.Call

DescribeCreateAccountStatus indicates an expected call of DescribeCreateAccountStatus.

func (*MockClientMockRecorder) DescribeImages

func (mr *MockClientMockRecorder) DescribeImages(arg0 any) *gomock.Call

DescribeImages indicates an expected call of DescribeImages.

func (*MockClientMockRecorder) DescribeInstanceStatus

func (mr *MockClientMockRecorder) DescribeInstanceStatus(arg0 any) *gomock.Call

DescribeInstanceStatus indicates an expected call of DescribeInstanceStatus.

func (*MockClientMockRecorder) DescribeInstanceTypes

func (mr *MockClientMockRecorder) DescribeInstanceTypes(arg0 any) *gomock.Call

DescribeInstanceTypes indicates an expected call of DescribeInstanceTypes.

func (*MockClientMockRecorder) DescribeInstances

func (mr *MockClientMockRecorder) DescribeInstances(arg0 any) *gomock.Call

DescribeInstances indicates an expected call of DescribeInstances.

func (*MockClientMockRecorder) DescribeRegions

func (mr *MockClientMockRecorder) DescribeRegions(input any) *gomock.Call

DescribeRegions indicates an expected call of DescribeRegions.

func (*MockClientMockRecorder) DescribeSnapshots

func (mr *MockClientMockRecorder) DescribeSnapshots(arg0 any) *gomock.Call

DescribeSnapshots indicates an expected call of DescribeSnapshots.

func (*MockClientMockRecorder) DescribeSubnets

func (mr *MockClientMockRecorder) DescribeSubnets(arg0 any) *gomock.Call

DescribeSubnets indicates an expected call of DescribeSubnets.

func (*MockClientMockRecorder) DescribeVolumes

func (mr *MockClientMockRecorder) DescribeVolumes(arg0 any) *gomock.Call

DescribeVolumes indicates an expected call of DescribeVolumes.

func (*MockClientMockRecorder) DescribeVpcEndpointServiceConfigurations

func (mr *MockClientMockRecorder) DescribeVpcEndpointServiceConfigurations(input any) *gomock.Call

DescribeVpcEndpointServiceConfigurations indicates an expected call of DescribeVpcEndpointServiceConfigurations.

func (*MockClientMockRecorder) DescribeVpcs

func (mr *MockClientMockRecorder) DescribeVpcs(arg0 any) *gomock.Call

DescribeVpcs indicates an expected call of DescribeVpcs.

func (*MockClientMockRecorder) DetachRolePolicy

func (mr *MockClientMockRecorder) DetachRolePolicy(arg0 any) *gomock.Call

DetachRolePolicy indicates an expected call of DetachRolePolicy.

func (*MockClientMockRecorder) DetachUserPolicy

func (mr *MockClientMockRecorder) DetachUserPolicy(arg0 any) *gomock.Call

DetachUserPolicy indicates an expected call of DetachUserPolicy.

func (*MockClientMockRecorder) EnableRegion

func (mr *MockClientMockRecorder) EnableRegion(arg0 any) *gomock.Call

EnableRegion indicates an expected call of EnableRegion.

func (*MockClientMockRecorder) GetCallerIdentity

func (mr *MockClientMockRecorder) GetCallerIdentity(arg0 any) *gomock.Call

GetCallerIdentity indicates an expected call of GetCallerIdentity.

func (*MockClientMockRecorder) GetFederationToken

func (mr *MockClientMockRecorder) GetFederationToken(arg0 any) *gomock.Call

GetFederationToken indicates an expected call of GetFederationToken.

func (*MockClientMockRecorder) GetPolicy

func (mr *MockClientMockRecorder) GetPolicy(input any) *gomock.Call

GetPolicy indicates an expected call of GetPolicy.

func (*MockClientMockRecorder) GetPolicyVersion

func (mr *MockClientMockRecorder) GetPolicyVersion(input any) *gomock.Call

GetPolicyVersion indicates an expected call of GetPolicyVersion.

func (*MockClientMockRecorder) GetRegionOptStatus

func (mr *MockClientMockRecorder) GetRegionOptStatus(input any) *gomock.Call

GetRegionOptStatus indicates an expected call of GetRegionOptStatus.

func (*MockClientMockRecorder) GetRole

func (mr *MockClientMockRecorder) GetRole(arg0 any) *gomock.Call

GetRole indicates an expected call of GetRole.

func (*MockClientMockRecorder) GetServiceQuota

func (mr *MockClientMockRecorder) GetServiceQuota(arg0 any) *gomock.Call

GetServiceQuota indicates an expected call of GetServiceQuota.

func (*MockClientMockRecorder) GetUser

func (mr *MockClientMockRecorder) GetUser(arg0 any) *gomock.Call

GetUser indicates an expected call of GetUser.

func (*MockClientMockRecorder) ListAccessKeys

func (mr *MockClientMockRecorder) ListAccessKeys(arg0 any) *gomock.Call

ListAccessKeys indicates an expected call of ListAccessKeys.

func (*MockClientMockRecorder) ListAccounts

func (mr *MockClientMockRecorder) ListAccounts(arg0 any) *gomock.Call

ListAccounts indicates an expected call of ListAccounts.

func (*MockClientMockRecorder) ListAttachedRolePolicies

func (mr *MockClientMockRecorder) ListAttachedRolePolicies(arg0 any) *gomock.Call

ListAttachedRolePolicies indicates an expected call of ListAttachedRolePolicies.

func (*MockClientMockRecorder) ListAttachedUserPolicies

func (mr *MockClientMockRecorder) ListAttachedUserPolicies(arg0 any) *gomock.Call

ListAttachedUserPolicies indicates an expected call of ListAttachedUserPolicies.

func (*MockClientMockRecorder) ListBuckets

func (mr *MockClientMockRecorder) ListBuckets(arg0 any) *gomock.Call

ListBuckets indicates an expected call of ListBuckets.

func (*MockClientMockRecorder) ListChildren

func (mr *MockClientMockRecorder) ListChildren(arg0 any) *gomock.Call

ListChildren indicates an expected call of ListChildren.

func (*MockClientMockRecorder) ListCreateAccountStatus

func (mr *MockClientMockRecorder) ListCreateAccountStatus(arg0 any) *gomock.Call

ListCreateAccountStatus indicates an expected call of ListCreateAccountStatus.

func (*MockClientMockRecorder) ListHostedZones

func (mr *MockClientMockRecorder) ListHostedZones(arg0 any) *gomock.Call

ListHostedZones indicates an expected call of ListHostedZones.

func (*MockClientMockRecorder) ListObjectsV2

func (mr *MockClientMockRecorder) ListObjectsV2(arg0 any) *gomock.Call

ListObjectsV2 indicates an expected call of ListObjectsV2.

func (*MockClientMockRecorder) ListOrganizationalUnitsForParent

func (mr *MockClientMockRecorder) ListOrganizationalUnitsForParent(arg0 any) *gomock.Call

ListOrganizationalUnitsForParent indicates an expected call of ListOrganizationalUnitsForParent.

func (*MockClientMockRecorder) ListParents

func (mr *MockClientMockRecorder) ListParents(arg0 any) *gomock.Call

ListParents indicates an expected call of ListParents.

func (*MockClientMockRecorder) ListPolicies

func (mr *MockClientMockRecorder) ListPolicies(arg0 any) *gomock.Call

ListPolicies indicates an expected call of ListPolicies.

func (*MockClientMockRecorder) ListPolicyVersions

func (mr *MockClientMockRecorder) ListPolicyVersions(input any) *gomock.Call

ListPolicyVersions indicates an expected call of ListPolicyVersions.

func (*MockClientMockRecorder) ListRequestedServiceQuotaChangeHistory

func (mr *MockClientMockRecorder) ListRequestedServiceQuotaChangeHistory(arg0 any) *gomock.Call

ListRequestedServiceQuotaChangeHistory indicates an expected call of ListRequestedServiceQuotaChangeHistory.

func (*MockClientMockRecorder) ListRequestedServiceQuotaChangeHistoryByQuota

func (mr *MockClientMockRecorder) ListRequestedServiceQuotaChangeHistoryByQuota(arg0 any) *gomock.Call

ListRequestedServiceQuotaChangeHistoryByQuota indicates an expected call of ListRequestedServiceQuotaChangeHistoryByQuota.

func (*MockClientMockRecorder) ListResourceRecordSets

func (mr *MockClientMockRecorder) ListResourceRecordSets(arg0 any) *gomock.Call

ListResourceRecordSets indicates an expected call of ListResourceRecordSets.

func (*MockClientMockRecorder) ListRolePolicies

func (mr *MockClientMockRecorder) ListRolePolicies(input any) *gomock.Call

ListRolePolicies indicates an expected call of ListRolePolicies.

func (*MockClientMockRecorder) ListRoles

func (mr *MockClientMockRecorder) ListRoles(input any) *gomock.Call

ListRoles indicates an expected call of ListRoles.

func (*MockClientMockRecorder) ListTagsForResource

func (mr *MockClientMockRecorder) ListTagsForResource(input any) *gomock.Call

ListTagsForResource indicates an expected call of ListTagsForResource.

func (*MockClientMockRecorder) ListUserPolicies

func (mr *MockClientMockRecorder) ListUserPolicies(arg0 any) *gomock.Call

ListUserPolicies indicates an expected call of ListUserPolicies.

func (*MockClientMockRecorder) ListUserTags

func (mr *MockClientMockRecorder) ListUserTags(arg0 any) *gomock.Call

ListUserTags indicates an expected call of ListUserTags.

func (*MockClientMockRecorder) ListUsers

func (mr *MockClientMockRecorder) ListUsers(arg0 any) *gomock.Call

ListUsers indicates an expected call of ListUsers.

func (*MockClientMockRecorder) ListUsersPages

func (mr *MockClientMockRecorder) ListUsersPages(arg0, arg1 any) *gomock.Call

ListUsersPages indicates an expected call of ListUsersPages.

func (*MockClientMockRecorder) MoveAccount

func (mr *MockClientMockRecorder) MoveAccount(arg0 any) *gomock.Call

MoveAccount indicates an expected call of MoveAccount.

func (*MockClientMockRecorder) PutRolePolicy

func (mr *MockClientMockRecorder) PutRolePolicy(input any) *gomock.Call

PutRolePolicy indicates an expected call of PutRolePolicy.

func (*MockClientMockRecorder) PutUserPolicy

func (mr *MockClientMockRecorder) PutUserPolicy(arg0 any) *gomock.Call

PutUserPolicy indicates an expected call of PutUserPolicy.

func (*MockClientMockRecorder) RequestServiceQuotaIncrease

func (mr *MockClientMockRecorder) RequestServiceQuotaIncrease(arg0 any) *gomock.Call

RequestServiceQuotaIncrease indicates an expected call of RequestServiceQuotaIncrease.

func (*MockClientMockRecorder) RunInstances

func (mr *MockClientMockRecorder) RunInstances(arg0 any) *gomock.Call

RunInstances indicates an expected call of RunInstances.

func (*MockClientMockRecorder) TagResource

func (mr *MockClientMockRecorder) TagResource(arg0 any) *gomock.Call

TagResource indicates an expected call of TagResource.

func (*MockClientMockRecorder) TerminateInstances

func (mr *MockClientMockRecorder) TerminateInstances(arg0 any) *gomock.Call

TerminateInstances indicates an expected call of TerminateInstances.

func (*MockClientMockRecorder) UntagResource

func (mr *MockClientMockRecorder) UntagResource(input any) *gomock.Call

UntagResource indicates an expected call of UntagResource.

type MockIBuilder

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

MockIBuilder is a mock of IBuilder interface.

func NewMockIBuilder

func NewMockIBuilder(ctrl *gomock.Controller) *MockIBuilder

NewMockIBuilder creates a new mock instance.

func (*MockIBuilder) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockIBuilder) GetClient

func (m *MockIBuilder) GetClient(controllerName string, kubeClient client.Client, input awsclient.NewAwsClientInput) (awsclient.Client, error)

GetClient mocks base method.

type MockIBuilderMockRecorder

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

MockIBuilderMockRecorder is the mock recorder for MockIBuilder.

func (*MockIBuilderMockRecorder) GetClient

func (mr *MockIBuilderMockRecorder) GetClient(controllerName, kubeClient, input any) *gomock.Call

GetClient indicates an expected call of GetClient.

Jump to

Keyboard shortcuts

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