spec

package
v0.0.0-...-1a7fc46 Latest Latest
Warning

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

Go to latest
Published: May 5, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultServerConfig = &ConohaServerConfig{
	Region:     defaultRegion,
	Image:      defaultImage,
	Flavor:     defaultFlavor,
	SSHKey:     defaultSSHKey,
	EnginePort: engine.DefaultPort,
}
View Source
var McnFlags = []mcnflag.Flag{
	mcnflag.StringFlag{
		EnvVar: "CONOHA_REGION",
		Name:   "conoha-region",
		Usage:  "Conoha Region Name[tyo1/sin1/sjc1]",
		Value:  defaultRegion,
	},

	mcnflag.StringFlag{
		EnvVar: "CONOHA_IMAGE",
		Name:   "conoha-image",
		Usage:  "Conoha Image Name",
		Value:  defaultImage,
	},

	mcnflag.StringFlag{
		EnvVar: "CONOHA_FLAVOR",
		Name:   "conoha-flavor",
		Usage:  "Conoha Flavor Name",
		Value:  defaultFlavor,
	},

	mcnflag.StringFlag{
		EnvVar: "CONOHA_SSH_KEY",
		Name:   "conoha-ssh-key",
		Usage:  "SSH Private Key Path",
		Value:  "",
	},

	mcnflag.IntFlag{
		EnvVar: "CONOHA_ENGINE_PORT",
		Name:   "conoha-engine-port",
		Usage:  "Conoha Engine Port",
		Value:  engine.DefaultPort,
	},
}

Functions

This section is empty.

Types

type ConohaServerConfig

type ConohaServerConfig struct {
	HostName   string
	Region     string
	Image      string
	Flavor     string
	SSHKey     string
	EnginePort int
}

Jump to

Keyboard shortcuts

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