ecs

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	types.Metadata
	Settings ClusterSettings
}

type ClusterSettings

type ClusterSettings struct {
	types.Metadata
	ContainerInsightsEnabled types.BoolValue
}

type ContainerDefinition

type ContainerDefinition struct {
	types.Metadata
	Name         types.StringValue
	Image        types.StringValue
	CPU          types.IntValue
	Memory       types.IntValue
	Essential    types.BoolValue
	PortMappings []PortMapping
	Environment  []EnvVar
	Privileged   types.BoolValue
}

func CreateDefinitionsFromString

func CreateDefinitionsFromString(metadata types.Metadata, str string) ([]ContainerDefinition, error)

type ECS

type ECS struct {
	Clusters        []Cluster
	TaskDefinitions []TaskDefinition
}

type EFSVolumeConfiguration

type EFSVolumeConfiguration struct {
	types.Metadata
	TransitEncryptionEnabled types.BoolValue
}

type EnvVar

type EnvVar struct {
	Name  string
	Value string
}

type PortMapping

type PortMapping struct {
	ContainerPort types.IntValue
	HostPort      types.IntValue
}

type TaskDefinition

type TaskDefinition struct {
	types.Metadata
	Volumes              []Volume
	ContainerDefinitions []ContainerDefinition
}

type Volume

type Volume struct {
	types.Metadata
	EFSVolumeConfiguration EFSVolumeConfiguration
}

Jump to

Keyboard shortcuts

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