ocean_aws_launch_spec

package
v1.15.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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"
	RootVolumeSize     commons.FieldName = "root_volume_size"
	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 added in v1.13.0

type IAMField string

type LabelField

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

type TagField added in v1.14.3

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

type TaintField

type TaintField string
const (
	TaintKey   TaintField = "key"
	TaintValue TaintField = "value"
	Effect     TaintField = "effect"
)

Jump to

Keyboard shortcuts

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