diff options
author | Arne H Juul <arnej27959@users.noreply.github.com> | 2022-08-25 10:50:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 10:50:18 +0200 |
commit | 490223783062e2f95a517c37ac6b3fa47e2bc73f (patch) | |
tree | 4b8bd00e6e78c31f26f94b58409c801844b9b922 /client/go/cmd/deploy/options.go | |
parent | 521a6fe075a4eb895703cacd1787ccd1b4d7499f (diff) | |
parent | ba290bf93310ca1f2273c11f3f877231a850a2cc (diff) |
Merge pull request #23773 from vespa-engine/arnej/add-deploy-go-1
add go code for vespa-deploy
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 +} |