Add support for placement preferences docker-compose v3.3+ (#1425)

This commit is contained in:
ichx
2021-11-04 08:28:45 +08:00
committed by GitHub
parent c921643705
commit 8cb1b0599e
12 changed files with 220 additions and 37 deletions
+1
View File
@@ -216,6 +216,7 @@ type Volumes struct {
type Placement struct {
PositiveConstraints map[string]string
NegativeConstraints map[string]string
Preferences []string
}
// GetConfigMapKeyFromMeta ...