mirror of https://github.com/docker/cli.git
[WIP] fix trust inspect typo 'AdminstrativeKeys'
Signed-off-by: mmacy <marsma@microsoft.com>
This commit is contained in:
parent
5706f9518a
commit
c11acddfb5
|
@ -34,7 +34,7 @@ type trustRepo struct {
|
||||||
Name string
|
Name string
|
||||||
SignedTags []trustTagRow
|
SignedTags []trustTagRow
|
||||||
Signers []trustSigner
|
Signers []trustSigner
|
||||||
AdminstrativeKeys []trustSigner
|
AdministrativeKeys []trustSigner
|
||||||
}
|
}
|
||||||
|
|
||||||
// trustSigner represents a trusted signer in a trusted repository
|
// trustSigner represents a trusted signer in a trusted repository
|
||||||
|
|
|
@ -110,6 +110,6 @@ func getRepoTrustInfo(cli command.Cli, remote string) ([]byte, error) {
|
||||||
Name: remote,
|
Name: remote,
|
||||||
SignedTags: signatureRows,
|
SignedTags: signatureRows,
|
||||||
Signers: signerList,
|
Signers: signerList,
|
||||||
AdminstrativeKeys: adminList,
|
AdministrativeKeys: adminList,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
"Name": "reg/img:unsigned-tag",
|
"Name": "reg/img:unsigned-tag",
|
||||||
"SignedTags": [],
|
"SignedTags": [],
|
||||||
"Signers": [],
|
"Signers": [],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Root",
|
"Name": "Root",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Signers": [],
|
"Signers": [],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Root",
|
"Name": "Root",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Root",
|
"Name": "Root",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Root",
|
"Name": "Root",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
@ -106,7 +106,7 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Root",
|
"Name": "Root",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Signers": [],
|
"Signers": [],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Root",
|
"Name": "Root",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Root",
|
"Name": "Root",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
|
|
@ -53,7 +53,7 @@ $ docker trust inspect alpine:latest
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Signers": [],
|
"Signers": [],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Repository",
|
"Name": "Repository",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
@ -131,7 +131,7 @@ $ docker trust inspect my-image:purple
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Repository",
|
"Name": "Repository",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
@ -170,7 +170,7 @@ $ docker trust inspect alpine:unsigned
|
||||||
{
|
{
|
||||||
"Name": "alpine:unsigned",
|
"Name": "alpine:unsigned",
|
||||||
"Signers": [],
|
"Signers": [],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Repository",
|
"Name": "Repository",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
@ -233,7 +233,7 @@ $ docker trust inspect alpine
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Signers": [],
|
"Signers": [],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Repository",
|
"Name": "Repository",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
@ -304,7 +304,7 @@ $ docker trust inspect alpine notary
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Signers": [],
|
"Signers": [],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Repository",
|
"Name": "Repository",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
@ -342,7 +342,7 @@ $ docker trust inspect alpine notary
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"Signers": [],
|
"Signers": [],
|
||||||
"AdminstrativeKeys": [
|
"AdministrativeKeys": [
|
||||||
{
|
{
|
||||||
"Name": "Root",
|
"Name": "Root",
|
||||||
"Keys": [
|
"Keys": [
|
||||||
|
|
Loading…
Reference in New Issue