goharbor / go-client

Client library with golang for accessing Harbor API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Implement Consistent Behavior for DeleteRegistryParam

amands98 opened this issue · comments

commented

Make DeleteRegistryParams behave consistently like DeleteProjectParams, allowing deletion of registries by Name or ID.

https://github.com/goharbor/go-client/blob/v0.210.0/pkg/sdk/v2.0/client/registry/delete_registry_parameters.go#L63

// @Vad1mo

Can you elaborate a bit more here?

commented

We currently delete registry by ID only. Let's enable deletion by name or ID, like we do with projects.