config

package
v0.0.0-...-a58d3e8 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2019 License: Apache-2.0 Imports: 0 Imported by: 45

Documentation

Index

Constants

View Source
const (
	BridgedAdapter  = VirtualboxAdapterType("bridged")
	HostOnlyAdapter = VirtualboxAdapterType("host_only")
)

Variables

View Source
var Internal _config

Functions

This section is empty.

Types

type Aws

type Aws struct {
	Name   string `yaml:"name"`
	Region string `yaml:"region"`
	Zone   string `yaml:"zone"`
}

type ClientConfig

type ClientConfig struct {
	Host string `yaml:"host"`
}

type DaemonConfig

type DaemonConfig struct {
	Providers Providers `yaml:"providers"`
	Version   string    `yaml:"version"`
}

type Firecracker

type Firecracker struct {
	Name string `yaml:"name"`

	Binary string `yaml:"binary"`
	Kernel string `yaml:"kernel"`
	// either empty, stdio, or xterm
	Console string `yaml:"console"`
}

type Gcloud

type Gcloud struct {
	Name      string `yaml:"name"`
	ProjectID string `yaml:"project_id"`
	Zone      string `yaml:"zone"`
}

type HubConfig

type HubConfig struct {
	URL      string `yaml:"url",json:"url"`
	Username string `yaml:"user",json:"user"`
	Password string `yaml:"pass",json:"pass"`
}

type Openstack

type Openstack struct {
	Name string `yaml:"name"`

	UserName   string `yaml:"username"`
	UserId     string `yaml:"userid"`
	Password   string `yaml:"password"`
	AuthUrl    string `yaml:"auth_url"`
	TenantId   string `yaml:"tenant_id"`
	TenantName string `yaml:"tenant_name"`
	DomainId   string `yaml:"domain_id"`
	DomainName string `yaml:"domain_name"`

	ProjectName string `yaml:"project_name"`
	RegionId    string `yaml:"region_id"`
	RegionName  string `yaml:"region_name"`

	NetworkUUID string `yaml:"network_uuid"`
}

type Photon

type Photon struct {
	Name      string `yaml:"name"`
	PhotonURL string `yaml:"photon_url"`
	ProjectId string `yaml:"project_id"`
}

type Providers

type Providers struct {
	Aws         []Aws         `yaml:"aws"`
	Gcloud      []Gcloud      `yaml:"gcloud"`
	Vsphere     []Vsphere     `yaml:"vsphere"`
	Virtualbox  []Virtualbox  `yaml:"virtualbox"`
	Qemu        []Qemu        `yaml:"qemu"`
	Photon      []Photon      `yaml:"photon"`
	Xen         []Xen         `yaml:"xen"`
	Openstack   []Openstack   `yaml:"openstack"`
	Ukvm        []Ukvm        `yaml:"ukvm"`
	Firecracker []Firecracker `yaml:"firecracker"`
}

type Qemu

type Qemu struct {
	Name         string `yaml:"name"`
	NoGraphic    bool   `yaml:"no_graphic"`
	DebuggerPort int    `yaml:"debugger_port"`
}

type Ukvm

type Ukvm struct {
	Name string `yaml:"name"`
	Tap  string `yaml:"tap_device"`
}

type Virtualbox

type Virtualbox struct {
	Name                  string                `yaml:"name"`
	AdapterName           string                `yaml:"adapter_name"`
	VirtualboxAdapterType VirtualboxAdapterType `yaml:"adapter_type"`
}

type VirtualboxAdapterType

type VirtualboxAdapterType string

type Vsphere

type Vsphere struct {
	Name            string `yaml:"name"`
	VsphereUser     string `yaml:"vsphere_user"`
	VspherePassword string `yaml:"vsphere_password"`
	VsphereURL      string `yaml:"vsphere_url"`
	Datastore       string `yaml:"datastore"`
	Datacenter      string `yaml:"datacenter"`
	NetworkLabel    string `yaml:"network"`
}

type Xen

type Xen struct {
	Name       string `yaml:"name"`
	KernelPath string `yaml:"pv_kernel"`
	XenBridge  string `yaml:"xen_bridge"`
}

Jump to

Keyboard shortcuts

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