add comment about http client
Signed-off-by: Meredith Lancaster <malancas@github.com>
This commit is contained in:
parent
b37bf1fc75
commit
53df7cd8f2
1 changed files with 3 additions and 0 deletions
|
|
@ -59,6 +59,9 @@ func (c LiveClient) GetImageDigest(imgName string) (*v1.Hash, error) {
|
|||
return &desc.Digest, nil
|
||||
}
|
||||
|
||||
// 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.
|
||||
func NewLiveClient() *LiveClient {
|
||||
return &LiveClient{
|
||||
parseReference: name.ParseReference,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue