Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAllowedExecNotSpecified = fmt.Errorf("must run with `--allow-exec` option to allow running function binaries")
ErrAllowedExecNotSpecified indicates user need to authorize to invoke exec binaries.
Functions ¶
This section is empty.
Types ¶
type Executor ¶
type Executor struct { PkgPath string ResultsDirPath string Output io.Writer ImagePullPolicy fnruntime.ImagePullPolicy AllowExec bool FileSystem filesys.FileSystem // function runtime Runtime fn.FunctionRuntime // contains filtered or unexported fields }
Executor executes a hook.
Click to show internal directories.
Click to hide internal directories.