ocean_ecs_launch_spec

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 (
	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"
)

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)

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

Setup

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

Types

type IAMField

type IAMField string

type LabelField

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

type TagField added in v1.15.0

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