Documentation
¶
Overview ¶
Package utils contains test utilities for cluster-api-provider-tinkerbell.
Index ¶
Constants ¶
View Source
const HelloWorldTemplate = `` /* 208-byte string literal not displayed */
HelloWorldTemplate for use in testing.
Variables ¶
This section is empty.
Functions ¶
func GenerateHardware ¶
GenerateHardware generates a Tinkerbell Hardware for testing.
func GenerateHardwareInterface ¶
func GenerateHardwareInterface(cidr string) (*hardware.Hardware_Network_Interface, error)
GenerateHardwareInterface generates a Tinkerbell Hardware Interface for testing.
func GenerateTemplate ¶
func GenerateTemplate(name, data string) *template.WorkflowTemplate
GenerateTemplate generates a Tinkerbell Template for testing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.