Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RunFns ¶
type RunFns struct { StorageMounts []filters.StorageMount // Path is the path to the directory containing functions Path string // FunctionPaths Paths allows functions to be specified outside the configuration // directory. // Functions provided on FunctionPaths are globally scoped. // If FunctionPaths length is > 0, then NoFunctionsFromInput defaults to true FunctionPaths []string // Functions is an explicit list of functions to run against the input. // Functions provided on Functions are globally scoped. // If Functions length is > 0, then NoFunctionsFromInput defaults to true Functions []*yaml.RNode // GlobalScope if true, functions read from input will be scoped globally rather // than only to Resources under their subdirs. GlobalScope bool // Input can be set to read the Resources from Input rather than from a directory Input io.Reader // Network enables network access for functions that declare it Network bool // NetworkName is the name of the docker network to use for the container NetworkName string // Output can be set to write the result to Output rather than back to the directory Output io.Writer // NoFunctionsFromInput if set to true will not read any functions from the input, // and only use explicit sources NoFunctionsFromInput *bool // EnableStarlark will enable functions run as starlark scripts EnableStarlark bool // DisableContainers will disable functions run as containers DisableContainers bool // contains filtered or unexported fields }
RunFns runs the set of configuration functions in a local directory against the Resources in that directory
Click to show internal directories.
Click to hide internal directories.