Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigConverter ¶
type ConfigConverter interface {
ConvertToStruct(cfgString string) (internal.ConfigForPlan, error)
}
type ConfigMapConverter ¶
type ConfigMapConverter struct{}
func NewConfigMapConverter ¶
func NewConfigMapConverter() *ConfigMapConverter
func (*ConfigMapConverter) ConvertToStruct ¶
func (c *ConfigMapConverter) ConvertToStruct(cfgString string) (internal.ConfigForPlan, error)
type ConfigMapKeysValidator ¶
type ConfigMapKeysValidator struct{}
func NewConfigMapKeysValidator ¶
func NewConfigMapKeysValidator() *ConfigMapKeysValidator
func (*ConfigMapKeysValidator) Validate ¶
func (v *ConfigMapKeysValidator) Validate(cfgString string) error
type ConfigMapReader ¶
type ConfigMapReader struct {
// contains filtered or unexported fields
}
func NewConfigMapReader ¶
func NewConfigMapReader(ctx context.Context, k8sClient client.Client, logger logrus.FieldLogger, defaultKymaVersion string) *ConfigMapReader
type ConfigProvider ¶
type ConfigProvider struct { Reader ConfigReader Validator ConfigValidator Converter ConfigConverter }
func NewConfigProvider ¶
func NewConfigProvider(reader ConfigReader, validator ConfigValidator, converter ConfigConverter) *ConfigProvider
func (*ConfigProvider) ProvideForGivenVersionAndPlan ¶
func (p *ConfigProvider) ProvideForGivenVersionAndPlan(kymaVersion, planName string) (*internal.ConfigForPlan, error)
type ConfigReader ¶
type ConfigValidator ¶
Click to show internal directories.
Click to hide internal directories.