distribution/reference
Sebastiaan van Stijn a4cec8ca82
reference: introduce const for "localhost"
Localhost is treated special when parsing references, and always considered
to be a domain, despite not having a "." nor a ":port". Adding a const for
this, to allow documenting this special case (making it more visible).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-11-22 23:45:26 +01:00
..
fuzz.go format code with gofumpt 2022-11-03 22:48:20 +01:00
helpers.go reference: ParseDockerRef: slight refactor, and update docs 2022-11-20 15:07:24 +01:00
normalize.go reference: introduce const for "localhost" 2022-11-22 23:45:26 +01:00
normalize_test.go reference: run tests with t.Parallel() 2022-11-18 21:17:56 +01:00
reference.go reference: introduce remoteName variable 2022-11-22 23:45:23 +01:00
reference_test.go reference: run tests with t.Parallel() 2022-11-18 21:17:56 +01:00
regexp.go reference: introduce const for "localhost" 2022-11-22 23:45:26 +01:00
regexp_test.go reference: run tests with t.Parallel() 2022-11-18 21:17:56 +01:00
sort.go reference: ParseDockerRef: slight refactor, and update docs 2022-11-20 15:07:24 +01:00
sort_test.go reference: run tests with t.Parallel() 2022-11-18 21:17:56 +01:00