MCPcopy Create free account
hub / github.com/cli/cli / NewLiveClient

Function NewLiveClient

pkg/cmd/attestation/artifact/oci/client.go:130–135  ·  view source on GitHub ↗

Unlike other parts of this command set, we cannot pass a custom HTTP client to the go-containerregistry library. This means we have limited visibility into the HTTP requests being made to container registries.

()

Source from the content-addressed store, hash-verified

128// to the go-containerregistry library. This means we have limited visibility
129// into the HTTP requests being made to container registries.
130func NewLiveClient() *LiveClient {
131 return &LiveClient{
132 parseReference: name.ParseReference,
133 get: remote.Get,
134 }
135}

Calls

no outgoing calls