config

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyInlinePatchFromYaml

func ApplyInlinePatchFromYaml(patch, yaml []byte) (output []byte, err error)

func DecryptYamlWithSops

func DecryptYamlWithSops(filePath string) ([]byte, error)

func ParseTalosInput

func ParseTalosInput(config TalhelperConfig) (*generate.Input, error)

func SubstituteEnvFromYaml

func SubstituteEnvFromYaml(env, file []byte) ([]byte, error)

Types

type TalhelperConfig

type TalhelperConfig struct {
	ClusterName       string       `yaml:"clusterName"`
	TalosVersion      string       `yaml:"talosVersion"`
	KubernetesVersion string       `yaml:"KubernetesVersion"`
	Endpoint          string       `yaml:"endpoint"`
	Nodes             []nodes      `yaml:"nodes"`
	ControlPlane      controlPlane `yaml:"controlPlane"`
	Worker            worker       `yaml:"worker"`
}

func (TalhelperConfig) GenerateConfig

func (config TalhelperConfig) GenerateConfig(outputDir, mode string) error

func (TalhelperConfig) GenerateGitignore

func (config TalhelperConfig) GenerateGitignore(outputDir string) error

Jump to

Keyboard shortcuts

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