MCPcopy Create free account
hub / github.com/docker/cli / AuthConfig

Method AuthConfig

cmd/docker-trust/internal/trust/trust.go:391–393  ·  view source on GitHub ↗

AuthConfig returns the auth information (username, etc) for a given ImageRefAndAuth

()

Source from the content-addressed store, hash-verified

389
390// AuthConfig returns the auth information (username, etc) for a given ImageRefAndAuth
391func (imgRefAuth *ImageRefAndAuth) AuthConfig() *registrytypes.AuthConfig {
392 return imgRefAuth.authConfig
393}
394
395// Reference returns the Image reference for a given ImageRefAndAuth
396func (imgRefAuth *ImageRefAndAuth) Reference() reference.Named {

Callers 2

runSignImageFunction · 0.80
newNotaryClientFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected