autoscaling

package
v0.1.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 14 Imported by: 0

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 (*AutoscalingRepository) ListAutoScalingGroupsAll

func (r *AutoscalingRepository) ListAutoScalingGroupsAll() ([]AutoScalingGroup, error)

type AwsClient

type AwsClient interface {
	GetRegion() ptypes.AwsRegion
	GetAccountID() ptypes.AwsAccountID
	Autoscaling() *autoscaling.Client
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL