taskdefinition

package
v0.0.0-...-ffc01b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL