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.
52145c045d
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> |
4 years ago | |
---|---|---|
.. | ||
_files | 4 years ago | |
_static | 5 years ago | |
cmd | 4 years ago | |
components | 4 years ago | |
contributing | 5 years ago | |
dev-guides | 4 years ago | |
diagrams | 4 years ago | |
faq | 4 years ago | |
get-started | 4 years ago | |
guides | 4 years ago | |
internal | 4 years ago | |
proposals | 5 years ago | |
roadmap | 4 years ago | |
index.md | 4 years ago |