Documentation ¶
Index ¶
- func IsInvalidConfig(err error) bool
- func IsNotFound(err error) bool
- func IsParsingError(err error) bool
- type Config
- type Values
- func (v *Values) MergeAll(ctx context.Context, app v1alpha1.App, catalog v1alpha1.Catalog) (map[string]interface{}, error)
- func (v *Values) MergeConfigMapData(ctx context.Context, app v1alpha1.App, catalog v1alpha1.Catalog) (map[string]interface{}, error)
- func (v *Values) MergeSecretData(ctx context.Context, app v1alpha1.App, catalog v1alpha1.Catalog) (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsInvalidConfig ¶
IsInvalidConfig asserts invalidConfigError.
Types ¶
type Config ¶
type Config struct { // Dependencies. K8sClient kubernetes.Interface Logger micrologger.Logger }
Config represents the configuration used to create a new values service.
type Values ¶
type Values struct {
// contains filtered or unexported fields
}
Values implements the values service.
func (*Values) MergeAll ¶
func (v *Values) MergeAll(ctx context.Context, app v1alpha1.App, catalog v1alpha1.Catalog) (map[string]interface{}, error)
MergeAll merges both configmap and secret values to produce a single set of values that can be passed to Helm.
Click to show internal directories.
Click to hide internal directories.