Documentation
¶
Index ¶
Constants ¶
View Source
const ( // CloudGCE GCE cloud CloudGCE = "gce" // CloudAWS AWS cloud CloudAWS = "aws" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cloud ¶
type Cloud struct {
// Cloud type - gce at the moment
Type string `yaml:"type" validate:"required,oneof=gce"`
// Project ID - required for now though not common to AWS
ProjectID string `yaml:"projectid" validate:"required"`
}
Cloud configuration for cloud used
type Container ¶
type Container struct {
// Cloud specific settings
Cloud *Cloud `yaml:"cloud" validate:"required"`
// Logging settings
Loging *Logging `yaml:"logging" validate:"required,dive,required"`
// Context of running instance
Context *Context `yaml:"context" validate:"required"`
}
Container config for app
type Context ¶
type Context struct {
// Context instance is running in - standalone or group
RunContext string `yaml:"runcontext" validate:"required,oneof=standalone group"`
// The name of the instance group, if any, that instance is running in
GroupName string `yaml:"groupname"`
}
Context the context an instance is running in
Click to show internal directories.
Click to hide internal directories.