config

package
v1.36.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 11 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)

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 TemplateConfig(log *logger.CLILogger, configSpecData string, configValuesData string, licenseData string, identityConfigData string, localRegistry template.LocalRegistry) (string, error)

func TemplateConfigObjects

func TemplateConfigObjects(configSpec *kotsv1beta1.Config, configValues map[string]template.ItemValue, license *kotsv1beta1.License, localRegistry template.LocalRegistry, versionInfo *template.VersionInfo, identityconfig *kotsv1beta1.IdentityConfig) (*kotsv1beta1.Config, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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