engine

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2024 License: MPL-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FullConfigProcess added in v0.4.0

func FullConfigProcess(ctx context.Context, opts Options, patches []string) (*bundle.Bundle, error)

FullConfigProcess handles the full process of creating and updating the Bundle.

func InitializeConfigBundle added in v0.4.0

func InitializeConfigBundle(opts Options) (*bundle.Bundle, error)

Function to initialize configuration settings

func Render

func Render(ctx context.Context, c *client.Client, opts Options) ([]byte, error)

Render executes the rendering of templates based on the provided options.

func SerializeConfiguration added in v0.4.0

func SerializeConfiguration(configBundle *bundle.Bundle, machineType machine.Type) ([]byte, error)

Function for serializing the configuration

Types

type Options

type Options struct {
	Insecure          bool
	ValueFiles        []string
	StringValues      []string
	Values            []string
	FileValues        []string
	JsonValues        []string
	LiteralValues     []string
	TalosVersion      string
	WithSecrets       string
	Full              bool
	Root              string
	Offline           bool
	KubernetesVersion string
	TemplateFiles     []string
	ClusterName       string
	Endpoint          string
}

Options encapsulates all parameters necessary for rendering.

Directories

Path Synopsis
Package engine implements the Go text template engine as needed for Helm.
Package engine implements the Go text template engine as needed for Helm.

Jump to

Keyboard shortcuts

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