Documentation ¶
Overview ¶
Package puppet provides the integration entrypoint for the puppet language.
Index ¶
Constants ¶
View Source
const ( // Name is the name of this frontend. Name = "puppet" // PuppetFile is the entry point filename that we use. It is arbitrary. PuppetFile = "/file.pp" // PuppetConf is the entry point config filename that we use. PuppetConf = "/puppet.conf" // PuppetSite is the entry point folder that we use. It is arbitrary. PuppetSite = "/puppet/" )
View Source
const (
// PuppetYAMLBufferSize is the maximum buffer size for the yaml input data
PuppetYAMLBufferSize = 65535
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GAPI ¶
type GAPI struct { InputURI string // Mode of operation can be: agent, file, string, dir. Mode string // contains filtered or unexported fields }
GAPI implements the main puppet GAPI interface.
func (*GAPI) Cli ¶
Cli takes an *Info struct, and returns our deploy if activated, and if there are any validation problems, you should return an error. If there is no deploy, then you should return a nil deploy and a nil error.
func (*GAPI) ParseConfigFromPuppet ¶
func (obj *GAPI) ParseConfigFromPuppet() (*yamlgraph.GraphConfig, error)
ParseConfigFromPuppet returns the graph configuration structure from the mode and input values, including possibly some file and directory paths.
Directories ¶
Path | Synopsis |
---|---|
Package langpuppet implements an integration entrypoint that combines lang and Puppet.
|
Package langpuppet implements an integration entrypoint that combines lang and Puppet. |
Click to show internal directories.
Click to hide internal directories.