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

Method ParseReference

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

ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an ImageReference.

(reference string)

Source from the content-addressed store, hash-verified

29 Name() string
30 // ParseReference converts a string, which should not start with the ImageTransport.Name prefix, into an ImageReference.
31 ParseReference(reference string) (ImageReference, error)
32 // ValidatePolicyConfigurationScope checks that scope is a valid name for a signature.PolicyTransportScopes keys
33 // (i.e. a valid PolicyConfigurationIdentity() or PolicyConfigurationNamespaces() return value).
34 // It is acceptable to allow an invalid value which will never be matched, it can "only" cause user confusion.

Implementers 10

tarballTransporttarball/tarball_transport.go
storageTransportstorage/storage_transport.go
ociTransportoci/layout/oci_transport.go
ociArchiveTransportoci/archive/oci_transport.go
dirTransportdirectory/directory_transport.go
sifTransportsif/transport.go
openshiftTransportopenshift/openshift_transport.go
dockerTransportdocker/docker_transport.go
daemonTransportdocker/daemon/daemon_transport.go
archiveTransportdocker/archive/transport.go

Calls

no outgoing calls