Versions in this module Expand all Collapse all v0 v0.0.1 Nov 8, 2023 Changes in this version + type ConfigConverter interface + ConvertToStruct func(cfgString string) (internal.ConfigForPlan, error) + type ConfigMapConverter struct + func NewConfigMapConverter() *ConfigMapConverter + func (c *ConfigMapConverter) ConvertToStruct(cfgString string) (internal.ConfigForPlan, error) + type ConfigMapKeysValidator struct + func NewConfigMapKeysValidator() *ConfigMapKeysValidator + func (v *ConfigMapKeysValidator) Validate(cfgString string) error + type ConfigMapReader struct + func NewConfigMapReader(ctx context.Context, k8sClient client.Client, logger logrus.FieldLogger, ...) *ConfigMapReader + func (r *ConfigMapReader) Read(kymaVersion, planName string) (string, error) + type ConfigProvider struct + Converter ConfigConverter + Reader ConfigReader + Validator ConfigValidator + func NewConfigProvider(reader ConfigReader, validator ConfigValidator, converter ConfigConverter) *ConfigProvider + func (p *ConfigProvider) ProvideForGivenVersionAndPlan(kymaVersion, planName string) (*internal.ConfigForPlan, error) + type ConfigReader interface + Read func(kymaVersion, planName string) (string, error) + type ConfigValidator interface + Validate func(cfgString string) error