Documentation
¶
Index ¶
- Variables
- func New(db store.Store, router router.Router, etcdKAPI etcd.KeysAPI, bus bus.Bus, ...) (*launcher, error)
- type BastionConfig
- type Event
- type ImageList
- type Launch
- func (launch *Launch) CreateBastion(executionGroupId, region, vpcID, subnetID, subnetRouting, instanceType string) error
- func (launch *Launch) GenerateUserData() ([]byte, error)
- func (launch *Launch) Launch(imageTag string)
- func (launch *Launch) NotifyVars() interface{}
- func (launch *Launch) State() string
- type Launcher
- type Stage
- type VPCEnvironment
Constants ¶
This section is empty.
Variables ¶
View Source
var MagicExgid = "127a7354-290e-11e6-b178-2bc1f6aefc14"
Functions ¶
Types ¶
type BastionConfig ¶
type BastionConfig struct {
OwnerID string `json:"owner_id"`
Tag string `json:"tag"`
KeyPair string `json:"keypair"`
VPNRemote string `json:"vpn_remote"`
DNSServer string `json:"dns_server"`
NSQDHost string `json:"nsqd_host"`
BartnetHost string `json:"bartnet_host"`
AuthType string `json:"auth_type"`
ModifiedIndex uint64 `json:"modified_index"`
}
type Launch ¶
type Launch struct {
Bastion *com.Bastion
User *schema.User
Autochecks *autocheck.Pool
EventChan chan *Event
Err error
VPCEnvironment *VPCEnvironment
BastionIngressTemplateURL string
ImageID string
ImageTag string
InstanceType string
// contains filtered or unexported fields
}
func (*Launch) CreateBastion ¶
func (launch *Launch) CreateBastion(executionGroupId, region, vpcID, subnetID, subnetRouting, instanceType string) error
these events happen synchronously in the request cycle, so they are not part of launch stages
func (*Launch) GenerateUserData ¶
func (*Launch) NotifyVars ¶
func (launch *Launch) NotifyVars() interface{}
type VPCEnvironment ¶
type VPCEnvironment struct {
SecurityGroupCount int `json:"security_group_count"`
DBSecurityGroupCount int `json:"db_security_group_count"`
LoadBalancerCount int `json:"load_balancer_count"`
AutoscalingGroupCount int `json:"autoscaling_group_count"`
InstanceCount int `json:"instance_count"`
DBInstanceCount int `json:"db_instance_count"`
GroupErrorCount int `json:"group_error_count"`
InstanceErrorCount int `json:"instance_error_count"`
LastError error `json:"last_error"`
}
Click to show internal directories.
Click to hide internal directories.