Documentation ¶
Index ¶
- func ApplyValuesToConfig(config *kotsv1beta1.Config, values map[string]template.ItemValue)
- func MarshalConfig(config *kotsv1beta1.Config) (string, error)
- func TemplateConfig(log *logger.CLILogger, configSpecData string, configValuesData string, ...) (string, error)
- func TemplateConfigObjects(configSpec *kotsv1beta1.Config, configValues map[string]template.ItemValue, ...) (*kotsv1beta1.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyValuesToConfig ¶
func ApplyValuesToConfig(config *kotsv1beta1.Config, values map[string]template.ItemValue)
func MarshalConfig ¶
func MarshalConfig(config *kotsv1beta1.Config) (string, error)
MarshalConfig runs the same code path as the k8s json->yaml serializer, but uses a different yaml library for those parts first, the object is marshalled to json second, the json is unmarshalled to an object as yaml third, the object is marshalled as yaml
func TemplateConfig ¶ added in v1.1.0
func TemplateConfigObjects ¶
func TemplateConfigObjects(configSpec *kotsv1beta1.Config, configValues map[string]template.ItemValue, license *kotsv1beta1.License, localRegistry template.LocalRegistry, versionInfo *template.VersionInfo, identityconfig *kotsv1beta1.IdentityConfig, namespace string) (*kotsv1beta1.Config, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.