diff options
Diffstat (limited to 'client/go/cmd/deploy/options.go')
-rw-r--r-- | client/go/cmd/deploy/options.go | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/client/go/cmd/deploy/options.go b/client/go/cmd/deploy/options.go new file mode 100644 index 00000000000..2f71f779044 --- /dev/null +++ b/client/go/cmd/deploy/options.go @@ -0,0 +1,37 @@ +// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +// vespa-deploy command +// Author: arnej + +package deploy + +type CmdType int + +const ( + CmdNone CmdType = iota + CmdUpload + CmdPrepare + CmdActivate + CmdFetch +) + +type Options struct { + Command CmdType + + Verbose bool + DryRun bool + Force bool + Hosted bool + + Application string + Environment string + From string + Instance string + Region string + Rotations string + ServerHost string + Tenant string + VespaVersion string + + Timeout int + PortNumber int +} |