MCPcopy Create free account
hub / github.com/containers/image / StringWithinTransport

Method StringWithinTransport

types/types.go:55–55  ·  view source on GitHub ↗

StringWithinTransport returns a string representation of the reference, which MUST be such that reference.Transport().ParseReference(reference.StringWithinTransport()) returns an equivalent reference. NOTE: The returned string is not promised to be equal to the original input to ParseReference; e.g.

()

Source from the content-addressed store, hash-verified

53 // WARNING: Do not use the return value in the UI to describe an image, it does not contain the Transport().Name() prefix;
54 // instead, see transports.ImageName().
55 StringWithinTransport() string
56
57 // DockerReference returns a Docker reference associated with this reference
58 // (fully explicit, i.e. !reference.IsNameOnly, but reflecting user intent,

Callers 15

StringWithinTransportMethod · 0.65
ParseStoreReferenceMethod · 0.65
CommitWithOptionsMethod · 0.65
TestResolveReferenceFunction · 0.65
TestParseFunction · 0.65
TestWriteReadFunction · 0.65
TestNamespacesFunction · 0.65
TestListFunction · 0.65

Implementers 12

tarballReferencetarball/tarball_reference.go
BlobCachepkg/blobcache/blobcache.go
storageReferencestorage/storage_reference.go
ociReferenceoci/layout/oci_transport.go
ociArchiveReferenceoci/archive/oci_transport.go
dirReferencedirectory/directory_transport.go
ForbiddenImageReferenceinternal/testing/mocks/image_reference
sifReferencesif/transport.go
openshiftReferenceopenshift/openshift_transport.go
dockerReferencedocker/docker_transport.go
daemonReferencedocker/daemon/daemon_transport.go
archiveReferencedocker/archive/transport.go

Calls

no outgoing calls

Tested by 15

TestResolveReferenceFunction · 0.52
TestParseFunction · 0.52
TestWriteReadFunction · 0.52
TestNamespacesFunction · 0.52
TestListFunction · 0.52
TestDestinationReferenceFunction · 0.52
TestSourceReferenceFunction · 0.52