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

Struct ProtocolOCI

client/oci.go:9–22  ·  view source on GitHub ↗

ProtocolOCI implements an OCI registry API client.

Source from the content-addressed store, hash-verified

7
8// ProtocolOCI implements an OCI registry API client.
9type ProtocolOCI struct {
10 http *http.Client
11 httpHost string
12 httpUserAgent string
13 httpCertificate string
14
15 // Cache for images.
16 cache map[string]ociInfo
17
18 // Error tracking for images.
19 errors map[string]error
20
21 tempPath string
22}
23
24// Disconnect is a no-op for OCI.
25func (r *ProtocolOCI) Disconnect() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected