github.com/panekj/cli@v0.0.0-20230304125325-467dd2f3797e/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  // Config holds docker stack config options
    15  type Config struct {
    16  	Composefiles      []string
    17  	SkipInterpolation bool
    18  }
    19  
    20  // List holds docker stack ls options
    21  type List struct {
    22  	Format        string
    23  	AllNamespaces bool
    24  }
    25  
    26  // PS holds docker stack ps options
    27  type PS struct {
    28  	Filter    opts.FilterOpt
    29  	NoTrunc   bool
    30  	Namespace string
    31  	NoResolve bool
    32  	Quiet     bool
    33  	Format    string
    34  }
    35  
    36  // Remove holds docker stack remove options
    37  type Remove struct {
    38  	Namespaces []string
    39  }
    40  
    41  // Services holds docker stack services options
    42  type Services struct {
    43  	Quiet     bool
    44  	Format    string
    45  	Filter    opts.FilterOpt
    46  	Namespace string
    47  }