baremetal

package
v1.4.17 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 22 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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