provider

package
v0.0.0-...-335731d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 28, 2024 License: MPL-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package provider holds the main logic of the Omni cloud provider QEMU.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

type Provider struct {
	// contains filtered or unexported fields
}

Provider is the Omni cloud provider QEMU provider.

It watches the MachineRequest resources and provisions them as QEMU VMs as needed.

func New

func New(omniEndpoint, omniServiceAccountKey, talosctlPath, imageFactoryPXEURL, subnetCIDR string, nameservers []string,
	numMachines, ipxeServerPort int, clearState bool, logger *zap.Logger,
) (*Provider, error)

New creates a new provider.

func (*Provider) Run

func (provider *Provider) Run(ctx context.Context) (runErr error)

Run runs the provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL