Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInsecureRequired = errors.New("This feature requires the --insecure flag")
Functions ¶
This section is empty.
Types ¶
type Network ¶
type Network struct {
// contains filtered or unexported fields
}
Network contains knowledge about the local network.
func (*Network) ExternalIP ¶
ExternalIP attempts to determine the host's IP address used to connect to external hosts.
type System ¶
type System struct { // OS represents the name of the operating system as exposed by // runtime.GOOS. OS string // Arch represents the name of the current system architecture as exposed // by runtime.GOARCH. Arch string // contains filtered or unexported fields }
System acts as a container for various info points about the system tpl is executed on.
type Vault ¶
type World ¶
World acts as a container for all the knowledge we want to expose through the template.
func (*World) Render ¶
Render takes a template stream as input and converts the world's knowledge through that template into output written to the output stream.
Click to show internal directories.
Click to hide internal directories.