compose/cli/v1/cli.proto

22 lines
411 B
Protocol Buffer

syntax = "proto3";
package com.docker.api.cli.v1;
import "google/protobuf/empty.proto";
option go_package = "github.com/docker/api/cli/v1;v1";
service Cli {
// Returns the list of existing contexts
rpc Contexts(google.protobuf.Empty) returns (ContextsResponse);
}
message Context {
string name = 1;
string contextType = 2;
}
message ContextsResponse {
repeated Context contexts = 1;
}