Documentation ¶
Index ¶
- Constants
- func GetCmName(functionName string, spec *apilifecycle.RuntimeSpec) string
- func GetRuntimeImage(def *apilifecycle.KeptnTaskDefinition) string
- func GetRuntimeMountPath(def *apilifecycle.KeptnTaskDefinition) string
- func GetRuntimeSpec(def *apilifecycle.KeptnTaskDefinition) *apilifecycle.RuntimeSpec
- func IsContainerEmpty(spec *apilifecycle.ContainerSpec) bool
- func IsInline(spec *apilifecycle.RuntimeSpec) bool
- func IsRuntimeEmpty(spec *apilifecycle.RuntimeSpec) bool
- func IsVolumeMountPresent(spec *apilifecycle.ContainerSpec) bool
- func SpecExists(definition *apilifecycle.KeptnTaskDefinition) bool
Constants ¶
View Source
const ( FunctionRuntimeImageKey = "FUNCTION_RUNNER_IMAGE" PythonRuntimeImageKey = "PYTHON_RUNNER_IMAGE" FunctionScriptMountPath = "/var/data/function.ts" PythonScriptMountPath = "/var/data/function.py" FunctionScriptKey = "js" PythonScriptKey = "python" )
Variables ¶
This section is empty.
Functions ¶
func GetCmName ¶
func GetCmName(functionName string, spec *apilifecycle.RuntimeSpec) string
func GetRuntimeImage ¶
func GetRuntimeImage(def *apilifecycle.KeptnTaskDefinition) string
func GetRuntimeMountPath ¶
func GetRuntimeMountPath(def *apilifecycle.KeptnTaskDefinition) string
func GetRuntimeSpec ¶
func GetRuntimeSpec(def *apilifecycle.KeptnTaskDefinition) *apilifecycle.RuntimeSpec
func IsContainerEmpty ¶
func IsContainerEmpty(spec *apilifecycle.ContainerSpec) bool
func IsInline ¶
func IsInline(spec *apilifecycle.RuntimeSpec) bool
func IsRuntimeEmpty ¶
func IsRuntimeEmpty(spec *apilifecycle.RuntimeSpec) bool
func IsVolumeMountPresent ¶
func IsVolumeMountPresent(spec *apilifecycle.ContainerSpec) bool
func SpecExists ¶
func SpecExists(definition *apilifecycle.KeptnTaskDefinition) bool
check if either the functions or container spec is set
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.