Documentation
¶
Overview ¶
Package catalog is the settings catalog of each supported Temporal minor, embedded in the binary: every dynamic-config key with its type, default, roles and apply hint.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Catalog ¶
type Catalog struct {
Temporal string `json:"temporal"`
GeneratedFrom string `json:"generatedFrom"`
Settings []Setting `json:"settings"`
// contains filtered or unexported fields
}
Catalog is one catalog-<minor>.json, written by tools/cataloggen.
func (*Catalog) Closest ¶
Closest are up to three known keys for a key that is not one: those it is a prefix of, else those at the smallest edit distance.
type Class ¶
type Class struct {
Apply string `yaml:"apply" json:"apply"`
Evidence string `yaml:"evidence" json:"evidence,omitempty"`
Lab string `yaml:"lab" json:"lab,omitempty"`
}
Class is how a change to a key reaches a running server, with the evidence for it (backend schema class-<minor>.yaml).
type Setting ¶
type Setting struct {
Key string `json:"key"`
Type string `json:"type"`
Precedence string `json:"precedence"`
Constraints []string `json:"constraints"`
Default any `json:"default"`
DefaultExpr string `json:"defaultExpr"`
Description string `json:"description"`
Roles []string `json:"roles"`
Candidate string `json:"candidate"`
}
Setting is one dynamic-config key (backend schema "Settings catalog").
Click to show internal directories.
Click to hide internal directories.