Documentation ¶
Overview ¶
Package provisioner implements the Omni cloud provider QEMU provisioner.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provisioner ¶
type Provisioner struct {
// contains filtered or unexported fields
}
Provisioner is the Omni cloud provider QEMU provisioner.
It watches the MachineRequest resources and provisions them as QEMU VMs as needed.
func New ¶
func New(talosctlPath, clusterName, subnetCIDR string, nameservers []string, numMachines, ipxeServerPort int, logger *zap.Logger) (*Provisioner, error)
New creates a new QEMU provisioner.
func (*Provisioner) ClearState ¶
func (provisioner *Provisioner) ClearState(ctx context.Context) error
ClearState clears the state of the provisioner.
func (*Provisioner) ResetMachine ¶
func (provisioner *Provisioner) ResetMachine(ctx context.Context, uuid string) error
ResetMachine resets the machine with the given UUID by wiping its disk and rebooting it.
Click to show internal directories.
Click to hide internal directories.