Documentation ¶
Index ¶
- func ForProjectConfigNotReleaseIDServiceMap(asgc aws.ASGAPI, projectName *string, configName *string, releaseID *string) (map[string]*ASG, error)
- type ASG
- func ForProjectConfigNOTReleaseID(asgc aws.ASGAPI, projectName *string, configName *string, releaseID *string) ([]*ASG, error)
- func ForProjectConfigReleaseID(asgc aws.ASGAPI, projectName *string, configName *string, releaseID *string) ([]*ASG, error)
- func GetInstances(asgc aws.ASGAPI, asgName *string) (aws.Instances, *ASG, error)
- func (s *ASG) AllowedService() *string
- func (s *ASG) AttachedLBs(asgc aws.ASGAPI) ([]string, error)
- func (s *ASG) ConfigName() *string
- func (s *ASG) Detach(asgc aws.ASGAPI) error
- func (s *ASG) ProjectName() *string
- func (s *ASG) ReleaseID() *string
- func (s *ASG) ServiceID() *string
- func (s *ASG) ServiceName() *string
- func (s *ASG) Teardown(asgc aws.ASGAPI, cwc aws.CWAPI) error
- type Input
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForProjectConfigNotReleaseIDServiceMap ¶
func ForProjectConfigNotReleaseIDServiceMap(asgc aws.ASGAPI, projectName *string, configName *string, releaseID *string) (map[string]*ASG, error)
ForProjectConfigNotReleaseIDServiceMap finds all previous ASGs and returns them as a service map Will error if there is an ASG without a service name || two ASGs for a service
Types ¶
type ASG ¶
type ASG struct { ProjectNameTag *string ConfigNameTag *string ServiceNameTag *string ReleaseIDTag *string ReleaseIdTag *string MinSize *int64 MaxSize *int64 DesiredCapacity *int64 AutoScalingGroupName *string LaunchConfigurationName *string LoadBalancerNames []*string TargetGroupARNs []*string // contains filtered or unexported fields }
ASG struct
func ForProjectConfigNOTReleaseID ¶
func ForProjectConfigNOTReleaseID(asgc aws.ASGAPI, projectName *string, configName *string, releaseID *string) ([]*ASG, error)
ForProjectConfigNOTReleaseID returns all ASGs not with the release ID
func ForProjectConfigReleaseID ¶
func ForProjectConfigReleaseID(asgc aws.ASGAPI, projectName *string, configName *string, releaseID *string) ([]*ASG, error)
ForProjectConfigReleaseID returns all ASGs with a release ID
func GetInstances ¶
GetInstances returns all instances on an ASG
func (*ASG) AllowedService ¶
AllowedService returns which service is allowed to attach to it
type Input ¶
type Input struct {
*autoscaling.CreateAutoScalingGroupInput
}
Input input struct
Click to show internal directories.
Click to hide internal directories.