moto/moto/eks/urls.py
2021-08-19 06:44:56 +01:00

21 lines
610 B
Python

from __future__ import unicode_literals
from .responses import EKSResponse
url_bases = [
"https?://eks.(.+).amazonaws.com",
]
response = EKSResponse()
url_paths = {
"{0}/clusters$": response.dispatch,
"{0}/clusters/(?P<name>[^/]+)$": response.dispatch,
"{0}/clusters/(?P<name>[^/]+)/node-groups$": response.dispatch,
"{0}/clusters/(?P<name>[^/]+)/node-groups/(?P<nodegroupName>[^/]+)$": response.dispatch,
"{0}/clusters/(?P<name>[^/]+)/fargate-profiles$": response.dispatch,
"{0}/clusters/(?P<name>[^/]+)/fargate-profiles/(?P<fargateProfileName>[^/]+)$": response.dispatch,
}