Documentation ¶
Index ¶
Constants ¶
View Source
const MissingRequiredValue = "MISSING_REQUIRED_VALUE"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfigRenderer ¶
type APIConfigRenderer struct { Logger log.Logger Viper *viper.Viper BuilderBuilder *templates.BuilderBuilder }
APIConfigRenderer resolves config values via API
func NewRenderer ¶
func NewRenderer( logger log.Logger, v *viper.Viper, builderBuilder *templates.BuilderBuilder, ) *APIConfigRenderer
func (*APIConfigRenderer) ResolveConfig ¶
func (r *APIConfigRenderer) ResolveConfig( ctx context.Context, release *api.Release, savedState map[string]interface{}, liveValues map[string]interface{}, firstPass bool, ) ([]libyaml.ConfigGroup, error)
ResolveConfig will get all the config values specified in the spec, in JSON format
type ValidationError ¶
type ValidationError struct { Message string `json:"message"` Name string `json:"name"` ErrorCode string `json:"error_code"` }
func ValidateConfig ¶
func ValidateConfig( resolvedConfig []libyaml.ConfigGroup, ) []*ValidationError
ValidateConfig validates a list of resolved config items
Click to show internal directories.
Click to hide internal directories.