github.com/AliyunContainerService/cli@v0.0.0-20181009023821-814ced4b30d0/cli/command/stack/options/opts.go (about) 1 package options 2 3 import "github.com/docker/cli/opts" 4 5 // Deploy holds docker stack deploy options 6 type Deploy struct { 7 Bundlefile string 8 Composefiles []string 9 Namespace string 10 ResolveImage string 11 SendRegistryAuth bool 12 Prune bool 13 } 14 15 // List holds docker stack ls options 16 type List struct { 17 Format string 18 AllNamespaces bool 19 Namespaces []string 20 } 21 22 // PS holds docker stack ps options 23 type PS struct { 24 Filter opts.FilterOpt 25 NoTrunc bool 26 Namespace string 27 NoResolve bool 28 Quiet bool 29 Format string 30 } 31 32 // Remove holds docker stack remove options 33 type Remove struct { 34 Namespaces []string 35 } 36 37 // Services holds docker stack services options 38 type Services struct { 39 Quiet bool 40 Format string 41 Filter opts.FilterOpt 42 Namespace string 43 }