ProtocolOCI implements an OCI registry API client.
| 7 | |
| 8 | // ProtocolOCI implements an OCI registry API client. |
| 9 | type 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. |
| 25 | func (r *ProtocolOCI) Disconnect() { |
nothing calls this directly
no outgoing calls
no test coverage detected