Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Direktiv Headers ServiceHeaderName = "direktiv.io/name" ServiceHeaderNamespaceID = "direktiv.io/namespace-id" ServiceHeaderNamespaceName = "direktiv.io/namespace-name" ServiceHeaderWorkflowID = "direktiv.io/workflow-id" ServiceHeaderPath = "direktiv.io/path" ServiceHeaderRevision = "direktiv.io/revision" ServiceHeaderSize = "direktiv.io/size" ServiceHeaderScale = "direktiv.io/scale" ServiceTemplateGeneration = "direktiv.io/templateGeneration" ServiceHeaderScope = "direktiv.io/scope" // Serving Headers ServiceKnativeHeaderName = "serving.knative.dev/service" ServiceKnativeHeaderConfiguration = "serving.knative.dev/configuration" ServiceKnativeHeaderGeneration = "serving.knative.dev/configurationGeneration" ServiceKnativeHeaderRevision = "serving.knative.dev/revision" ServiceKnativeHeaderRolloutDuration = "serving.knative.dev/rolloutDuration" )
Headers for knative services
View Source
const ( PrefixWorkflow = "workflow" PrefixNamespace = "namespace" PrefixGlobal = "global" PrefixService = "service" // unused, only if a one item list is requested )
Available prefixes for different scopes
View Source
const ( PodEnvActionID = "DIREKTIV_ACTIONID" PodEnvInstanceID = "DIREKTIV_INSTANCEID" PodEnvStep = "DIREKTIV_STEP" )
Pod env vars
View Source
const FunctionsChannel = "fnsync"
Variables ¶
This section is empty.
Functions ¶
func GenerateServiceName ¶
GenerateServiceName generates a knative name based on workflow details
func GenerateWorkflowServiceName ¶ added in v0.5.0
GenerateWorkflowServiceName generates a knative name based on workflow details
func SanitizeLabel ¶ added in v0.5.0
Types ¶
type HeartbeatTuple ¶ added in v0.5.0
Source Files ¶
Click to show internal directories.
Click to hide internal directories.