Documentation ¶
Index ¶
- type KMSMock
- func (m *KMSMock) CreateAlias(_ context.Context, input *kms.CreateAliasInput, _ ...func(*kms.Options)) (*kms.CreateAliasOutput, error)
- func (m *KMSMock) CreateKey(_ context.Context, input *kms.CreateKeyInput, _ ...func(*kms.Options)) (*kms.CreateKeyOutput, error)
- func (m *KMSMock) DeleteAlias(_ context.Context, input *kms.DeleteAliasInput, _ ...func(*kms.Options)) (*kms.DeleteAliasOutput, error)
- func (m *KMSMock) DescribeKey(_ context.Context, input *kms.DescribeKeyInput, _ ...func(*kms.Options)) (*kms.DescribeKeyOutput, error)
- func (m *KMSMock) GetPublicKey(_ context.Context, input *kms.GetPublicKeyInput, _ ...func(*kms.Options)) (*kms.GetPublicKeyOutput, error)
- func (m *KMSMock) ListResourceTags(_ context.Context, input *kms.ListResourceTagsInput, _ ...func(*kms.Options)) (*kms.ListResourceTagsOutput, error)
- func (m *KMSMock) ScheduleKeyDeletion(_ context.Context, input *kms.ScheduleKeyDeletionInput, ...) (*kms.ScheduleKeyDeletionOutput, error)
- func (m *KMSMock) Sign(_ context.Context, input *kms.SignInput, _ ...func(*kms.Options)) (*kms.SignOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KMSMock ¶
type KMSMock struct {
// contains filtered or unexported fields
}
KMSMock Define a simple mock of the KMS client
func (*KMSMock) CreateAlias ¶
func (m *KMSMock) CreateAlias(_ context.Context, input *kms.CreateAliasInput, _ ...func(*kms.Options)) (*kms.CreateAliasOutput, error)
CreateAlias mocks of the KMS CreateAlias method. Returns a valid CreateAliasOutput response
func (*KMSMock) CreateKey ¶
func (m *KMSMock) CreateKey(_ context.Context, input *kms.CreateKeyInput, _ ...func(*kms.Options)) (*kms.CreateKeyOutput, error)
CreateKey mocks of the KMS CreateKey method. Returns a valid CreateKeyOutput response
func (*KMSMock) DeleteAlias ¶
func (m *KMSMock) DeleteAlias(_ context.Context, input *kms.DeleteAliasInput, _ ...func(*kms.Options)) (*kms.DeleteAliasOutput, error)
DeleteAlias mocks of the KMS DeleteAlias method. Returns a valid DeleteAliasOutput response
func (*KMSMock) DescribeKey ¶
func (m *KMSMock) DescribeKey(_ context.Context, input *kms.DescribeKeyInput, _ ...func(*kms.Options)) (*kms.DescribeKeyOutput, error)
DescribeKey mocks of the KMS DescribeKey method. Returns a valid DescribeKeyOutput response
func (*KMSMock) GetPublicKey ¶
func (m *KMSMock) GetPublicKey(_ context.Context, input *kms.GetPublicKeyInput, _ ...func(*kms.Options)) (*kms.GetPublicKeyOutput, error)
GetPublicKey mocks of the KMS GetPublicKey method.
func (*KMSMock) ListResourceTags ¶
func (m *KMSMock) ListResourceTags(_ context.Context, input *kms.ListResourceTagsInput, _ ...func(*kms.Options)) (*kms.ListResourceTagsOutput, error)
ListResourceTags mocks of the KMS ListResourceTags method.
func (*KMSMock) ScheduleKeyDeletion ¶
func (m *KMSMock) ScheduleKeyDeletion(_ context.Context, input *kms.ScheduleKeyDeletionInput, _ ...func(*kms.Options)) (*kms.ScheduleKeyDeletionOutput, error)
ScheduleKeyDeletion mocks of the KMS ScheduleKeyDeletion method.
Click to show internal directories.
Click to hide internal directories.