ecmanager

command module
v0.0.0-...-29555c8 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

README

ECManager

A terminal UI to manage your AWS ElasticContainerService-Clusters

Note

This tool is currently under development and therefore not released yet.

Local Development

If you want to use a local AWS ECS-Mock, we have prepared a docker-compose file for you. Just run the following command:

docker compose up -d

After that you can start the ECManager with the following environment variables:

export AWS_ENDPOINT_URL=http://localhost:5000
export AWS_REGION=eu-central-1
export AWS_ACCESS_KEY_ID=foo
export AWS_SECRET_ACCESS_KEY=bar
go run cmd/aws/main.go
Setting up Moto

If you want to use Moto as a local AWS-Mock, you can start the docker-compose (as described above).

After that you can interact with the Moto-Server via aws cli:

# create a cluster
aws --endpoint-url=http://localhost:5000 ecs create-cluster --cluster-name test-cluster
aws --endpoint-url=http://localhost:5000 ecs ...
Local Documentation

If you want to use our Documentation (mkdocs-material) Local, we have prepared a docker-compose file for you. Just run the following command:

docker compose up -d mkdocs

Now you can access the documentation under localhost:8000

Execute Tests
make test

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
api command
aws command
internal
api
aws

Jump to

Keyboard shortcuts

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