(uri string)
| 352 | } |
| 353 | |
| 354 | func (r *ProtocolIncus) setQueryAttributes(uri string) (string, error) { |
| 355 | // Parse the full URI |
| 356 | fields, err := neturl.Parse(uri) |
| 357 | if err != nil { |
| 358 | return "", err |
| 359 | } |
| 360 | |
| 361 | r.setURLQueryAttributes(fields) |
| 362 | |
| 363 | return fields.String(), nil |
| 364 | } |
| 365 | |
| 366 | func (r *ProtocolIncus) query(method string, path string, data any, ETag string) (*api.Response, string, error) { |
| 367 | // Generate the URL |
no test coverage detected