demitas2

package module
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2022 License: MIT Imports: 3 Imported by: 0

README

demitas2

build

Wrapper for ecspresso that creates task definitions at run time.

Requirement

Installation

brew install winebarrel/demitas2/demitas2

Usage

Usage: dmts --ecspresso-cmd="ecspresso" --conf-dir="~/.demitas" --config="ecspresso.yml" --container-def="ecs-container-def.jsonnet" <command>

Flags:
  -h, --help                                         Show context-sensitive help.
      --version
      --ecspresso-cmd="ecspresso"                    ecspresso command path ($ECSPRESSO_CMD).
  -X, --ecspresso-opts=STRING                        Options passed to ecspresso ($ECSPRESSO_OPTS).
      --dry-run                                      Run ecspresso with dry-run.
  -d, --conf-dir="~/.demitas"                        Config file base dir ($DMTS_CONF_DIR).
      --config="ecspresso.yml"                       ecspresso config file name ($ECSPRESSO_CONF).
      --container-def="ecs-container-def.jsonnet"    ECS container definition file name ($DMTS_CONT_DEF).
  -e, --config-overrides=STRING                      JSON/YAML string that overrides ecspresso config.
  -s, --service-overrides=STRING                     JSON/YAML string that overrides ECS service definition.
  -t, --task-overrides=STRING                        JSON/YAML string that overrides ECS task definition.
  -c, --container-overrides=STRING                   JSON/YAML string that overrides ECS container definition.

Commands:
  run --ecspresso-cmd="ecspresso" --conf-dir="~/.demitas" --config="ecspresso.yml" --container-def="ecs-container-def.jsonnet" --profile=STRING
    Run ECS task.

  exec --ecspresso-cmd="ecspresso" --conf-dir="~/.demitas" --config="ecspresso.yml" --container-def="ecs-container-def.jsonnet" --profile=STRING --command="bash"
    Run ECS task and execute a command on a container.

  port-forward --ecspresso-cmd="ecspresso" --conf-dir="~/.demitas" --config="ecspresso.yml" --container-def="ecs-container-def.jsonnet" --profile=STRING --remote-host=STRING --remote-port=UINT --local-port=UINT
    Forward a local port to a container.

  profiles --ecspresso-cmd="ecspresso" --conf-dir="~/.demitas" --config="ecspresso.yml" --container-def="ecs-container-def.jsonnet"
    List profiles.

  install-completions --ecspresso-cmd="ecspresso" --conf-dir="~/.demitas" --config="ecspresso.yml" --container-def="ecs-container-def.jsonnet"
    Install shell completions

Run "dmts <command> --help" for more information on a command.

Install shell completions

dmts install-completions >> ~/.zshrc

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Ecspresso      *ecspresso.Ecspresso
	DryRun         bool
	DefinitionOpts *definition.DefinitionOpts
	Ecs            *ecscli.Driver
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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