Documentation ¶
Index ¶
- type AddARecordOptions
- type Client
- func (c *Client) AddARecord(opts *AddARecordOptions) (*Response, error)
- func (c *Client) DeleteARecord(opts *DeleteARecordOptions) (*Response, error)
- func (c *Client) ReadARecord(opts *ReadARecordOptions) (*Response, error)
- func (c *Client) UpdateARecord(opts *UpdateARecordOptions) (*Response, error)
- type DeleteARecordOptions
- type Options
- type ReadARecordOptions
- type Record
- type Response
- type UpdateARecordOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddARecordOptions ¶
type AddARecordOptions struct { DnsServer string Name string Address string ZoneName string AllowUpdateAny bool CreatePtr bool TTL int }
AddARecordOptions options to add an a record
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client a windns client
func (*Client) AddARecord ¶
func (c *Client) AddARecord(opts *AddARecordOptions) (*Response, error)
AddARecord adds a new A record
func (*Client) DeleteARecord ¶
func (c *Client) DeleteARecord(opts *DeleteARecordOptions) (*Response, error)
DeleteARecord deletes an A record
func (*Client) ReadARecord ¶
func (c *Client) ReadARecord(opts *ReadARecordOptions) (*Response, error)
ReadARecord reads an A record
func (*Client) UpdateARecord ¶
func (c *Client) UpdateARecord(opts *UpdateARecordOptions) (*Response, error)
UpdateARecord adds an A record
type DeleteARecordOptions ¶
DeleteARecordOptions options to add an a record
type Options ¶
type Options struct { DnsServer string ProxyHost string Username string Password string Domain string SecureTransport bool SkipSSLVerify bool Port int KDCServers []string KRB5Conf string TimeoutSeconds int }
Options client options
type ReadARecordOptions ¶
ReadARecordOptions options to read an a record
type Record ¶
type Record struct { Type string `json:"type"` Name string `json:"name"` Zone string `json:"zone"` Data interface{} `json:"data"` TTL int `json:"ttl"` }
Record record
Click to show internal directories.
Click to hide internal directories.