Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client VK client.
func NewClient ¶
func NewClient(endpoint string, authOpts gophercloud.AuthOptions) (*Client, error)
NewClient creates a Client.
func (*Client) CreateTXTRecord ¶
func (c *Client) CreateTXTRecord(zoneUUID string, record *DNSTXTRecord) error
func (*Client) DeleteTXTRecord ¶
func (*Client) ListTXTRecords ¶
func (c *Client) ListTXTRecords(zoneUUID string) ([]DNSTXTRecord, error)
type DNSTXTRecord ¶
type DNSZone ¶
type DNSZone struct { UUID string `json:"uuid,omitempty"` Tenant string `json:"tenant,omitempty"` SoaPrimaryDNS string `json:"soa_primary_dns,omitempty"` SoaAdminEmail string `json:"soa_admin_email,omitempty"` SoaSerial int `json:"soa_serial,omitempty"` SoaRefresh int `json:"soa_refresh,omitempty"` SoaRetry int `json:"soa_retry,omitempty"` SoaExpire int `json:"soa_expire,omitempty"` SoaTTL int `json:"soa_ttl,omitempty"` Zone string `json:"zone,omitempty"` Status string `json:"status,omitempty"` }
Click to show internal directories.
Click to hide internal directories.