Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Kind is the canonical name of the plugin for starting up, etc. Kind = "libvirt" // EnvNamespaceTags is the env to set for namespace tags. It's k=v,... EnvNamespaceTags = "INFRAKIT_LIBVIRT_NAMESPACE_TAGS" // EnvURIs is the env to set the list of connection URI. The format // is name1=uri1,name2=uri2,... EnvURIs = "INFRAKIT_LIBVIRT_URIS" )
Variables ¶
View Source
var DefaultOptions = Options{ Namespace: defaultNamespace(), URIs: parseURIs(local.Getenv(EnvURIs, "default=qemu:///session")), }
DefaultOptions return an Options with default values filled in.
Functions ¶
Types ¶
type Options ¶
type Options struct { // Namespace is a set of kv pairs for tags that namespaces the resource instances // TODO - this is currently implemented in AWS and other cloud providers but not // in libvirt Namespace map[string]string // URIs is a map of name: connection URI URIs map[string]string }
Options capture the options for starting up the plugin.
Click to show internal directories.
Click to hide internal directories.