asg

package
v0.0.0-...-78ba6d8 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAutoScalingGroupFaultFromConfig

func NewAutoScalingGroupFaultFromConfig(selector domain.TargetSelector, provider awsapis.AWSProvider) ([]domain.ConsistentStateResource, error)

func RestoreAutoScalingGroupsFromState

func RestoreAutoScalingGroupsFromState(stateData []byte, provider awsapis.AWSProvider) error

Types

type AutoScalingGroup

type AutoScalingGroup struct {
	Provider             awsapis.AWSProvider
	AutoScalingGroupName string
	// contains filtered or unexported fields
}

func (*AutoScalingGroup) Check

func (asg *AutoScalingGroup) Check() (bool, error)

func (*AutoScalingGroup) Fail

func (asg *AutoScalingGroup) Fail(azs []string) error

func (*AutoScalingGroup) Restore

func (asg *AutoScalingGroup) Restore() error

func (*AutoScalingGroup) Save

func (asg *AutoScalingGroup) Save(stateManager state.StateManager) error

type AutoScalingGroupState

type AutoScalingGroupState struct {
	AutoScalingGroupName string   `json:"asgName"`
	Subnets              []string `json:"subnets"`
}

Jump to

Keyboard shortcuts

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