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" ShouldRoll commons.FieldName = "should_roll" RollConfig commons.FieldName = "roll_config" BatchSizePercentage commons.FieldName = "batch_size_percentage" GracePeriod commons.FieldName = "grace_period" )
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 ¶
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)
Click to show internal directories.
Click to hide internal directories.