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

Interface Server

client/interfaces.go:38–43  ·  view source on GitHub ↗

The Server type represents a generic read-only server.

Source from the content-addressed store, hash-verified

36
37// The Server type represents a generic read-only server.
38type Server interface {
39 GetConnectionInfo() (info *ConnectionInfo, err error)
40 GetHTTPClient() (client *http.Client, err error)
41 DoHTTP(req *http.Request) (resp *http.Response, err error)
42 Disconnect()
43}
44
45// The ImageServer type represents a read-only image server.
46type ImageServer interface {

Callers 153

CopyStoragePoolVolumeMethod · 0.65
isSameServerMethod · 0.65
CopyImageMethod · 0.65
CopyInstanceMethod · 0.65
CopyInstanceSnapshotMethod · 0.65
RenderMethod · 0.65
NotifyUpgradeCompletedFunction · 0.65
RenderMethod · 0.65
NotifyUpgradeCompletedFunction · 0.65
runMethod · 0.65
runMethod · 0.65

Implementers 3

ProtocolSimpleStreamsclient/simplestreams.go
ProtocolIncusclient/incus.go
ProtocolOCIclient/oci.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…