Remove AttestationImage field from AttestationManifest

This commit is contained in:
James Carnegie
2024-07-09 13:36:33 +01:00
parent 116c668183
commit 5faf0801ee
9 changed files with 19 additions and 30 deletions

View File

@@ -30,17 +30,12 @@ type AttestationLayer struct {
Annotations map[string]string
}
type AttestationImage struct {
OriginalLayers []*AttestationLayer
SignedLayers []*AttestationLayer
}
type AttestationManifest struct {
OriginalDescriptor *v1.Descriptor
// kept up to date during signing
AttestationImage *AttestationImage
OriginalLayers []*AttestationLayer
// accumulated during signing
SignedLayers []*AttestationLayer
// details of subect image
SubjectName string
SubjectDescriptor *v1.Descriptor