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

Function ObjectServer

internal/server/auth/authorization_objects.go:252–255  ·  view source on GitHub ↗

ObjectServer represents a server.

()

Source from the content-addressed store, hash-verified

250
251// ObjectServer represents a server.
252func ObjectServer() Object {
253 object, _ := NewObject(ObjectTypeServer, "", "incus")
254 return object
255}
256
257// ObjectCertificate represents a certificate.
258func ObjectCertificate(fingerprint string) Object {

Callers 15

FilterUsedByFunction · 0.92
FilterSamplesMethod · 0.92
api10GetFunction · 0.92
canAccessNetworkFunction · 0.92
eventsSocketFunction · 0.92
certificatesPostFunction · 0.92
TestObjectServerMethod · 0.85
ObjectFromRequestFunction · 0.85
ApplyPatchMethod · 0.85
connectMethod · 0.85
AddProjectMethod · 0.85

Calls 1

NewObjectFunction · 0.85

Tested by 1

TestObjectServerMethod · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…