libvirt

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Libvirt

type Libvirt struct {
	URI         string `json:"libvirt_uri,omitempty"`
	Image       string `json:"os_image,omitempty"`
	Network     `json:",inline"`
	MasterIPs   []string `json:"libvirt_master_ips,omitempty"`
	BootstrapIP string   `json:"libvirt_bootstrap_ip,omitempty"`
}

Libvirt encompasses configuration specific to libvirt.

func (*Libvirt) TFVars

func (l *Libvirt) TFVars(machineCIDR *net.IPNet, masterCount int) error

TFVars fills in computed Terraform variables.

func (*Libvirt) UseCachedImage

func (libvirt *Libvirt) UseCachedImage() (err error)

UseCachedImage leaves non-file:// image URIs unalterered. Other URIs are retrieved with a local cache at $XDG_CACHE_HOME/openshift-install/libvirt 1. This allows you to use the same remote image URI multiple times without needing to worry about redundant downloads, although you will want to periodically blow away your cache.

type Network

type Network struct {
	IfName string `json:"libvirt_network_if"`
}

Network describes a libvirt network configuration.

Jump to

Keyboard shortcuts

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