portainer/api/http/handler/stacks
Chaim Lev-Ari 86ad1c6af1
feat(stacks): scope stack names to endpoint (#4520)
* refactor(stack): create unique name function

* refactor(stack): change stack resource control id

* feat(stacks): validate stack unique name in endpoint

* feat(stacks): prevent name collision with external stacks

* refactor(stacks): move resource id util

* refactor(stacks): supply resource id util with name and endpoint

* fix(docker): calculate swarm resource id

* feat(stack): prevent migration if stack name already exist

* feat(authorization): use stackutils
2021-02-23 21:18:05 +01:00
..
create_compose_stack.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
create_kubernetes_stack.go refactor(errors): reorganize errors (#3938) 2020-07-08 09:57:52 +12:00
create_swarm_stack.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
git.go feat(stack-creation): add the ability to specify git reference (#1948) (#2063) 2018-07-24 16:11:35 +02:00
handler.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
stack_create.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
stack_delete.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
stack_file.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
stack_inspect.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
stack_list.go docs(api): document apis with swagger (#4678) 2021-02-23 16:21:39 +13:00
stack_migrate.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
stack_start.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
stack_stop.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00
stack_update.go feat(stacks): scope stack names to endpoint (#4520) 2021-02-23 21:18:05 +01:00