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

Struct ProtocolSimpleStreams

client/simplestreams.go:11–20  ·  view source on GitHub ↗

ProtocolSimpleStreams implements a SimpleStreams API client.

Source from the content-addressed store, hash-verified

9
10// ProtocolSimpleStreams implements a SimpleStreams API client.
11type ProtocolSimpleStreams struct {
12 ssClient *simplestreams.SimpleStreams
13
14 http *http.Client
15 httpHost string
16 httpUserAgent string
17 httpCertificate string
18
19 tempPath string
20}
21
22// Disconnect is a no-op for simplestreams.
23func (r *ProtocolSimpleStreams) Disconnect() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected