mirror of https://github.com/fluxcd/flux2.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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> |
5 years ago | |
|---|---|---|
| .. | ||
| _files | 5 years ago | |
| _static | 5 years ago | |
| cmd | 5 years ago | |
| components | 5 years ago | |
| contributing | 5 years ago | |
| dev-guides | 5 years ago | |
| diagrams | 5 years ago | |
| faq | 5 years ago | |
| get-started | 5 years ago | |
| guides | 5 years ago | |
| internal | 5 years ago | |
| proposals | 5 years ago | |
| roadmap | 5 years ago | |
| index.md | 5 years ago | |