Documentation ¶
Index ¶
- type MockCreateAccessKey
- type MockDeleteAccessKey
- type MockIAMAccessKeyAPI
- func (m MockIAMAccessKeyAPI) CreateAccessKey(ctx context.Context, params *iam.CreateAccessKeyInput, ...) (*iam.CreateAccessKeyOutput, error)
- func (m MockIAMAccessKeyAPI) DeleteAccessKey(ctx context.Context, params *iam.DeleteAccessKeyInput, ...) (*iam.DeleteAccessKeyOutput, error)
- func (m MockIAMAccessKeyAPI) ListAccessKeys(ctx context.Context, params *iam.ListAccessKeysInput, ...) (*iam.ListAccessKeysOutput, error)
- type MockIAMAccessKeyParams
- type MockListAccessKeys
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCreateAccessKey ¶
type MockCreateAccessKey func(ctx context.Context, params *iam.CreateAccessKeyInput, optFns ...func(*iam.Options)) (*iam.CreateAccessKeyOutput, error)
MockCreateAccessKey is a type that represents a function that mock IAM's ListAccessKeys.
func NewMockCreateAccessKeyAPI ¶
func NewMockCreateAccessKeyAPI() MockCreateAccessKey
type MockDeleteAccessKey ¶
type MockDeleteAccessKey func(ctx context.Context, params *iam.DeleteAccessKeyInput, optFns ...func(*iam.Options)) (*iam.DeleteAccessKeyOutput, error)
MockDeleteAccessKey is a type that represents a function that mock IAM's ListAccessKeys.
func NewMockDeleteAccessKeyAPI ¶
func NewMockDeleteAccessKeyAPI() MockDeleteAccessKey
type MockIAMAccessKeyAPI ¶
type MockIAMAccessKeyAPI struct { ListAccessKeysAPI MockListAccessKeys CreateAccessKeyAPI MockCreateAccessKey DeleteAccessKeyAPI MockDeleteAccessKey }
MockACMAPI is a struct that represents an ACM client.
func NewMockIAMAccessKeyAPI ¶
func NewMockIAMAccessKeyAPI(mockParams MockIAMAccessKeyParams) MockIAMAccessKeyAPI
func (MockIAMAccessKeyAPI) CreateAccessKey ¶
func (m MockIAMAccessKeyAPI) CreateAccessKey(ctx context.Context, params *iam.CreateAccessKeyInput, optFns ...func(*iam.Options)) (*iam.CreateAccessKeyOutput, error)
CreateAccessKeyAPI returns a function that mock original of ACM DescribeCertificate.
func (MockIAMAccessKeyAPI) DeleteAccessKey ¶
func (m MockIAMAccessKeyAPI) DeleteAccessKey(ctx context.Context, params *iam.DeleteAccessKeyInput, optFns ...func(*iam.Options)) (*iam.DeleteAccessKeyOutput, error)
CreateAccessKeyAPI returns a function that mock original of ACM DescribeCertificate.
func (MockIAMAccessKeyAPI) ListAccessKeys ¶
func (m MockIAMAccessKeyAPI) ListAccessKeys(ctx context.Context, params *iam.ListAccessKeysInput, optFns ...func(*iam.Options)) (*iam.ListAccessKeysOutput, error)
ListAccessKeys returns a function that mock original of IAM ListAccessKeys.
type MockIAMAccessKeyParams ¶
type MockIAMAccessKeyParams struct { ListAccessKeysOutput *iam.ListAccessKeysOutput CreateAccessKeyOutput *iam.CreateAccessKeyOutput DeleteAccessKeyOutput *iam.DeleteAccessKeyOutput }
type MockListAccessKeys ¶
type MockListAccessKeys func(ctx context.Context, params *iam.ListAccessKeysInput, optFns ...func(*iam.Options)) (*iam.ListAccessKeysOutput, error)
MockListAccessKeys is a type that represents a function that mock IAM's ListAccessKeys.
func NewMockListAccessKeysAPI ¶
func NewMockListAccessKeysAPI() MockListAccessKeys
Click to show internal directories.
Click to hide internal directories.