Documentation ¶
Overview ¶
Package spark runs a Composition Function. It is designed to be run as root inside an unprivileged user namespace.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromImagePullConfig ¶
func FromImagePullConfig(cfg *v1alpha1.ImagePullConfig) oci.ImageClientOption
FromImagePullConfig configures an image client with options derived from the supplied ImagePullConfig.
func FromRunFunctionConfig ¶
func FromRunFunctionConfig(cfg *v1alpha1.RunFunctionConfig) spec.Option
FromRunFunctionConfig extends a runtime spec with configuration derived from the supplied RunFunctionConfig.
Types ¶
type Command ¶
type Command struct { CacheDir string `short:"c" help:"Directory used for caching function images and containers." default:"/function-runtime-oci"` Runtime string `help:"OCI runtime binary to invoke." default:"crun"` MaxStdioBytes int64 `help:"Maximum size of stdout and stderr for functions." default:"0"` CABundlePath string `help:"Additional CA bundle to use when fetching function images from registry." env:"CA_BUNDLE_PATH"` }
Command runs a containerized Composition Function.
Click to show internal directories.
Click to hide internal directories.