Documentation ¶
Index ¶
Constants ¶
View Source
const ( AutoscaleHeadroomsAutomatic commons.FieldName = "autoscale_headrooms_automatic" AutoHeadroomPercentage commons.FieldName = "auto_headroom_percentage" )
View Source
const ( CPUPerUnit commons.FieldName = "cpu_per_unit" GPUPerUnit commons.FieldName = "gpu_per_unit" MemoryPerUnit commons.FieldName = "memory_per_unit" NumOfUnits commons.FieldName = "num_of_units" )
View Source
const ( SecurityGroups commons.FieldName = "security_groups" Name commons.FieldName = "name" OceanID commons.FieldName = "ocean_id" ImageID commons.FieldName = "image_id" UserData commons.FieldName = "user_data" IamInstanceProfile commons.FieldName = "iam_instance_profile" Labels commons.FieldName = "labels" Taints commons.FieldName = "taints" AutoscaleHeadrooms commons.FieldName = "autoscale_headrooms" SubnetIDs commons.FieldName = "subnet_ids" InstanceTypes commons.FieldName = "instance_types" PreferredSpotTypes commons.FieldName = "preferred_spot_types" RootVolumeSize commons.FieldName = "root_volume_size" Tags commons.FieldName = "tags" ElasticIpPool commons.FieldName = "elastic_ip_pool" TagSelector commons.FieldName = "tag_selector" TagSelectorKey commons.FieldName = "tag_key" TagSelectorValue commons.FieldName = "tag_value" ResourceLimits commons.FieldName = "resource_limits" MaxInstanceCount commons.FieldName = "max_instance_count" MinInstanceCount commons.FieldName = "min_instance_count" Strategy commons.FieldName = "strategy" AssociatePublicIPAddress commons.FieldName = "associate_public_ip_address" RestrictScaleDown commons.FieldName = "restrict_scale_down" SchedulingTask commons.FieldName = "scheduling_task" SchedulingShutdownHours commons.FieldName = "scheduling_shutdown_hours" )
View Source
const ( BlockDeviceMappings commons.FieldName = "block_device_mappings" DeviceName commons.FieldName = "device_name" Ebs commons.FieldName = "ebs" DeleteOnTermination commons.FieldName = "delete_on_termination" Encrypted commons.FieldName = "encrypted" IOPS commons.FieldName = "iops" KMSKeyID commons.FieldName = "kms_key_id" SnapshotID commons.FieldName = "snapshot_id" VolumeSize commons.FieldName = "volume_size" DynamicVolumeSize commons.FieldName = "dynamic_volume_size" BaseSize commons.FieldName = "base_size" Resource commons.FieldName = "resource" SizePerResourceUnit commons.FieldName = "size_per_resource_unit" VolumeType commons.FieldName = "volume_type" NoDevice commons.FieldName = "no_device" VirtualName commons.FieldName = "virtual_name" Throughput commons.FieldName = "throughput" )
View Source
const ( CreateOptions commons.FieldName = "create_options" InitialNodes commons.FieldName = "initial_nodes" )
View Source
const ( UpdatePolicy commons.FieldName = "update_policy" ShouldRoll commons.FieldName = "should_roll" RollConfig commons.FieldName = "roll_config" BatchSizePercentage commons.FieldName = "batch_size_percentage" )
View Source
const ( DeleteOptions commons.FieldName = "delete_options" ForceDelete commons.FieldName = "force_delete" )
View Source
const ( IsEnabled commons.FieldName = "is_enabled" CronExpression commons.FieldName = "cron_expression" TaskType commons.FieldName = "task_type" TaskHeadroom commons.FieldName = "task_headroom" )
View Source
const (
SpotPercentage commons.FieldName = "spot_percentage"
)
View Source
const (
TimeWindows commons.FieldName = "time_windows"
)
Variables ¶
View Source
var InstanceProfileArnRegex = regexp.MustCompile(`arn:aws:iam::\d{12}:instance-profile/?[a-zA-Z_0-9+=,.@\-_/]+`)
Functions ¶
func Base64StateFunc ¶
func Base64StateFunc(v interface{}) string
Types ¶
type LabelField ¶
type LabelField string
const ( LabelKey LabelField = "key" LabelValue LabelField = "value" )
type TaintField ¶
type TaintField string
const ( TaintKey TaintField = "key" TaintValue TaintField = "value" Effect TaintField = "effect" )
Click to show internal directories.
Click to hide internal directories.