octoyaml

package
v0.2.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2018 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteJavascript

func ExecuteJavascript(script string, devMode bool) (*models.DNSConfig, error)

ExecuteJavascript accepts a javascript string and runs it, returning the resulting dnsConfig.

func GetHelpers

func GetHelpers(devMode bool) string

GetHelpers returns the filename of helpers.js, or the esc'ed version.

func ReadYaml

func ReadYaml(r io.Reader, origin string) (models.Records, error)

ReadYaml parses a yaml input and returns a list of RecordConfigs

func WriteYaml

func WriteYaml(w io.Writer, records models.Records, origin string) error

WriteYaml outputs a yaml version of a list of RecordConfig.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL