aws-launch

module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2019 License: Apache-2.0

README

aws-launch Go Report Card

This project which enables you to launch container based tasks using AWS services Elastic Container Service (ECS) and CodeBuild. It provides a simplified interface when using these services, removing some of the inconsistencies.

The CLI is just provided to illustrate how the API works, hence the rather odd JSON file driven interface which provides a very coarse interface but demonstrates JSON validation typically used in RPC services.

CLI Usage

This cli allows you to provide JSON payloads to the API, which are then validated and used to launch and manage tasks. Note there is a dump schema command which will return the JSON schema for each JSON payload.

usage: aws-launch [<flags>] <command> [<args> ...]

A command-line task provisioning application.

Flags:
      --help     Show context-sensitive help (also try --help-long and --help-man).
  -v, --verbose  Verbose mode.

Commands:
  help [<command>...]
    Show help.


  one-task <one-file>
    Create a new definition and run in one shot.


  define-task <def-file>
    Create a new definition.


  launch-task <launch-file>
    Launch a new task.


  cleanup-task <cleanup-file>
    Cleanup a new task.


  get-task-logs <get-task-logs>
    Get logs for task.


  dump-schema <struct-name>
    Write the JSON Schema to stdout.

License

This project is released under Apache 2.0 License.

Directories

Path Synopsis
cmd
pkg

Jump to

Keyboard shortcuts

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