Documentation ¶
Index ¶
- type Auth
- type Client
- func (c Client) AddRecord(ctx context.Context, zone string, record Record) error
- func (c Client) CommitRecords(ctx context.Context, zone string) error
- func (c Client) CreateAuthenticatedContext(ctx context.Context) (context.Context, error)
- func (c Client) CreateAuthenticationToken(ctx context.Context) (*Token, error)
- func (c Client) DeleteRecords(ctx context.Context, zone string, record Record) error
- func (c Client) GetZoneDetails(ctx context.Context, zone string) (*ZoneDetails, error)
- func (c Client) ListRecords(ctx context.Context, zone string) ([]Record, error)
- func (c Client) ListZone(ctx context.Context) ([]Zone, error)
- type Record
- type TSIGKey
- type Token
- type Zone
- type ZoneDetails
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client a Core-Networks client.
func (Client) AddRecord ¶
AddRecord adds a record. https://beta.api.core-networks.de/doc/#functon_dnszones_records_add
func (Client) CommitRecords ¶
CommitRecords sends a commit to the zone. https://beta.api.core-networks.de/doc/#functon_dnszones_commit
func (Client) CreateAuthenticatedContext ¶
func (Client) CreateAuthenticationToken ¶
CreateAuthenticationToken gets an authentication token. https://beta.api.core-networks.de/doc/#functon_auth_token
func (Client) DeleteRecords ¶
DeleteRecords deletes all DNS records of a zone that match the DNS record passed. https://beta.api.core-networks.de/doc/#functon_dnszones_records_delete
func (Client) GetZoneDetails ¶
GetZoneDetails provides detailed information about a DNS zone. https://beta.api.core-networks.de/doc/#functon_dnszones_details
func (Client) ListRecords ¶
ListRecords gets a list of DNS records belonging to the zone. https://beta.api.core-networks.de/doc/#functon_dnszones_records