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

feat(edge): add EnvVar to stack details [EE-5463] (#9036)

This commit is contained in:
Chaim Lev-Ari 2023-07-04 11:14:35 +07:00 committed by GitHub
parent 1a9a564553
commit f5e09618f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 59 additions and 6 deletions

View file

@ -1,6 +1,9 @@
package edge
import "github.com/portainer/portainer/api/filesystem"
import (
portainer "github.com/portainer/portainer/api"
"github.com/portainer/portainer/api/filesystem"
)
type (
@ -40,6 +43,9 @@ type (
SupportRelativePath bool
// Mount point for relative path
FilesystemPath string
// Used only for EE
// EnvVars is a list of environment variables to inject into the stack
EnvVars []portainer.Pair
}
// RegistryCredentials holds the credentials for a Docker registry.