Documentation ¶
Index ¶
- func CheckIfServiceExcistsInScope(scope, service string, e *ec2.Client) (exists bool, err error)
- func CheckNameLen(name string) error
- func Decrypt(dataCrypt string, a *AWS) (scope string, v vpc.VPC, k key.Key, sg security.Group, slackId string, ...)
- func Encrypt(scope string, v vpc.VPC, k key.Key, sg security.Group, slackId string) (encrypted string, err error)
- func GetPublicDNS(server, scope string, a *AWS) (publicDNS string, err error)
- type AWS
- func (c AWS) AddServerToScope(scope, serverName string, v vpclib.VPC, k key.Key, sg security.Group, ...) (message string)
- func (c AWS) AddServiceToServer(scope, serverName string, v vpclib.VPC, k key.Key, sg security.Group, ...) (message string)
- func (c AWS) CreateDatabase(scope, artifactId string, v vpclib.VPC, sg security.Group, slackId string) (endpoint string)
- func (c AWS) CreateScope(scope string) (cryptData string)
- func (a AWS) GetEC2() *ec2.Client
- func (a AWS) GetELB() *elbv2.Client
- func (a AWS) GetRDS() *rds.Client
- func (a *AWS) NewEC2(c aws.Config)
- func (a *AWS) NewELB(c aws.Config)
- func (a *AWS) NewRDS(c aws.Config)
- type Health
- type Service
- type Stack
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfServiceExcistsInScope ¶ added in v0.1.2
func CheckNameLen ¶ added in v0.1.2
Types ¶
type AWS ¶
type AWS struct {
// contains filtered or unexported fields
}
func (AWS) AddServerToScope ¶ added in v0.3.0
func (AWS) AddServiceToServer ¶ added in v0.1.2
func (AWS) CreateDatabase ¶ added in v0.6.0
func (AWS) CreateScope ¶ added in v0.3.0
type Service ¶ added in v0.1.2
type Service struct { Port int `form:"port" json:"port" xml:"port" binding:"required"` Path string `form:"path" json:"path" xml:"path" binding:"required"` Icon string `form:"icon" json:"icon" xml:"icon"` ELBListenerArn string `form:"elb_listener_arn" json:"elb_listener_arn" xml:"elb_listener_arn" binding:"required"` ELBSecurityGroup string `form:"elb_securitygroup_id" json:"elb_securitygroup_id" xml:"elb_securitygroup_id"` UpdateProp string `form:"semantic_update_service_properties" json:"semantic_update_service_properties" xml:"semantic_update_service_properties"` ArtifactId string `form:"artifact_id" json:"artifact_id" xml:"artifact_id" binding:"required"` LocalOverride string `form:"local_override_properties" json:"local_override_properties" xml:"local_override_properties"` Health Health `form:"health" json:"health" xml:"health"` Key string `form:"key" json:"key" xml:"key"` }
Click to show internal directories.
Click to hide internal directories.