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-12-11 15:08:19 +00:00
2020-12-11 15:08:19 +00:00
2020-12-11 15:08:19 +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-12-11 16:34:18 +00:00
2020-12-11 16:34:14 +00:00
2020-12-11 16:34:18 +00:00
2020-11-27 12:20:55 +02:00
2020-11-27 12:20:55 +02:00
2020-11-02 21:32:55 +01:00
2020-12-04 16:54:13 +02:00
2020-12-04 16:54:13 +02:00
2020-11-02 21:32:55 +01:00
2020-12-11 12:10:30 +01:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-11-25 16:42:52 +02:00
2020-12-11 16:34:14 +00:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-12-11 16:34:18 +00:00
2020-12-11 16:34:14 +00: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-12-11 16:34:14 +00:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-12-11 16:34:18 +00:00
2020-12-11 16:34:14 +00: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-12-11 16:34:14 +00:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-12-11 16:34:18 +00:00
2020-12-11 16:34:14 +00: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 17:17:50 +02:00
2020-11-26 17:17:50 +02:00
2020-11-26 17:17:50 +02:00
2020-11-26 17:17:50 +02:00
2020-11-26 17:17:50 +02:00
2020-12-11 16:34:14 +00:00
2020-12-11 15:08:19 +00:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00
2020-12-11 16:34:14 +00:00
2020-12-11 16:34:14 +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-12-11 16:34:14 +00:00
2020-11-02 21:32:55 +01:00
2020-12-11 16:34:14 +00:00
2020-12-11 16:34:14 +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:40:54 +02:00
2020-11-26 16:40:54 +02:00
2020-11-26 16:40:54 +02:00
2020-11-26 16:40:54 +02:00
2020-11-26 16:40:54 +02:00
2020-12-11 16:34:14 +00:00
2020-11-02 21:32:55 +01:00
2020-12-11 16:34:14 +00:00
2020-12-11 16:34:14 +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-11-26 16:22:47 +02:00
2020-11-26 16:22:47 +02:00
2020-11-26 16:22:47 +02:00
2020-11-26 16:22:47 +02:00
2020-12-11 16:34:14 +00:00
2020-11-02 21:32:55 +01:00
2020-11-02 21:32:55 +01:00