Documentation ¶
Index ¶
- Constants
- type MockR53
- func (cl *MockR53) ChangeResourceRecordSets(ctx context.Context, params *route53.ChangeResourceRecordSetsInput, ...) (*route53.ChangeResourceRecordSetsOutput, error)
- func (cl *MockR53) ListHostedZones(ctx context.Context, params *route53.ListHostedZonesInput, ...) (*route53.ListHostedZonesOutput, error)
- type MockSSM
- type R53Client
- type SSMClient
Constants ¶
View Source
const ( MockParamValue = "secretStringValue" MockHostedZoneID = "/hostedzone/Z119WBBTVP5WFX" MockeZoneName = "test.com." )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockR53 ¶
type MockR53 struct{}
func (*MockR53) ChangeResourceRecordSets ¶
func (cl *MockR53) ChangeResourceRecordSets(ctx context.Context, params *route53.ChangeResourceRecordSetsInput, optFns ...func(*route53.Options)) (*route53.ChangeResourceRecordSetsOutput, error)
func (*MockR53) ListHostedZones ¶
func (cl *MockR53) ListHostedZones(ctx context.Context, params *route53.ListHostedZonesInput, optFns ...func(*route53.Options)) (*route53.ListHostedZonesOutput, error)
type MockSSM ¶
type MockSSM struct{}
func (*MockSSM) GetParameter ¶
func (cl *MockSSM) GetParameter(ctx context.Context, params *ssm.GetParameterInput, optFns ...func(*ssm.Options)) (*ssm.GetParameterOutput, error)
type R53Client ¶
type R53Client interface { ChangeResourceRecordSets(ctx context.Context, params *route53.ChangeResourceRecordSetsInput, optFns ...func(*route53.Options)) (*route53.ChangeResourceRecordSetsOutput, error) ListHostedZones(ctx context.Context, params *route53.ListHostedZonesInput, optFns ...func(*route53.Options)) (*route53.ListHostedZonesOutput, error) }
R53 is an interface used to enable mock client for testing. The subset of methods the AWS route53 client implements that we use are specified here.
Click to show internal directories.
Click to hide internal directories.