config

package
v1.114.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 4

Documentation

Index

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)

func UnmarshalConfigValuesContent

func UnmarshalConfigValuesContent(content []byte) (map[string]template.ItemValue, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL