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