elastigroup_aws

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2020 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Name        commons.FieldName = "name"
	Description commons.FieldName = "description"
	Product     commons.FieldName = "product"

	MaxSize         commons.FieldName = "max_size"
	MinSize         commons.FieldName = "min_size"
	DesiredCapacity commons.FieldName = "desired_capacity"
	CapacityUnit    commons.FieldName = "capacity_unit"

	HealthCheckGracePeriod                        commons.FieldName = "health_check_grace_period"
	HealthCheckType                               commons.FieldName = "health_check_type"
	HealthCheckUnhealthyDurationBeforeReplacement commons.FieldName = "health_check_unhealthy_duration_before_replacement"

	Region                     commons.FieldName = "region"
	SubnetIDs                  commons.FieldName = "subnet_ids"
	AvailabilityZones          commons.FieldName = "availability_zones"
	PreferredAvailabilityZones commons.FieldName = "preferred_availability_zones"
	ElasticLoadBalancers       commons.FieldName = "elastic_load_balancers"
	TargetGroupArns            commons.FieldName = "target_group_arns"
	MultaiTargetSets           commons.FieldName = "multai_target_sets"
	MultaiTargetSetID          commons.FieldName = "target_set_id"
	MultaiBalancerID           commons.FieldName = "balancer_id"
	Tags                       commons.FieldName = "tags"

	RevertToSpot commons.FieldName = "revert_to_spot"
	PerformAt    commons.FieldName = "perform_at"
	TimeWindow   commons.FieldName = "time_windows"

	ElasticIps commons.FieldName = "elastic_ips"

	Signal        commons.FieldName = "signal"
	SignalName    commons.FieldName = "name"
	SignalTimeout commons.FieldName = "timeout"

	UpdatePolicy         commons.FieldName = "update_policy"
	ShouldResumeStateful commons.FieldName = "should_resume_stateful"
	AutoApplyTags        commons.FieldName = "auto_apply_tags"
	ShouldRoll           commons.FieldName = "should_roll"

	RollConfig                    commons.FieldName = "roll_config"
	BatchSizePercentage           commons.FieldName = "batch_size_percentage"
	GracePeriod                   commons.FieldName = "grace_period"
	Strategy                      commons.FieldName = "strategy"
	Action                        commons.FieldName = "action"
	ShouldDrainInstances          commons.FieldName = "should_drain_instances"
	BatchMinHealthyPercentage     commons.FieldName = "batch_min_healthy_percentage"
	OnFailure                     commons.FieldName = "on_failure"
	ActionType                    commons.FieldName = "action_type"
	ShouldHandleAllBatches        commons.FieldName = "should_handle_all_batches"
	BatchNum                      commons.FieldName = "batch_num"
	DrainingTimeout               commons.FieldName = "draining_timeout"
	ShouldDecrementTargetCapacity commons.FieldName = "should_decrement_target_capacity"

	WaitForCapacity        commons.FieldName = "wait_for_capacity"
	WaitForCapacityTimeout commons.FieldName = "wait_for_capacity_timeout"
	WaitForRollPct         commons.FieldName = "wait_for_roll_percentage"
	WaitForRollTimeout     commons.FieldName = "wait_for_roll_timeout"
)
View Source
const (
	ResourceOnRoll commons.LogFormat = "onRoll() -> started for group %v..."
)

Variables

View Source
var TargetGroupArnRegex = regexp.MustCompile(`arn:aws:elasticloadbalancing:.*:\d{12}:targetgroup/(.*)/.*`)

Functions

func Setup

func Setup(fieldsMap map[commons.FieldName]*commons.GenericField)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Setup

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Types

type BalancerType

type BalancerType string
const (
	BalancerTypeClassic         BalancerType = "CLASSIC"
	BalancerTypeTargetGroup     BalancerType = "TARGET_GROUP"
	BalancerTypeMultaiTargetSet BalancerType = "MULTAI_TARGET_SET"
)

type CreateBalancerObjFunc

type CreateBalancerObjFunc func(id string) (*aws.LoadBalancer, error)

type TagField

type TagField string
const (
	TagKey   TagField = "key"
	TagValue TagField = "value"
)

Jump to

Keyboard shortcuts

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