Documentation
¶
Index ¶
- func CreateKMSServiceMock(options ...KMSServiceMockOption) *kmsServiceMock
- func CreateKMSServiceMockFactory(options ...KMSServiceMockOption) ...
- type KMSServiceMockOption
- func WithCreateGrantError(err error) KMSServiceMockOption
- func WithCreateGrantOutput(output *kms.CreateGrantOutput) KMSServiceMockOption
- func WithListGrantsError(err error) KMSServiceMockOption
- func WithListGrantsOutput(output *kms.ListGrantsOutput) KMSServiceMockOption
- func WithRevokeGrantError(err error) KMSServiceMockOption
- func WithRevokeGrantOutput(output *kms.RevokeGrantOutput) KMSServiceMockOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateKMSServiceMock ¶
func CreateKMSServiceMock(options ...KMSServiceMockOption) *kmsServiceMock
CreateKMSServiceMock creates a new instance of the KMS service mock with the provided options.
func CreateKMSServiceMockFactory ¶
func CreateKMSServiceMockFactory( options ...KMSServiceMockOption, ) func(awsConfig *aws.Config, providerContext provider.Context) kmsservice.Service
CreateKMSServiceMockFactory returns a service factory bound to a single mock instance.
Types ¶
type KMSServiceMockOption ¶
type KMSServiceMockOption func(*kmsServiceMock)
KMSServiceMockOption is a function type for configuring the KMS service mock.
func WithCreateGrantError ¶
func WithCreateGrantError(err error) KMSServiceMockOption
func WithCreateGrantOutput ¶
func WithCreateGrantOutput(output *kms.CreateGrantOutput) KMSServiceMockOption
func WithListGrantsError ¶
func WithListGrantsError(err error) KMSServiceMockOption
func WithListGrantsOutput ¶
func WithListGrantsOutput(output *kms.ListGrantsOutput) KMSServiceMockOption
func WithRevokeGrantError ¶
func WithRevokeGrantError(err error) KMSServiceMockOption
func WithRevokeGrantOutput ¶
func WithRevokeGrantOutput(output *kms.RevokeGrantOutput) KMSServiceMockOption
Click to show internal directories.
Click to hide internal directories.