1
0
mirror of synced 2026-02-06 10:55:56 +00:00
Files
flux2/docs/cmd
Michael Bridgen 52145c045d Add delete image-policy and refactor
This adds a command for deleting ImagePolicy objects. Since the
control flow for the command needs only a runtime.Object (and a name
for the type), it can be factored out.

I have made the argument (field in the deleteCommand struct) an
interface `objectContainer`, through which the command code gets a
`runtime.Object` to deserialise into (and delete). It could be simply
a `runtime.Object` here; however things like `getCommand` require
other methods, so it's convenient to have an interface for it.

Signed-off-by: Michael Bridgen <michael@weave.works>
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-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-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