Documentation ¶
Overview ¶
Package gce provides tools to deploy Camlistore on Google Compute Engine.
Index ¶
Constants ¶
View Source
const ( // default instance configuration values. InstanceName = "camlistore-server" Machine = "g1-small" Zone = "us-central1-a" HelpCreateProject = "Create new project: go to https://console.developers.google.com to create a new Project." HelpEnableAPIs = `` /* 192-byte string literal not displayed */ HelpDeleteInstance = `` /* 170-byte string literal not displayed */ )
Variables ¶
View Source
var Verbose bool
Verbose enables more info to be printed.
Functions ¶
func NewOAuthConfig ¶
NewOAuthConfig returns an OAuth configuration template.
Types ¶
type Deployer ¶
type Deployer struct { Cl *http.Client Conf *InstanceConf }
Deployer creates and starts an instance such as defined in Conf.
type InstanceConf ¶
type InstanceConf struct { Name string // Name given to the virtual machine instance. Project string // Google project ID where the instance is created. Machine string // Machine type. Zone string // Geographic zone. SSHPub string // SSH public key. CertFile string // HTTPS certificate file. KeyFile string // HTTPS key file. Hostname string // Fully qualified domain name. // contains filtered or unexported fields }
InstanceConf is the configuration for the Google Compute Engine instance that will be deployed.
Click to show internal directories.
Click to hide internal directories.