Documentation ¶
Index ¶
- type RcodeZeroProvider
- func (p *RcodeZeroProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error
- func (p *RcodeZeroProvider) NewRcodezeroChange(action string, endpoint *endpoint.Endpoint) *rc0.RRSetChange
- func (p *RcodeZeroProvider) NewRcodezeroChanges(action string, endpoints []*endpoint.Endpoint) []*rc0.RRSetChange
- func (p *RcodeZeroProvider) Records(ctx context.Context) ([]*endpoint.Endpoint, error)
- func (p *RcodeZeroProvider) Zones() ([]*rc0.Zone, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RcodeZeroProvider ¶
type RcodeZeroProvider struct { provider.BaseProvider Client *rc0.Client DomainFilter endpoint.DomainFilter DryRun bool TXTEncrypt bool Key []byte }
RcodeZeroProvider implements the DNS provider for RcodeZero Anycast DNS.
func NewRcodeZeroProvider ¶
func NewRcodeZeroProvider(domainFilter endpoint.DomainFilter, dryRun bool, txtEnc bool) (*RcodeZeroProvider, error)
NewRcodeZeroProvider creates a new RcodeZero Anycast DNS provider.
Returns the provider or an error if a provider could not be created.
func (*RcodeZeroProvider) ApplyChanges ¶
ApplyChanges applies a given set of changes in a given zone.
func (*RcodeZeroProvider) NewRcodezeroChange ¶
func (p *RcodeZeroProvider) NewRcodezeroChange(action string, endpoint *endpoint.Endpoint) *rc0.RRSetChange
NewRcodezeroChange returns a RcodeZero specific rrset change object.
func (*RcodeZeroProvider) NewRcodezeroChanges ¶
func (p *RcodeZeroProvider) NewRcodezeroChanges(action string, endpoints []*endpoint.Endpoint) []*rc0.RRSetChange
NewRcodezeroChanges returns a RcodeZero specific array with rrset change objects.
Click to show internal directories.
Click to hide internal directories.