mirror of
https://github.com/containers/podman.git
synced 2025-06-27 21:50:18 +08:00
Document the properties of DefaultTransport a bit better.
This has no ambition to change the design, just to be clear about what the design is. Should not change behavior. Signed-off-by: Miloslav Trmač <mitr@redhat.com> Closes: #1176 Approved by: rhatdan
This commit is contained in:

committed by
Atomic Bot

parent
b3e6e908ab
commit
adfd3930c1
@ -44,6 +44,9 @@ var (
|
|||||||
// AtomicTransport is the transport for atomic registries
|
// AtomicTransport is the transport for atomic registries
|
||||||
AtomicTransport = "atomic"
|
AtomicTransport = "atomic"
|
||||||
// DefaultTransport is a prefix that we apply to an image name
|
// DefaultTransport is a prefix that we apply to an image name
|
||||||
|
// NOTE: This is a string prefix, not actually a transport name usable for transports.Get();
|
||||||
|
// and because syntaxes of image names are transport-dependent, the prefix is not really interchangeable;
|
||||||
|
// each user implicitly assumes the appended string is a Docker-like reference.
|
||||||
DefaultTransport = DockerTransport
|
DefaultTransport = DockerTransport
|
||||||
// DefaultLocalRepo is the default local repository for local image operations
|
// DefaultLocalRepo is the default local repository for local image operations
|
||||||
// Remote pulls will still use defined registries
|
// Remote pulls will still use defined registries
|
||||||
|
Reference in New Issue
Block a user