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:
Miloslav Trmač
2018-07-28 02:40:41 +02:00
committed by Atomic Bot
parent b3e6e908ab
commit adfd3930c1

View File

@ -44,6 +44,9 @@ var (
// AtomicTransport is the transport for atomic registries
AtomicTransport = "atomic"
// 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
// DefaultLocalRepo is the default local repository for local image operations
// Remote pulls will still use defined registries