File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed
Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ async function foo() {
8888 const imageContainers : number = image . Containers ;
8989 const foo = await docker5 . getImage ( image . Id ) ;
9090 const inspect = await foo . inspect ( ) ;
91+ const imageDescriptor = inspect . Descriptor ;
9192 await foo . remove ( ) ;
9293 }
9394
Original file line number Diff line number Diff line change @@ -945,6 +945,22 @@ declare namespace Dockerode {
945945 Layers ?: string [ ] | undefined ;
946946 BaseLayer ?: string | undefined ;
947947 } ;
948+ Descriptor ?: {
949+ mediaType : string ;
950+ digest : string ;
951+ size : number ;
952+ urls ?: string [ ] | undefined ;
953+ annotations ?: { [ key : string ] : string } | undefined ;
954+ data ?: string | undefined ;
955+ platform ?: {
956+ architecture : string ;
957+ os : string ;
958+ "os.version" ?: string | undefined ;
959+ "os.features" ?: string [ ] | undefined ;
960+ variant ?: string | undefined ;
961+ } | undefined ;
962+ artifactType ?: string | undefined ;
963+ } | undefined ;
948964 }
949965
950966 interface ImageBuildOptions {
You can’t perform that action at this time.
0 commit comments