Documentation ¶
Index ¶
Constants ¶
View Source
const ( CREATE = "CREATE" UPDATE = "UPDATE" DELETE = "DELETE" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ProjectId string DomainFilter endpoint.DomainFilter DryRun bool Workers int }
Config is used to configure the creation of the StackitDNSProvider.
type ErrorMessage ¶
type ErrorMessage struct {
Message string `json:"message"`
}
ErrorMessage is the error message returned by the API.
type StackitDNSProvider ¶
type StackitDNSProvider struct { provider.BaseProvider // contains filtered or unexported fields }
StackitDNSProvider implements the DNS stackitprovider for STACKIT DNS.
func NewStackitDNSProvider ¶
func NewStackitDNSProvider( logger *zap.Logger, providerConfig Config, stackitConfig ...stackitconfig.ConfigurationOption, ) (*StackitDNSProvider, error)
NewStackitDNSProvider creates a new STACKIT DNS stackitprovider.
func (*StackitDNSProvider) ApplyChanges ¶
ApplyChanges applies a given set of changes in a given zone.
func (*StackitDNSProvider) GetDomainFilter ¶ added in v0.2.0
func (d *StackitDNSProvider) GetDomainFilter() endpoint.DomainFilter
Click to show internal directories.
Click to hide internal directories.