Documentation ¶
Overview ¶
Package imagefactory provides an abstraction to the image factory for the bare metal infra provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is an image factory client.
func (*Client) SchematicIPXEURL ¶
func (c *Client) SchematicIPXEURL(ctx context.Context, agentMode bool, talosVersion, arch string, extensions, extraKernelArgs []string) (string, error)
SchematicIPXEURL ensures a schematic exists on the image factory and returns the iPXE URL to it.
If agentMode is true, the schematic will be created with the firmware extensions and the metal-agent extension.
Click to show internal directories.
Click to hide internal directories.