Documentation ¶
Index ¶
- func EnvToYaml(r, envr io.Reader, w io.Writer, ypath string) error
- func EnvToYamlFile(envFilename, yamlFilename, ypath string) error
- func ExportSettings(inputs []io.Reader, output io.Writer) error
- func GenerateConfigMap(params GenerateConfigMapParams) (string, error)
- func PatchNuget(reader io.Reader, writer io.Writer, source, username, password string) error
- func PatchNugetFile(path, source, username, password string) error
- func ReferenceSecrets(r io.Reader, w io.Writer, ypath, secretname, prefix, suffix string) error
- func ReferenceSecretsFile(path, ypath, secretname, prefix, suffix string) error
- type GenerateConfigMapParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvToYaml ¶ added in v0.2.0
EnvToYaml fill some yaml node with entries from and .env-formatted file
func EnvToYamlFile ¶ added in v0.2.0
EnvToYamlFile fill some yaml node with entries from and .env-formatted file. Reads and writes directly into files, instead of readers and writers.
func ExportSettings ¶
ExportSettings exports settings
func GenerateConfigMap ¶ added in v0.4.0
func GenerateConfigMap(params GenerateConfigMapParams) (string, error)
func PatchNuget ¶
PatchNuget adds clear text password to a nuget config
func PatchNugetFile ¶
PatchNugetFile adds clear text password to a nuget config file
func ReferenceSecrets ¶ added in v0.3.1
ReferenceSecrets adds a secret key reference variable to a yaml file. The file is tipically a kubernetes Deployment or Pod resource file.
func ReferenceSecretsFile ¶ added in v0.3.1
ReferenceSecretsFile adds a secret key reference variable to a yaml file. The file is tipically a kubernetes Deployment or Pod resource file. Reads and writes directly into files, instead of readers and writers.