func (c baseClient) Tags(imageName string) (tools.Versions, error) {
	switch c.APIVersion() {
	case APIVersionV2:
		return fetchTagsV2(c, imageName)
	default:
		return nil, errors.NotSupportedf("registry API %q", c.APIVersion())
	}
}
// Tags fetches tags for an OCI image.
Tags fetches tags for an OCI image.
// Tags fetches tags for an OCI image .
func (c baseClient) Tags(imageName string) (tools.Versions, error) {
	switch c.APIVersion() {
	case APIVersionV2:
		return fetchTagsV2(c, imageName)
	default:
		return nil, errors.NotSupportedf("registry API %q", c.APIVersion())
	}
}
func ( c baseClient ) Tags ( imageName string ) ( tools . Versions , error ) { switch c . APIVersion ( ) { case APIVersionV2 : return fetchTagsV2 ( c , imageName ) default : return nil , errors . NotSupportedf ( " " , c . APIVersion ( ) ) } }
Tags fetches tags for an OCI image.
Tags fetches tags for an OCI image .