workerapi

package
v0.1.75 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 0 Imported by: 19

Documentation

Index

Constants

View Source
const MaxToolchainTypeLength = 128

Variables

This section is empty.

Functions

This section is empty.

Types

type ToolchainType

type ToolchainType string
const (
	ToolchainConfigHubYAML       ToolchainType = "ConfigHub/YAML"
	ToolchainKubernetesYAML      ToolchainType = "Kubernetes/YAML"
	ToolchainAppConfigProperties ToolchainType = "AppConfig/Properties"
	ToolchainAppConfigYAML       ToolchainType = "AppConfig/YAML"
	ToolchainAppConfigTOML       ToolchainType = "AppConfig/TOML"
	ToolchainAppConfigINI        ToolchainType = "AppConfig/INI"
	ToolchainAppConfigJSON       ToolchainType = "AppConfig/JSON"
	ToolchainAppConfigEnv        ToolchainType = "AppConfig/Env"
	ToolchainAppConfigText       ToolchainType = "AppConfig/Text"

	// ToolchainAny is a wildcard toolchain used only on a Target (and the
	// SupportedConfigType a bridge advertises). A Target ConfigType with
	// ToolchainAny matches a Unit of any toolchain, which suits transports
	// that publish Unit data verbatim and never route by toolchain (e.g. OCI).
	// It must never appear as a Unit's toolchain: Units always carry a concrete
	// serialization format, which is what function execution and the published
	// artifact rely on. The value is the word "Any" (not "*") so it is slug-safe
	// and needs no shell quoting on the CLI.
	ToolchainAny ToolchainType = "Any"
)

ToolchainType corresponds to the toolchain and configuration format+syntax

Jump to

Keyboard shortcuts

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