scaleway/scaleway-sdk-go

Feature Request: filter marketplace API

Sh4d1 opened this issue · 2 comments

Sh4d1 commented

Would be nice to be able to filter the marketplace results. Example instdead of listing all images and then looping through to find the right one, have the sdk do it instead?

Is it what you are looking for ?

func (s *API) FindLocalImageIDByName(imageName string, zone utils.Zone, commercialType string) (string, error) {

NB: method signature is going to change but not the content

Sh4d1 commented

Yep 👍