Help us shape the future of Go! Take the 2026 Go Developer Survey

libvirt

package
v0.16.1 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package libvirt contains libvirt-specific structures for installer configuration and management.

Index

Constants

View Source
const Name string = "libvirt"

Name is the name for the libvirt platform.

Variables

This section is empty.

Functions

This section is empty.

Types

type MachinePool

type MachinePool struct {
}

MachinePool stores the configuration for a machine pool installed on libvirt.

func (*MachinePool) Set

func (l *MachinePool) Set(required *MachinePool)

Set sets the values from `required` to `a`.

type Metadata

type Metadata struct {
	URI string `json:"uri"`
}

Metadata contains libvirt metadata (e.g. for uninstalling the cluster).

type Network

type Network struct {
	// +optional
	// Default is tt0.
	IfName string `json:"if,omitempty"`
}

Network is the configuration of the libvirt network.

type Platform

type Platform struct {
	// URI is the identifier for the libvirtd connection.  It must be
	// reachable from both the host (where the installer is run) and the
	// cluster (where the cluster-API controller pod will be running).
	// +optional
	// Default is qemu+tcp://192.168.122.1/system
	URI string `json:"URI,omitempty"`

	// DefaultMachinePlatform is the default configuration used when
	// installing on libvirt for machine pools which do not define their
	// own platform configuration.
	// +optional
	// Default will set the image field to the latest RHCOS image.
	DefaultMachinePlatform *MachinePool `json:"defaultMachinePlatform,omitempty"`

	// Network
	// +optional
	Network *Network `json:"network,omitempty"`
}

Platform stores all the global configuration that all machinesets use.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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