-
Notifications
You must be signed in to change notification settings - Fork 640
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
specs-go/v1: unify the descriptor type
Unifying the descriptor type makes it much easier to handler descriptors in generic manner. This change ensures that a single deserialization can be done a descriptor that may be processed in separate contexts. It is unclear whether or not the specification should be pedantic about this, as well. As it is written, these fields are only valid when being referred through a manifest, but this distinction is only required during validation. It may be possible to lift the platform definition to the descriptor type, but this isn't strictly necessary. Signed-off-by: Stephen J Day <stephen.day@docker.com>
- Loading branch information
Showing
2 changed files
with
34 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters