Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller is a Coffee DNS controlplane client
func New ¶
func New(endpoint string, enableTLS bool) (Controller, error)
New returns a new Controller
func (Controller) CreateRecord ¶
CreateRecord creates a DNS record
func (Controller) DeleteRecord ¶
func (c Controller) DeleteRecord(key string) error
DeleteRecord deletes a dns record for the given key
func (Controller) GetRecord ¶
func (c Controller) GetRecord(key string) (string, error)
GetRecord returns a DNS record for the given key
func (Controller) Status ¶
func (c Controller) Status() error
Status returns the controller's status
Click to show internal directories.
Click to hide internal directories.