Add push object
Split resolver to only return a name with separate methods for getting a fetcher and pusher. Add implementation for push. Signed-off-by: Derek McGowan <derek@mcgstyle.net>
This commit is contained in:
		
							
								
								
									
										1
									
								
								cmd/dist/main.go
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								cmd/dist/main.go
									
									
									
									
										vendored
									
									
								
							@@ -77,6 +77,7 @@ distribution tool
 | 
			
		||||
		fetchObjectCommand,
 | 
			
		||||
		applyCommand,
 | 
			
		||||
		rootfsCommand,
 | 
			
		||||
		pushObjectCommand,
 | 
			
		||||
	}
 | 
			
		||||
	app.Before = func(context *cli.Context) error {
 | 
			
		||||
		timeout = context.GlobalDuration("timeout")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user