Justin Chadwell 
							
						 
					 
					
						
						
							
						
						78d8b926db 
					 
					
						
						
							
							inspect: lazily load attestation data  
						
						 
						
						... 
						
						
						
						Delay loading the attestation data immediately, and only compute it upon
request. We do this using a deferred function which allows to define the
computation in the same place as before, but perform the computation
later.
With this patch, we ensure that the attestation data is only pulled from
the remote if it is actually referenced in the format string -
otherwise, we can skip it, for improved performance.
Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2023-01-24 12:10:57 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						19291d900e 
					 
					
						
						
							
							inspect: move attestation loading to struct methods  
						
						 
						
						... 
						
						
						
						This refactor ensures that the attestations are not output in the JSON
output for "{{ json . }}", and additionally allows future refactors to
dynamically load the attestation contents, ensuring faster performance
when attestations are not used in the output.
Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2023-01-24 12:10:57 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						9fb3ff1a27 
					 
					
						
						
							
							inspect: change additional spdxs to not have duplicates  
						
						 
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com >
(cherry picked from commit 484823c97d ) 
						
						
					 
					
						2023-01-09 15:53:37 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						9d4f38c5fa 
					 
					
						
						
							
							inspect: provide access to multiple spdx documents  
						
						 
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com >
(cherry picked from commit 3ce17b01dc ) 
						
						
					 
					
						2023-01-09 15:53:34 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						793082f543 
					 
					
						
						
							
							inspect: parse sbom and provenance into json structs  
						
						 
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com >
(cherry picked from commit e68c566c1c ) 
						
						
					 
					
						2023-01-09 15:53:29 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						fe6f697205 
					 
					
						
						
							
							inspect: break after first matching attestation  
						
						 
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com >
(cherry picked from commit 19d16aa941 ) 
						
						
					 
					
						2023-01-09 15:53:13 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						8a7a221a7f 
					 
					
						
						
							
							imagetools inspect: handle provenance and sbom  
						
						 
						
						... 
						
						
						
						use stub structs for SLSA/SBOM while waiting for
go-imageinspect library to be public.
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2023-01-06 16:33:47 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						e4db8d2a21 
					 
					
						
						
							
							imagetools inspect: missing annotations key  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2023-01-06 16:33:47 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						aa1f4389b1 
					 
					
						
						
							
							Merge pull request  #1396  from crazy-max/fix-indent  
						
						 
						
						... 
						
						
						
						use double spaces with json marshal indent 
						
						
					 
					
						2022-11-16 14:54:13 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Felix de Souza 
							
						 
					 
					
						
						
							
						
						b68114375f 
					 
					
						
						
							
							Address feedback  
						
						 
						
						... 
						
						
						
						Signed-off-by: Felix de Souza <fdesouza@palantir.com > 
						
						
					 
					
						2022-11-14 18:40:05 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Felix de Souza 
							
						 
					 
					
						
						
							
						
						83a09b3cf2 
					 
					
						
						
							
							Synchronise access to the map when printing.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Felix de Souza <fdesouza@palantir.com > 
						
						
					 
					
						2022-11-14 15:47:32 +00:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						abebf4d955 
					 
					
						
						
							
							use double spaces with json marshal indent  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-11-07 16:36:24 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						f1a9f91323 
					 
					
						
						
							
							imagetools: support cross-repo mounting  
						
						 
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-07-29 14:29:29 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						4ecca34a42 
					 
					
						
						
							
							imagetools: give imagetools create a progress bar  
						
						 
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-07-29 14:29:27 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						37ca8631f9 
					 
					
						
						
							
							imagetools: copy manifests between repositories  
						
						 
						
						... 
						
						
						
						Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-07-29 14:29:05 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Justin Chadwell 
							
						 
					 
					
						
						
							
						
						d3412f1039 
					 
					
						
						
							
							imagetools: refactor combining repository logic  
						
						 
						
						... 
						
						
						
						This patch modifies the existing combining code in imagetools create to
provide better support for multiple repositories down the road.
Specifically, the code should no longer rely on a single repository
being used for all sources and tags, and should resolve descriptors in
their relevant repositories.
Signed-off-by: Justin Chadwell <me@jedevc.com > 
						
						
					 
					
						2022-07-29 14:21:27 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						e4137b2eea 
					 
					
						
						
							
							imagetools: handle manifest with nil platform  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2022-05-23 21:16:00 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						38311a35f2 
					 
					
						
						
							
							imagetools inspect: use buildinfo helper  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-03-10 01:52:51 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						215a128fc1 
					 
					
						
						
							
							imagetools inspect: missing manifest digest for manifest-list (json)  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-03-04 20:36:14 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						4e4eea7814 
					 
					
						
						
							
							imagetools inspect: deterministic platform order  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-03-04 20:36:14 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						20a55e9184 
					 
					
						
						
							
							imagetools inspect: multi-platform support  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-02-25 20:30:08 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						6c56109083 
					 
					
						
						
							
							imagetools inspect: add --format flag  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2022-02-25 17:55:34 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tõnis Tiigi 
							
						 
					 
					
						
						
							
						
						62bdf4d85e 
					 
					
						
						
							
							Merge pull request  #868  from crazy-max/discard-containerd-logger  
						
						 
						
						... 
						
						
						
						imagetools resolver: discard containerd logger output 
						
						
					 
					
						2021-12-04 21:03:42 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						5c5125f30e 
					 
					
						
						
							
							imagetools resolver: fix deprecated client opt  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-11-30 15:34:29 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								CrazyMax 
							
						 
					 
					
						
						
							
						
						e9cf2cbe32 
					 
					
						
						
							
							imagetools resolver: discard containerd logger output  
						
						 
						
						... 
						
						
						
						Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com > 
						
						
					 
					
						2021-11-30 15:17:56 +01:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						c62472121b 
					 
					
						
						
							
							allow multi-node push and imagetools to use custom registry config  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-11-04 10:02:12 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						88d0775692 
					 
					
						
						
							
							refactor accessing registry configs via drivers  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-11-04 10:01:23 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						b497587f21 
					 
					
						
						
							
							imagetools: fix pushing same image with multiple names  
						
						 
						
						... 
						
						
						
						containerd pusher can’t handle this case atm so we
need to make sure we always create a new resolver
for each name.
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-10-27 17:14:49 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						328441cdc6 
					 
					
						
						
							
							imagetools: fix merging JSON descriptor with old one  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2021-04-09 11:02:16 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						378bf70d4b 
					 
					
						
						
							
							refactor driver auth for easier passing  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-11-15 20:49:58 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						3b69482a2f 
					 
					
						
						
							
							docker-container: ensure credentials are passed when pulling buildkit image  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2020-11-04 13:04:04 -08:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						9b57f9e872 
					 
					
						
						
							
							imagetools: keep arm variant  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-05-06 16:50:42 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						38889013af 
					 
					
						
						
							
							build: fix push-by-digest for multi-node  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-23 21:18:40 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						0398fa337b 
					 
					
						
						
							
							build: multi-node build support  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-23 21:18:40 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						96b1892b63 
					 
					
						
						
							
							imagetools: push support for create  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-23 21:18:40 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						80ad78e372 
					 
					
						
						
							
							imagetools: add create support  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-23 21:18:40 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tonis Tiigi 
							
						 
					 
					
						
						
							
						
						0a28ec6f38 
					 
					
						
						
							
							imagetools: implement inspect for manifest list  
						
						 
						
						... 
						
						
						
						Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com > 
						
						
					 
					
						2019-04-16 15:41:40 -07:00