# Functions
NOTE: desired status is misleading, we should probably filter on last status.
ConvertMapToSlice converts the map [String -> bool] to a AWS String Slice that is used by our APIs as input.
GetIdFromArn gets the aws String value of the input arn and returns the id part of the arn.
GetOrCreateTaskDefinition gets the task definition from cache if present, else creates it in ECS and persists in a local cache.
GetProjectName returns the name of the project that was set in the context we are working with.
GetServiceName using project entity.
GetTaskDefinitionFamily returns the family name.
GetTaskGroup returns an auto-generated formatted string that can be supplied while starting an ECS task and is used to identify the owner of ECS Task.
Info returns a formatted list of containers (running and stopped) in the current cluster filtered by this project if filterLocal is set to true.
NewTaskDefinitionStore creates a new in memory task definition cache.
OptionallyCreateLogs creates CW log groups if the --create-log-group flag is present.
SetupTaskDefinitionCache finds a file system cache to store the ecs task definitions.
TestInfo tests ps commands.
ValidateFargateParams ensures that the correct config has been given to run a Fargate task.
# Constants
No description provided by the author
No description provided by the author
# Structs
TaskDefinitionStore is an in memory cache of Task definitions This is provided to reduce the number of calls to describe-task-definition.
# Interfaces
ProjectEntity ties closely to how operations performed with the compose yaml are integrated with ECS It holds all the commands that are needed to operate the compose app.