2017-12-04 06:30:39 -05:00
|
|
|
package options
|
|
|
|
|
|
|
|
import "github.com/docker/cli/opts"
|
|
|
|
|
|
|
|
// Deploy holds docker stack deploy options
|
|
|
|
type Deploy struct {
|
2017-09-29 08:21:40 -04:00
|
|
|
Composefiles []string
|
2017-12-04 06:30:39 -05:00
|
|
|
Namespace string
|
|
|
|
ResolveImage string
|
|
|
|
SendRegistryAuth bool
|
|
|
|
Prune bool
|
|
|
|
}
|
|
|
|
|
|
|
|
// List holds docker stack ls options
|
|
|
|
type List struct {
|
2018-04-09 09:13:16 -04:00
|
|
|
Format string
|
|
|
|
AllNamespaces bool
|
2017-12-04 06:30:39 -05:00
|
|
|
}
|
|
|
|
|
|
|
|
// PS holds docker stack ps options
|
|
|
|
type PS struct {
|
|
|
|
Filter opts.FilterOpt
|
|
|
|
NoTrunc bool
|
|
|
|
Namespace string
|
|
|
|
NoResolve bool
|
|
|
|
Quiet bool
|
|
|
|
Format string
|
|
|
|
}
|
|
|
|
|
|
|
|
// Remove holds docker stack remove options
|
|
|
|
type Remove struct {
|
|
|
|
Namespaces []string
|
|
|
|
}
|
|
|
|
|
|
|
|
// Services holds docker stack services options
|
|
|
|
type Services struct {
|
|
|
|
Quiet bool
|
|
|
|
Format string
|
|
|
|
Filter opts.FilterOpt
|
|
|
|
Namespace string
|
|
|
|
}
|