Versions in this module Expand all Collapse all v0 v0.2.0 Jan 11, 2022 v0.1.1 May 5, 2021 v0.1.0 May 2, 2021 Changes in this version + func Provider() *schema.Provider + type Client struct + Dns DnsClient + func NewClient(apiKey string, secret string, baseUrl string) *Client + func (c *Client) Do(req *http.Request, output interface{}) (*http.Response, error) + func (c *Client) NewRequest(ctx context.Context, method, path string, body io.Reader) (*http.Request, error) + type DnsClient struct + func (client *DnsClient) CreateDnsRecord(ctx context.Context, body DnsRecord) (DnsRecord, error) + func (client *DnsClient) DeleteDnsRecord(ctx context.Context, zone string, id string) error + func (client *DnsClient) ReadDnsRecord(ctx context.Context, zone string, id string) (DnsRecord, error) + func (client *DnsClient) UpdateDnsRecord(ctx context.Context, id string, body DnsRecord) (DnsRecord, error) + type DnsRecord struct + Content string + Id int + Name string + Note string + Port int + Prio int + Ttl int + Type string + Weight int + Zone DnsZone + func GetDnsRecord(data *schema.ResourceData) DnsRecord + func (dnsRecord *DnsRecord) SetResourceData(data *schema.ResourceData) + type DnsRecordStatusWrapper struct + Item DnsRecord + Status string + type DnsZone struct + Id int + Name string + UpdateTime int + type ErrorData struct + Content []string + Name []string + type ErrorResponse struct + Code int + Errors ErrorData + Message string + Messages []string + Status string