Documentation ¶
Index ¶
Constants ¶
View Source
const (
ProviderName = "scaleway"
)
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(api DomainAPI) dnsprovider.Interface
NewProvider returns an implementation of dnsprovider.Interface
Types ¶
type DomainAPI ¶
type DomainAPI interface { ListDNSZones(req *domain.ListDNSZonesRequest, opts ...scw.RequestOption) (*domain.ListDNSZonesResponse, error) CreateDNSZone(req *domain.CreateDNSZoneRequest, opts ...scw.RequestOption) (*domain.DNSZone, error) DeleteDNSZone(req *domain.DeleteDNSZoneRequest, opts ...scw.RequestOption) (*domain.DeleteDNSZoneResponse, error) ListDNSZoneRecords(req *domain.ListDNSZoneRecordsRequest, opts ...scw.RequestOption) (*domain.ListDNSZoneRecordsResponse, error) UpdateDNSZoneRecords(req *domain.UpdateDNSZoneRecordsRequest, opts ...scw.RequestOption) (*domain.UpdateDNSZoneRecordsResponse, error) }
type Interface ¶
type Interface struct {
// contains filtered or unexported fields
}
Interface implements dnsprovider.Interface
type TokenSource ¶
type TokenSource struct {
AccessToken string
}
TokenSource implements oauth2.TokenSource
Click to show internal directories.
Click to hide internal directories.