MCPcopy
hub / github.com/lxc/incus / setQueryAttributes

Method setQueryAttributes

client/incus.go:354–364  ·  view source on GitHub ↗
(uri string)

Source from the content-addressed store, hash-verified

352}
353
354func (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
366func (r *ProtocolIncus) query(method string, path string, data any, ETag string) (*api.Response, string, error) {
367 // Generate the URL

Callers 15

GetNetworkACLLogfileMethod · 0.95
GetStorageVolumeFileMethod · 0.95
GetMetricsMethod · 0.95
queryMethod · 0.95
GetPrivateImageMethod · 0.95
GetPrivateImageFileMethod · 0.95
CreateImageMethod · 0.95

Calls 3

setURLQueryAttributesMethod · 0.95
ParseMethod · 0.65
StringMethod · 0.65

Tested by

no test coverage detected