Remove gogoproto.customtype

gogoproto.customtype is used to have go-digest.Digest instead of string.
While it is convinient, protoc-gen-go doesn't support the extension
and that blocks #6564.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato
2022-03-18 21:20:58 +00:00
parent 0c701654a1
commit 3eeeb9429a
22 changed files with 296 additions and 335 deletions

View File

@@ -178,10 +178,6 @@ file {
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
}
@@ -1178,10 +1174,6 @@ file {
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
field {
@@ -1251,10 +1243,6 @@ file {
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
}
@@ -1339,10 +1327,6 @@ file {
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
}
@@ -1353,10 +1337,6 @@ file {
number: 1
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
field {
@@ -1443,10 +1423,6 @@ file {
number: 6
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "expected"
}
}
@@ -1524,10 +1500,6 @@ file {
number: 4
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "expected"
}
field {
@@ -1626,10 +1598,6 @@ file {
number: 6
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
}
@@ -1746,10 +1714,6 @@ file {
number: 2
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "digest"
}
field {
@@ -4157,10 +4121,6 @@ file {
number: 2
label: LABEL_OPTIONAL
type: TYPE_STRING
options {
65003: "github.com/opencontainers/go-digest.Digest"
65001: 0
}
json_name: "parentCheckpoint"
}
field {