Documentation
¶
Index ¶
- Variables
- func FindPlan(cfg *v1.Config, planID string) *v1.Plan
- func FindRepo(cfg *v1.Config, repoID string) *v1.Repo
- func FindRepoByGUID(cfg *v1.Config, guid string) *v1.Repo
- func NewDefaultConfig() *v1.Config
- func PopulateRequiredFields(config *v1.Config) (mutated bool, err error)
- func RehydrateNetworkSanitizedConfig(sanitized *v1.Config, full *v1.Config) *v1.Config
- func SanitizeForNetwork(config *v1.Config) *v1.Config
- func ValidateConfig(c *v1.Config) error
- type ConfigManager
- type ConfigStore
- type JsonFileStore
- type MemoryStore
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrConfigNotFound = fmt.Errorf("config not found")
Functions ¶
func NewDefaultConfig ¶
func PopulateRequiredFields ¶ added in v1.9.0
func RehydrateNetworkSanitizedConfig ¶ added in v1.9.0
func ValidateConfig ¶
Types ¶
type ConfigManager ¶ added in v1.7.0
type ConfigManager struct {
Store ConfigStore
OnChange eventemitter.EventEmitter[struct{}]
// contains filtered or unexported fields
}
type ConfigStore ¶
type JsonFileStore ¶
type JsonFileStore struct {
Path string
// contains filtered or unexported fields
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.