Documentation ¶
Overview ¶
Package provider is a generated GoMock package.
Index ¶
- type MockRoute53API
- func (m *MockRoute53API) ChangeResourceRecordSets(ctx context.Context, params *route53.ChangeResourceRecordSetsInput, ...) (*route53.ChangeResourceRecordSetsOutput, error)
- func (m *MockRoute53API) EXPECT() *MockRoute53APIMockRecorder
- func (m *MockRoute53API) ListResourceRecordSets(ctx context.Context, params *route53.ListResourceRecordSetsInput, ...) (*route53.ListResourceRecordSetsOutput, error)
- type MockRoute53APIMockRecorder
- type Route53API
- type Route53Provider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRoute53API ¶
type MockRoute53API struct {
// contains filtered or unexported fields
}
MockRoute53API is a mock of Route53API interface.
func NewMockRoute53API ¶
func NewMockRoute53API(ctrl *gomock.Controller) *MockRoute53API
NewMockRoute53API creates a new mock instance.
func (*MockRoute53API) ChangeResourceRecordSets ¶
func (m *MockRoute53API) ChangeResourceRecordSets(ctx context.Context, params *route53.ChangeResourceRecordSetsInput, optFns ...func(*route53.Options)) (*route53.ChangeResourceRecordSetsOutput, error)
ChangeResourceRecordSets mocks base method.
func (*MockRoute53API) EXPECT ¶
func (m *MockRoute53API) EXPECT() *MockRoute53APIMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRoute53API) ListResourceRecordSets ¶
func (m *MockRoute53API) ListResourceRecordSets(ctx context.Context, params *route53.ListResourceRecordSetsInput, optFns ...func(*route53.Options)) (*route53.ListResourceRecordSetsOutput, error)
ListResourceRecordSets mocks base method.
type MockRoute53APIMockRecorder ¶
type MockRoute53APIMockRecorder struct {
// contains filtered or unexported fields
}
MockRoute53APIMockRecorder is the mock recorder for MockRoute53API.
func (*MockRoute53APIMockRecorder) ChangeResourceRecordSets ¶
func (mr *MockRoute53APIMockRecorder) ChangeResourceRecordSets(ctx, params interface{}, optFns ...interface{}) *gomock.Call
ChangeResourceRecordSets indicates an expected call of ChangeResourceRecordSets.
func (*MockRoute53APIMockRecorder) ListResourceRecordSets ¶
func (mr *MockRoute53APIMockRecorder) ListResourceRecordSets(ctx, params interface{}, optFns ...interface{}) *gomock.Call
ListResourceRecordSets indicates an expected call of ListResourceRecordSets.
type Route53API ¶
type Route53API interface { ListResourceRecordSets(ctx context.Context, params *route53.ListResourceRecordSetsInput, optFns ...func(*route53.Options)) (*route53.ListResourceRecordSetsOutput, error) ChangeResourceRecordSets(ctx context.Context, params *route53.ChangeResourceRecordSetsInput, optFns ...func(*route53.Options)) (*route53.ChangeResourceRecordSetsOutput, error) }
type Route53Provider ¶
type Route53Provider struct {
// contains filtered or unexported fields
}
func (Route53Provider) Converge ¶
func (p Route53Provider) Converge(ctx context.Context, zoneId string, zoneName string, owners []string, rrSpec dnsv1alpha1.ResourceRecordSpec) error
func (Route53Provider) NewClient ¶
func (r Route53Provider) NewClient(ctx context.Context, provider *dnsv1alpha1.Provider, c client.Client) (*Route53Provider, error)
Click to show internal directories.
Click to hide internal directories.