Expand description
Port of internal/variables/predefined_variable.go.
Structs§
- Options
- Carries the parsed config inputs that predefined variables are computed from, so resolving a variable never triggers a config load.
Enums§
Constants§
- CAPRONI_
CLUSTER_ DOMAIN - CAPRONI_
CLUSTER_ NAME - Pre-rename names for the same three variables above, kept fully
functional in config
${...}expansion so existing Go-caproni projects don’t need to update their config to use the new names. - CAPRONI_
PRIMARY_ HOSTNAME - XIANYUN_
CLUSTER_ DOMAIN - XIANYUN_
CLUSTER_ NAME - XIANYUN_
PRIMARY_ HOSTNAME
Functions§
- cluster_
domain cluster.network.cluster_domain; undefined when the key is not set.- is_
predefined - Reports whether
nameis a built-in predefined variable: either the primaryXIANYUN_*name or theCAPRONI_*compatibility alias (seenew_resolver, which resolves both names to the same values). - primary_
hostname - The cluster’s primary hostname, or “” when no network configuration is present.