octoyaml

package
v2.10.1-0...-2a44a89 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2020 License: MIT Imports: 19 Imported by: 2

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