You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 14, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: spring-cloud-dataflow-configuration-metadata/src/main/java/org/springframework/cloud/dataflow/configuration/metadata/container/ContainerImage.java
+49-9Lines changed: 49 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -31,16 +31,16 @@
31
31
*
32
32
* The container image has following structure:
33
33
*
34
-
* registry-hostname : port / repo-namespace / repo-name : tag
35
-
* | REGISTRY-HOST | REPOSITORY | TAG |
34
+
* registry-hostname : port / repo-namespace / repo-name : tag|digest
35
+
* | REGISTRY-HOST | REPOSITORY | [TAG or DIGEST]|
36
36
*
37
37
* - The repository namespace is made up of zero or more slash-separated path components (eg. '/ns1/ns2/.../nsN/').
38
38
* - The registry hostname (or IP) and the optional port parts together form the REGISTRY HOST. Later is used as a
39
39
* unique identifier of the Container Registry hosting this container image. If not explicitly specified, a default
40
40
* registry host value is used.
41
41
* - The repository namespace together with the repository name form an unique REPOSITORY identifier, unique within
42
42
* the REGISTRY HOST.
43
-
* - The TAG represents a particular REPOSITORY instance within the REGISTRY HOST.
43
+
* - The TAG represents a particular REPOSITORY instance within the REGISTRY HOST. The DIGEST content-addressable identifier.
44
44
*
45
45
* @author Christian Tzolov
46
46
*/
@@ -55,10 +55,13 @@ public class ContainerImage {
55
55
// and dashes. A tag name may not start with a period or a dash and may contain a maximum of 128 characters.
Copy file name to clipboardExpand all lines: spring-cloud-dataflow-configuration-metadata/src/main/java/org/springframework/cloud/dataflow/configuration/metadata/container/ContainerImageParser.java
+22-10Lines changed: 22 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -78,9 +78,12 @@ public class ContainerImageParser {
78
78
* Characters used to split the image name in parts.
Copy file name to clipboardExpand all lines: spring-cloud-dataflow-configuration-metadata/src/main/java/org/springframework/cloud/dataflow/configuration/metadata/container/DefaultContainerImageMetadataResolver.java
Copy file name to clipboardExpand all lines: spring-cloud-dataflow-configuration-metadata/src/test/java/org/springframework/cloud/dataflow/configuration/metadata/container/ContainerImageParserTests.java
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,13 +40,34 @@ public void testParseWithoutDefaults() {
Copy file name to clipboardExpand all lines: spring-cloud-dataflow-configuration-metadata/src/test/java/org/springframework/cloud/dataflow/configuration/metadata/container/DefaultContainerImageMetadataResolverTest.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -209,14 +209,14 @@ public void getImageLabelsWithInvalidLabels() {
0 commit comments