MCPcopy
hub / github.com/google/go-containerregistry / String

Method String

pkg/authn/keychain.go:34–34  ·  view source on GitHub ↗

String returns the full string representation of the target, e.g. gcr.io/my-project or just gcr.io.

()

Source from the content-addressed store, hash-verified

32 // String returns the full string representation of the target, e.g.
33 // gcr.io/my-project or just gcr.io.
34 String() string
35
36 // RegistryStr returns just the registry portion of the target, e.g. for
37 // gcr.io/my-project, this should just return gcr.io. This is needed to

Callers 15

handleMethod · 0.65
handleReferrersMethod · 0.65
StatMethod · 0.65
GetMethod · 0.65
PutMethod · 0.65
DeleteMethod · 0.65
TestTLSFunction · 0.65
dedupRefToImageFunction · 0.65
renameMethod · 0.65
setRefsMethod · 0.65
TestCopyFunction · 0.65

Implementers 1

Registrypkg/name/registry.go

Calls

no outgoing calls

Tested by 15

TestTLSFunction · 0.52
setRefsMethod · 0.52
TestCopyFunction · 0.52
TestRenameFunction · 0.52
TestResolveTargetsFunction · 0.52
TestPlatformStringFunction · 0.52
TestGcIndexFunction · 0.52
toSchema1Function · 0.52
TestRawManifestDigestsFunction · 0.52
TestGetSchema1Function · 0.52
TestHeadSchema1Function · 0.52