create, list, delete for cluster, task and service

This commit is contained in:
jbencook 2015-12-17 17:13:00 +00:00
commit 3737b39e15
7 changed files with 666 additions and 0 deletions

11
moto/ecs/__init__.py Normal file
View file

@ -0,0 +1,11 @@
from __future__ import unicode_literals
from .models import ecs_backends
from ..core.models import MockAWS
ecs_backend = ecs_backends['us-east-1']
def mock_ecs(func=None):
if func:
return MockAWS(ecs_backends)(func)
else:
return MockAWS(ecs_backends)