infrastructure

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: 3 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HostAddresses

type HostAddresses struct {
	Bootstrap string
	Masters   []string
	Port      int
}

HostAddresses contains the node addresses & ports to be used for gather bootsrap debug logs.

type Provider

type Provider interface {
	// Provision creates the infrastructure resources for the stage.
	// ctx: parent context
	// dir: the path of the install dir
	// parents: the parent assets, which can be used to obtain any cluser asset dependencies
	// returns a slice of File assets, which will be appended to the cluster asset file list.
	Provision(ctx context.Context, dir string, parents asset.Parents) ([]*asset.File, error)

	// DestroyBootstrap destroys the temporary bootstrap resources.
	DestroyBootstrap(ctx context.Context, dir string) error

	// ExtractHostAddresses extracts the IPs of the bootstrap and control plane machines.
	ExtractHostAddresses(dir string, config *types.InstallConfig, ha *HostAddresses) error
}

Provider defines the interface to be used for provisioning and working with cloud infrastructure.

Directories

Path Synopsis
aws
This file is largely based on existing code from terraform-provider-libvirt 0.6.12.
This file is largely based on existing code from terraform-provider-libvirt 0.6.12.
gcp
ibmcloud
nutanix
openstack
powervs
vsphere

Jump to

Keyboard shortcuts

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