Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AutoScalingGroup ¶
type AutoScalingGroup struct { service.AbstractResource types.AutoScalingGroup }
func NewAutoScalingGroup ¶
func NewAutoScalingGroup(client AwsClient, group types.AutoScalingGroup) AutoScalingGroup
func (AutoScalingGroup) GetName ¶
func (e AutoScalingGroup) GetName() string
func (AutoScalingGroup) GetTagValue ¶
func (e AutoScalingGroup) GetTagValue(tag string) string
func (AutoScalingGroup) GetTags ¶
func (e AutoScalingGroup) GetTags() map[string]string
type AutoScalingGroupList ¶
type AutoScalingGroupList struct {
Items []AutoScalingGroup
}
type AutoscalingRepository ¶
type AutoscalingRepository struct {
// contains filtered or unexported fields
}
func NewAsgRepository ¶
func NewAsgRepository(ctx context.Context, client AwsClient) *AutoscalingRepository
func (*AutoscalingRepository) GetRegion ¶
func (r *AutoscalingRepository) GetRegion() ptypes.AwsRegion
func (*AutoscalingRepository) ListAutoScalingGroups ¶
func (r *AutoscalingRepository) ListAutoScalingGroups(query *autoscaling.DescribeAutoScalingGroupsInput) ([]AutoScalingGroup, error)
func (*AutoscalingRepository) ListAutoScalingGroupsAll ¶
func (r *AutoscalingRepository) ListAutoScalingGroupsAll() ([]AutoScalingGroup, error)
type AwsClient ¶
type AwsClient interface { GetRegion() ptypes.AwsRegion GetAccountID() ptypes.AwsAccountID Autoscaling() *autoscaling.Client }
Click to show internal directories.
Click to hide internal directories.