1
0
mirror of synced 2026-02-06 19:05:55 +00:00
Files
flux2/cmd/flux
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>
2020-12-11 16:34:18 +00:00
..
2020-10-29 16:25:16 +01:00
2020-10-29 16:25:16 +01:00
2020-10-29 16:25:16 +01:00
2020-10-29 16:25:16 +01:00
2020-12-04 16:54:13 +02:00
2020-10-29 16:25:16 +01:00
2020-12-11 16:34:18 +00:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-10-29 16:25:16 +01:00
2020-12-11 16:34:18 +00:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-10-29 16:25:16 +01:00
2020-12-11 16:34:18 +00:00
2020-10-29 16:25:16 +01:00
2020-12-11 16:34:18 +00:00
2020-12-11 16:34:18 +00:00
2020-12-10 20:21:09 +01:00
2020-12-10 20:21:09 +01:00
2020-12-11 16:34:18 +00:00
2020-10-29 16:25:16 +01:00
2020-11-26 16:40:54 +02:00
2020-12-11 16:34:18 +00:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-26 16:22:47 +02:00
2020-12-11 16:34:18 +00:00