Documentation ¶
Overview ¶
Package dns contains code for exporting dns configuration
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CmdCreateZone ¶
func CmdCreateZone(c *cli.Context) error
CmdCreateZone is an entrypoint to create-zone command
Types ¶
type ImportData ¶ added in v1.0.0
type ImportData struct { Zone string ZoneConfigMap map[string]Types ResourceName string TFWorkPath string }
ImportData represents a struct passed to import script template
type RecordsetData ¶ added in v1.0.0
type RecordsetData struct { Zone string ResourceFields map[string]string BlockName string TFWorkPath string }
RecordsetData represents a struct passed to recordset template
type Resource ¶
type Resource struct { Mode string `json:"mode"` Type string `json:"type"` Name string `json:"name"` Provider string `json:"provider"` Instances []interface{} `json:"instances"` }
Resource describes tf resource
type ZoneData ¶ added in v1.0.0
type ZoneData struct { Zone string BlockName string Type string Masters []string Comment string SignAndServe bool SignAndServeAlgorithm string TSIGKey *dns.TSIGKey Target string EndCustomerID string TFWorkPath string }
ZoneData represents a struct passed to zone-creation template
Click to show internal directories.
Click to hide internal directories.