github.com/xeptore/docker-cli@v20.10.14+incompatible/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  	Composefiles     []string
     8  	Namespace        string
     9  	ResolveImage     string
    10  	SendRegistryAuth bool
    11  	Prune            bool
    12  }
    13  
    14  // List holds docker stack ls options
    15  type List struct {
    16  	Format        string
    17  	AllNamespaces bool
    18  	Namespaces    []string
    19  }
    20  
    21  // PS holds docker stack ps options
    22  type PS struct {
    23  	Filter    opts.FilterOpt
    24  	NoTrunc   bool
    25  	Namespace string
    26  	NoResolve bool
    27  	Quiet     bool
    28  	Format    string
    29  }
    30  
    31  // Remove holds docker stack remove options
    32  type Remove struct {
    33  	Namespaces []string
    34  }
    35  
    36  // Services holds docker stack services options
    37  type Services struct {
    38  	Quiet     bool
    39  	Format    string
    40  	Filter    opts.FilterOpt
    41  	Namespace string
    42  }