Documentation ¶
Index ¶
- type TXTRegistry
- func (im *TXTRegistry) AdjustEndpoints(endpoints []*endpoint.Endpoint) ([]*endpoint.Endpoint, error)
- func (im *TXTRegistry) ApplyChanges(ctx context.Context, changes *plan.Changes) error
- func (im *TXTRegistry) GetDomainFilter() endpoint.DomainFilter
- func (im *TXTRegistry) OwnerID() string
- func (im *TXTRegistry) Records(ctx context.Context) ([]*endpoint.Endpoint, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TXTRegistry ¶
type TXTRegistry struct {
// contains filtered or unexported fields
}
TXTRegistry implements registry interface with ownership implemented via associated TXT records
func NewTXTRegistry ¶
func NewTXTRegistry(ctx context.Context, provider provider.Provider, txtPrefix, txtSuffix, ownerID string, cacheInterval time.Duration, txtWildcardReplacement string, managedRecordTypes, excludeRecordTypes []string, txtEncryptEnabled bool, txtEncryptAESKey []byte) (*TXTRegistry, error)
NewTXTRegistry returns new TXTRegistry object
func (*TXTRegistry) AdjustEndpoints ¶
func (im *TXTRegistry) AdjustEndpoints(endpoints []*endpoint.Endpoint) ([]*endpoint.Endpoint, error)
AdjustEndpoints modifies the endpoints as needed by the specific provider
func (*TXTRegistry) ApplyChanges ¶
ApplyChanges updates dns provider with the changes for each created/deleted record it will also take into account TXT records for creation/deletion
func (*TXTRegistry) GetDomainFilter ¶
func (im *TXTRegistry) GetDomainFilter() endpoint.DomainFilter
func (*TXTRegistry) OwnerID ¶
func (im *TXTRegistry) OwnerID() string
Click to show internal directories.
Click to hide internal directories.