Documentation ¶
Index ¶
Constants ¶
View Source
const TypeName = "go2chef.source.multi"
TypeName is the name of this source plugin
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Source ¶
type Source struct { SourceName string `mapstructure:"name"` SourceSpecs []map[string]interface{} `mapstructure:"sources"` // contains filtered or unexported fields }
Source implements a multi filesystem source plugin that copies files from a directory on multi filesystem to temp for use. Paths are relative to the current working directory of the go2chef process.
func (*Source) DownloadToPath ¶
DownloadToPath fetches multiple source defs in order
Click to show internal directories.
Click to hide internal directories.