31 lines
		
	
	
		
			894 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			894 B
		
	
	
	
		
			Protocol Buffer
		
	
	
	
	
	
// To regenerate api.pb.go run `make proto`hack/update-generated-runtime.sh
 | 
						|
syntax = 'proto3';
 | 
						|
 | 
						|
package api.v1;
 | 
						|
 | 
						|
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
 | 
						|
 | 
						|
option (gogoproto.goproto_stringer_all) = false;
 | 
						|
option (gogoproto.stringer_all) =  true;
 | 
						|
option (gogoproto.goproto_getters_all) = true;
 | 
						|
option (gogoproto.marshaler_all) = true;
 | 
						|
option (gogoproto.sizer_all) = true;
 | 
						|
option (gogoproto.unmarshaler_all) = true;
 | 
						|
option (gogoproto.goproto_unrecognized_all) = false;
 | 
						|
 | 
						|
// CRIPluginService defines non-CRI APIs for cri plugin.
 | 
						|
service CRIPluginService{
 | 
						|
    // LoadImage loads a image into containerd.
 | 
						|
    rpc LoadImage(LoadImageRequest) returns (LoadImageResponse) {}
 | 
						|
}
 | 
						|
 | 
						|
message LoadImageRequest {
 | 
						|
    // FilePath is the absolute path of docker image tarball.
 | 
						|
    string FilePath = 1;
 | 
						|
}
 | 
						|
 | 
						|
message LoadImageResponse {
 | 
						|
    // Images have been loaded.
 | 
						|
    repeated string Images = 1;
 | 
						|
}
 |