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

Function SyncResponseETag

internal/server/response/response.go:132–134  ·  view source on GitHub ↗

SyncResponseETag returns a new syncResponse with an etag.

(success bool, metadata any, etag any)

Source from the content-addressed store, hash-verified

130
131// SyncResponseETag returns a new syncResponse with an etag.
132func SyncResponseETag(success bool, metadata any, etag any) Response {
133 return &syncResponse{success: success, metadata: metadata, etag: etag}
134}
135
136// SyncResponseLocation returns a new syncResponse with a location.
137func SyncResponseLocation(success bool, metadata any, location string) Response {

Callers 15

storagePoolBucketGetFunction · 0.92
storagePoolBucketKeyGetFunction · 0.92
storagePoolVolumeGetFunction · 0.92
instanceGetFunction · 0.92
instanceMetadataGetFunction · 0.92
networkIntegrationGetFunction · 0.92
api10GetFunction · 0.92
clusterGetFunction · 0.92
clusterNodeGetFunction · 0.92
networkACLGetFunction · 0.92
networkPeerGetFunction · 0.92
networkForwardGetFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…