Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CivoChangeCreate ¶
type CivoChangeCreate struct {
Domain civogo.DNSDomain
Options *civogo.DNSRecordConfig
}
CivoChangeCreate Civo Domain Record Creates
type CivoChangeDelete ¶
type CivoChangeDelete struct {
Domain civogo.DNSDomain
DomainRecord civogo.DNSRecord
}
CivoChangeDelete Civo Domain Record Deletes
type CivoChangeUpdate ¶
type CivoChangeUpdate struct {
Domain civogo.DNSDomain
DomainRecord civogo.DNSRecord
Options civogo.DNSRecordConfig
}
CivoChangeUpdate Civo Domain Record Updates
type CivoChanges ¶
type CivoChanges struct {
Creates []*CivoChangeCreate
Deletes []*CivoChangeDelete
Updates []*CivoChangeUpdate
}
CivoChanges All API calls calculated from the plan
type CivoProvider ¶
type CivoProvider struct {
provider.BaseProvider
Client civogo.Client
DryRun bool
// contains filtered or unexported fields
}
CivoProvider is an implementation of Provider for Civo's DNS.
func NewCivoProvider ¶
func NewCivoProvider(domainFilter endpoint.DomainFilter, dryRun bool) (*CivoProvider, error)
NewCivoProvider initializes a new Civo DNS based Provider.
func (*CivoProvider) ApplyChanges ¶
func (p *CivoProvider) ApplyChanges(ctx context.Context, changes *plan.Changes) error
ApplyChanges applies a given set of changes in a given zone.
Click to show internal directories.
Click to hide internal directories.