1
0
Fork 0
mirror of https://github.com/portainer/portainer.git synced 2025-07-24 15:59:41 +02:00

feat(ACI): add UAC to ACI (#4952)

This commit is contained in:
fhanportainer 2021-04-13 23:55:11 +12:00 committed by GitHub
parent d09ae22ba8
commit 12cf4a00f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 410 additions and 18 deletions

View file

@ -78,6 +78,8 @@ func (handler *Handler) resourceControlCreate(w http.ResponseWriter, r *http.Req
switch payload.Type {
case "container":
resourceControlType = portainer.ContainerResourceControl
case "container-group":
resourceControlType = portainer.ContainerGroupResourceControl
case "service":
resourceControlType = portainer.ServiceResourceControl
case "volume":