Sanskar Jaiswal
97b064be13
add a preview note for all non-bootstrap commands
...
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2 years ago
Max Jonas Werner
52acac1a37
Add /v2 suffix to module name in preparation of 2.0.0 release
...
Signed-off-by: Max Jonas Werner <mail@makk.es>
2 years ago
Stefan Prodan
0d8194c800
Add the kube client qps and burst to the global args
...
Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
3 years ago
Somtochi Onyekwere
9c76ba903b
add wait flag to flux resume cmd
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Somtochi Onyekwere
d3d271defe
use client.Patch for suspend/resume operations
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Jakob Schrettenbrunner
ca7d2e783f
Use k8s.io/cli-runtime for kubernetes flags
...
Signed-off-by: Jakob Schrettenbrunner <jakob.schrettenbrunner@telekom.de>
3 years ago
Somtochi Onyekwere
4f7d89e825
Fix description for resume --all
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
3 years ago
Somtochi Onyekwere
12a2100fcf
Adds suspend and resume all cmd
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Somtochi Onyekwere
a7586e69fd
Refactor cmd global variables into structs
...
Signed-off-by: Somtochi Onyekwere <somtochionyekwere@gmail.com>
4 years ago
Michael Bridgen
cafce536bb
Rename asRuntime* -> asClient*
...
For the avoidance of misdirection.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
0e35c209d9
Factor out upsert and upsertAndWait
...
It's a common pattern in the create commands to construct a value,
then (if not exporting it) upsert it and wait for it to
reconcile. This commit factors `upsert`, which does the update/insert
bit, and `upsertAndWait`, which does the whole thing.
Since these output messages, they are methods of `apiType` (previously
`names`), so that they have access to the name of the kind they are
operating on.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
3b9b2cbe9f
Reuse isReady from create_image commands
...
I implemented the isReady procedure for adapters for resume -- use it
in create too.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
22a5ac7f0f
Standardise the names of types
...
Most commands use either a kind, or a more readable spelling of a
kind, in their output. To make this easier, this centralises the
definition of those names in one place, and lets the command
implementations choose whichever they need.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Michael Bridgen
d55d185044
Implement suspend, resume, reconcile image-update
...
.. and refactor. These are all amenable to the adapter refactoring
that has served well so far.
Signed-off-by: Michael Bridgen <michael@weave.works>
4 years ago
Hidde Beydals
e2752e4508
Rename `gotk` binary to `flux`
...
Signed-off-by: Hidde Beydals <hello@hidde.co>
4 years ago