mirror of
				https://github.com/docker/compose.git
				synced 2025-11-03 21:25:21 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			397 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			397 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
syntax = "proto3";
 | 
						|
 | 
						|
package com.docker.api.cli.v1;
 | 
						|
 | 
						|
 | 
						|
option go_package = "github.com/docker/api/cli/v1;v1";
 | 
						|
 | 
						|
service Cli {
 | 
						|
    // Returns the list of existing contexts
 | 
						|
    rpc Contexts(ContextsRequest) returns (ContextsResponse);
 | 
						|
}
 | 
						|
 | 
						|
message Context {
 | 
						|
    string name = 1;
 | 
						|
    string contextType = 2;
 | 
						|
}
 | 
						|
 | 
						|
message ContextsRequest {
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
message ContextsResponse {
 | 
						|
    repeated Context contexts = 1;
 | 
						|
}
 |