Documentation ¶
Index ¶
- type Inspector
- func (i Inspector) GenerateStack(region string, group *autoscaling.Group) schemas.Stack
- func (i Inspector) GetLaunchTemplateInformation(ltID string) (*ec2.LaunchTemplateVersion, error)
- func (i Inspector) GetSecurityGroupsInformation(sgIds []*string) ([]*ec2.SecurityGroup, error)
- func (i Inspector) GetStackInformation(asgName string) (*autoscaling.Group, error)
- func (i Inspector) GetStacks(application string) ([]string, error)
- func (i Inspector) Print() error
- func (i Inspector) SelectStack(application string) (string, error)
- func (i Inspector) SetStatusSummary(asg *autoscaling.Group, sgs []*ec2.SecurityGroup) StatusSummary
- func (i Inspector) Update() error
- type SecurityGroup
- type StatusSummary
- type UpdateFields
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inspector ¶
type Inspector struct { AWSClient aws.Client StatusSummary StatusSummary UpdateFields UpdateFields }
func (Inspector) GenerateStack ¶
GenerateStack generates stack configuration for update
func (Inspector) GetLaunchTemplateInformation ¶
func (i Inspector) GetLaunchTemplateInformation(ltID string) (*ec2.LaunchTemplateVersion, error)
GetLaunchTemplateInformation retrieves single launch template information
func (Inspector) GetSecurityGroupsInformation ¶
func (i Inspector) GetSecurityGroupsInformation(sgIds []*string) ([]*ec2.SecurityGroup, error)
GetSecurityGroupsInformation retrieves security groups' information
func (Inspector) GetStackInformation ¶
func (i Inspector) GetStackInformation(asgName string) (*autoscaling.Group, error)
func (Inspector) SelectStack ¶
SelectStack selects a stack
func (Inspector) SetStatusSummary ¶
func (i Inspector) SetStatusSummary(asg *autoscaling.Group, sgs []*ec2.SecurityGroup) StatusSummary
SetStatusSummary creates status summary structure
type SecurityGroup ¶
type StatusSummary ¶
type StatusSummary struct { Name string Capacity schemas.Capacity CreatedTime time.Time InstanceType map[string]int64 Tags []string IngressRules []SecurityGroup EgressRules []SecurityGroup }
type UpdateFields ¶
Click to show internal directories.
Click to hide internal directories.