baremetal

package
v0.91.0 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

This file is largely based on existing code from terraform-provider-libvirt 0.6.12. https://github.com/dmacvicar/terraform-provider-libvirt Original code distributed under the terms of Apache License 2.0.

Index

Constants

View Source
const (

	// MastersFileName is the file where we store networking data for the control plane.
	MastersFileName = ".masters.json"
)

Variables

This section is empty.

Functions

func InitializeProvider

func InitializeProvider() infrastructure.Provider

InitializeProvider initializes an empty Provider.

Types

type Provider

type Provider struct{}

Provider is the baremetal platform provider.

func (Provider) DestroyBootstrap

func (a Provider) DestroyBootstrap(ctx context.Context, dir string) error

DestroyBootstrap destroys the temporary bootstrap resources.

func (Provider) ExtractHostAddresses

func (a Provider) ExtractHostAddresses(dir string, ic *types.InstallConfig, ha *infrastructure.HostAddresses) error

ExtractHostAddresses extracts the IPs of the bootstrap and control plane machines.

func (Provider) Provision

func (a Provider) Provision(ctx context.Context, dir string, parents asset.Parents) ([]*asset.File, error)

Provision creates a baremetal platform bootstrap node.

Jump to

Keyboard shortcuts

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