1
0
mirror of synced 2026-02-06 10:55:56 +00:00
Files
flux2/docs
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-07-30 22:00:01 +02:00
2020-12-11 16:34:18 +00:00
2020-07-03 14:09:30 +02:00
2020-10-14 10:35:29 +03:00
2020-12-09 11:27:25 +02:00
2020-12-11 14:52:19 +02:00
2020-12-01 14:24:45 +01:00