libvirt

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2018 License: Apache-2.0 Imports: 13 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:"tectonic_libvirt_uri,omitempty"`
	Image       string `json:"tectonic_os_image,omitempty"`
	Network     `json:",inline"`
	MasterIPs   []string `json:"tectonic_libvirt_master_ips,omitempty"`
	BootstrapIP string   `json:"tectonic_libvirt_bootstrap_ip,omitempty"`
}

Libvirt encompasses configuration specific to libvirt.

func (*Libvirt) TFVars

func (l *Libvirt) TFVars(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:"tectonic_libvirt_network_if,omitempty"`
	IPRange string `json:"tectonic_libvirt_ip_range,omitempty"`
}

Network describes a libvirt network configuration.

Jump to

Keyboard shortcuts

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