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

This commit is contained in:
ichx authored and GitHub committed 2021-11-04 08:28:45 +08:00
1 parent c921643705
commit 8cb1b0599e
12 files changed
+220 -37

No files matched your search

+1
View File
@@ -216,6 +216,7 @@ type Volumes struct {
type Placement struct {
PositiveConstraints map[string]string
NegativeConstraints map[string]string
Preferences []string
}
// GetConfigMapKeyFromMeta ...