installer

package
v0.0.0-...-2da05cd Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeSpec

func DecodeSpec(data []byte) (*clusterv1beta1.Installer, error)

DecodeSpec decodes kURL installer spec yaml files

func ExecuteTemplate

func ExecuteTemplate(name, text string, data TemplateData) ([]byte, error)

ExecuteTemplate runs go templates to determine what preflights need to be run etc

Types

type TemplateData

type TemplateData struct {
	Installer      clusterv1beta1.Installer
	IsPrimary      bool
	IsJoin         bool
	IsUpgrade      bool
	PrimaryHosts   []string
	SecondaryHosts []string
	RemoteHosts    []string
}

TemplateData holds the data needed to run kURL templates

Jump to

Keyboard shortcuts

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