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
Click to show internal directories.
Click to hide internal directories.