ocean_ecs_launch_spec

package
v1.77.10 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CPUPerUnit    commons.FieldName = "cpu_per_unit"
	MemoryPerUnit commons.FieldName = "memory_per_unit"
	NumOfUnits    commons.FieldName = "num_of_units"
)
View Source
const (
	OceanID            commons.FieldName = "ocean_id"
	ImageID            commons.FieldName = "image_id"
	IamInstanceProfile commons.FieldName = "iam_instance_profile"
	UserData           commons.FieldName = "user_data"
	SecurityGroupIds   commons.FieldName = "security_group_ids"
	Name               commons.FieldName = "name"
	Attributes         commons.FieldName = "attributes"
	AttributeKey       commons.FieldName = "key"
	AttributeValue     commons.FieldName = "value"
	AutoscaleHeadrooms commons.FieldName = "autoscale_headrooms"
	Tags               commons.FieldName = "tags"
	InstanceTypes      commons.FieldName = "instance_types"
	RestrictScaleDown  commons.FieldName = "restrict_scale_down"
	SubnetIDs          commons.FieldName = "subnet_ids"
	SchedulingTask     commons.FieldName = "scheduling_task"
)
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 (
	IsEnabled      commons.FieldName = "is_enabled"
	CronExpression commons.FieldName = "cron_expression"
	TaskType       commons.FieldName = "task_type"
	TaskHeadroom   commons.FieldName = "task_headroom"
)

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

func Setup

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

Types

type IAMField

type IAMField string

type LabelField

type LabelField string
const (
	LabelKey   LabelField = "key"
	LabelValue LabelField = "value"
)

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