Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTinkerbellDriver ¶
func NewTinkerbellDriver(mdConfig *metadataclient.Config, factory ClientFactory, tinkServerAddress, imageRepoAddress string) (plugins.PluginDriver, error)
NewTinkerbellDriver returns a new TinkerBell driver with a configured tinkserver address and a client timeout.
Types ¶
type ClientFactory ¶ added in v1.29.0
type ClientFactory func() (metadataclient.Client, tinkerbellclient.HardwareClient, tinkerbellclient.TemplateClient, tinkerbellclient.WorkflowClient)
type HardwareSpec ¶
type HardwareSpec struct {
Hardware pkg.HardwareWrapper `json:"hardware"`
}
func (*HardwareSpec) GetID ¶
func (h *HardwareSpec) GetID() string
func (*HardwareSpec) GetIPAddress ¶
func (h *HardwareSpec) GetIPAddress() string
func (*HardwareSpec) GetMACAddress ¶
func (h *HardwareSpec) GetMACAddress() string
func (*HardwareSpec) GetName ¶
func (h *HardwareSpec) GetName() string
func (*HardwareSpec) GetStatus ¶
func (h *HardwareSpec) GetStatus() string
Click to show internal directories.
Click to hide internal directories.