Documentation ¶
Index ¶
- func ApplyValuesToConfig(config *kotsv1beta1.Config, values map[string]template.ItemValue) *kotsv1beta1.Config
- func CreateVariadicValues(item *kotsv1beta1.ConfigItem, groupName string)
- func MarshalConfig(config *kotsv1beta1.Config) (string, error)
- func TemplateConfigObjects(configSpec *kotsv1beta1.Config, configValues map[string]template.ItemValue, ...) (*kotsv1beta1.Config, error)
- func UnmarshalConfigValuesContent(content []byte) (map[string]template.ItemValue, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApplyValuesToConfig ¶
func ApplyValuesToConfig(config *kotsv1beta1.Config, values map[string]template.ItemValue) *kotsv1beta1.Config
func CreateVariadicValues ¶
func CreateVariadicValues(item *kotsv1beta1.ConfigItem, groupName string)
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 TemplateConfigObjects ¶
func TemplateConfigObjects(configSpec *kotsv1beta1.Config, configValues map[string]template.ItemValue, license *kotsv1beta1.License, app *kotsv1beta1.Application, localRegistry registrytypes.RegistrySettings, versionInfo *template.VersionInfo, appInfo *template.ApplicationInfo, identityconfig *kotsv1beta1.IdentityConfig, namespace string, decryptValues bool) (*kotsv1beta1.Config, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.