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.
flux2/cmd/flux
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>
4 years ago
..
bootstrap.go Give flux bootstrap the extra components flag 4 years ago
bootstrap_github.go Give flux bootstrap the extra components flag 4 years ago
bootstrap_gitlab.go Give flux bootstrap the extra components flag 4 years ago
check.go Set kubecontext and kubeconfig for kubectl exec 4 years ago
completion.go Rename `gotk` binary to `flux` 4 years ago
completion_bash.go Rename `gotk` binary to `flux` 4 years ago
completion_fish.go Rename `gotk` binary to `flux` 4 years ago
completion_powershell.go Rename `gotk` binary to `flux` 4 years ago
completion_zsh.go Rename `gotk` binary to `flux` 4 years ago
create.go Rename `gotk` binary to `flux` 4 years ago
create_alert.go Refactor to adopt k8s standardized Condition type 4 years ago
create_alertprovider.go Refactor to adopt k8s standardized Condition type 4 years ago
create_auto.go Add subcommands for image-repository 4 years ago
create_auto_imagepolicy.go Add {create,export} auto image-policy 4 years ago
create_auto_imagerepository.go Add subcommands for image-repository 4 years ago
create_helmrelease.go Add service account arg to create commands 4 years ago
create_kustomization.go Add service account arg to create commands 4 years ago
create_receiver.go Refactor to adopt k8s standardized Condition type 4 years ago
create_secret.go Add create secret git command 4 years ago
create_secret_git.go Fix create secret for Git over HTTP/S 4 years ago
create_source.go Rename `gotk` binary to `flux` 4 years ago
create_source_bucket.go Add labels to generated secrets 4 years ago
create_source_git.go Add git implementation flag and note about Azure DevOps 4 years ago
create_source_helm.go Add labels to generated secrets 4 years ago
create_tenant.go Fix tenant service account binding 4 years ago
delete.go Add delete image-policy and refactor 4 years ago
delete_alert.go Add a --context option 4 years ago
delete_alertprovider.go Add a --context option 4 years ago
delete_auto.go Add subcommands for image-repository 4 years ago
delete_auto_imagepolicy.go Add delete image-policy and refactor 4 years ago
delete_auto_imagerepository.go Add delete image-policy and refactor 4 years ago
delete_helmrelease.go Add a --context option 4 years ago
delete_kustomization.go Add a --context option 4 years ago
delete_receiver.go Add a --context option 4 years ago
delete_source.go Rename `gotk` binary to `flux` 4 years ago
delete_source_bucket.go Add a --context option 4 years ago
delete_source_git.go Add a --context option 4 years ago
delete_source_helm.go Add a --context option 4 years ago
export.go Rename `gotk` binary to `flux` 4 years ago
export_alert.go Add a --context option 4 years ago
export_alertprovider.go Add a --context option 4 years ago
export_auto.go Add subcommands for image-repository 4 years ago
export_auto_imagepolicy.go Add {create,export} auto image-policy 4 years ago
export_auto_imagerepository.go Add subcommands for image-repository 4 years ago
export_helmrelease.go Add a --context option 4 years ago
export_kustomization.go Add a --context option 4 years ago
export_receiver.go Add a --context option 4 years ago
export_source.go Rename `gotk` binary to `flux` 4 years ago
export_source_bucket.go Add a --context option 4 years ago
export_source_git.go Add a --context option 4 years ago
export_source_helm.go Add a --context option 4 years ago
get.go Add delete image-policy and refactor 4 years ago
get_alert.go Add suspend status to get sources commands 4 years ago
get_alertprovider.go Refactor to adopt k8s standardized Condition type 4 years ago
get_auto.go Add subcommands for image-repository 4 years ago
get_auto_imagepolicy.go Add delete image-policy and refactor 4 years ago
get_auto_imagerepository.go Add delete image-policy and refactor 4 years ago
get_helmrelease.go Add suspend status to get sources commands 4 years ago
get_kustomization.go Add suspend status to get sources commands 4 years ago
get_receiver.go Add suspend status to get sources commands 4 years ago
get_source.go Rename `gotk` binary to `flux` 4 years ago
get_source_bucket.go Add suspend status to get sources commands 4 years ago
get_source_chart.go Add suspend status to get sources commands 4 years ago
get_source_git.go Add suspend status to get sources commands 4 years ago
get_source_helm.go Add suspend status to get sources commands 4 years ago
install.go Give flux bootstrap the extra components flag 4 years ago
log.go Log to stderr 4 years ago
main.go Log to stderr 4 years ago
object.go Add delete image-policy and refactor 4 years ago
reconcile.go Rename `gotk` binary to `flux` 4 years ago
reconcile_alert.go Do not try to reconcile a suspended object 4 years ago
reconcile_alertprovider.go Add a --context option 4 years ago
reconcile_auto.go Add subcommands for image-repository 4 years ago
reconcile_auto_imagerepository.go Add subcommands for image-repository 4 years ago
reconcile_helmrelease.go Do not try to reconcile a suspended object 4 years ago
reconcile_kustomization.go Do not try to reconcile a suspended object 4 years ago
reconcile_receiver.go Do not try to reconcile a suspended object 4 years ago
reconcile_source.go Rename `gotk` binary to `flux` 4 years ago
reconcile_source_bucket.go Do not try to reconcile a suspended object 4 years ago
reconcile_source_git.go Do not try to reconcile a suspended object 4 years ago
reconcile_source_helm.go Do not try to reconcile a suspended object 4 years ago
resume.go Rename `gotk` binary to `flux` 4 years ago
resume_alert.go Refactor to adopt k8s standardized Condition type 4 years ago
resume_auto.go Add subcommands for image-repository 4 years ago
resume_auto_imagerepository.go Add subcommands for image-repository 4 years ago
resume_helmrelease.go Add resume source commands 4 years ago
resume_kustomization.go Add resume source commands 4 years ago
resume_receiver.go Refactor to adopt k8s standardized Condition type 4 years ago
resume_source.go Add resume source commands 4 years ago
resume_source_bucket.go Add resume source commands 4 years ago
resume_source_chart.go Add resume source commands 4 years ago
resume_source_git.go Add resume source commands 4 years ago
resume_source_helm.go Add resume source commands 4 years ago
suspend.go Rename `gotk` binary to `flux` 4 years ago
suspend_alert.go Add a --context option 4 years ago
suspend_auto.go Add subcommands for image-repository 4 years ago
suspend_auto_imagerepository.go Add subcommands for image-repository 4 years ago
suspend_helmrelease.go Add a --context option 4 years ago
suspend_kustomization.go Add a --context option 4 years ago
suspend_receiver.go Add a --context option 4 years ago
suspend_source.go Add suspend source commands 4 years ago
suspend_source_bucket.go Add suspend source commands 4 years ago
suspend_source_chart.go Add suspend source commands 4 years ago
suspend_source_git.go Add suspend source commands 4 years ago
suspend_source_helm.go Add suspend source commands 4 years ago
uninstall.go Set kubecontext and kubeconfig for kubectl exec 4 years ago