github.com/microsoft/moc@v0.17.1/rpc/cloudagent/cloud/etcdcluster/etcdserver/moc_cloudagent_etcdserver.proto (about)

     1  // Copyright (c) Microsoft Corporation.
     2  // Licensed under the Apache v2.0 license.
     3  
     4  syntax = "proto3";
     5  option go_package = "github.com/microsoft/moc/rpc/cloudagent/cloud";
     6  package moc.cloudagent.etcd;
     7  
     8  import "google/protobuf/wrappers.proto";
     9  import "moc_common_common.proto";
    10  
    11  message EtcdServerRequest {
    12  	repeated EtcdServer EtcdServers = 1;
    13  	Operation OperationType = 2;
    14  }
    15  
    16  message EtcdServerResponse {
    17  	repeated EtcdServer EtcdServers = 1;
    18  	google.protobuf.BoolValue Result = 2;
    19  	string Error = 3;
    20  }
    21  
    22  message EtcdServer {
    23  	string id = 1;
    24  	string name = 2;
    25  	string etcdClusterName = 3;
    26  	string clusterId = 4;
    27  	string locationName = 5;
    28  	string groupName = 6;
    29  	// fqdn is the fqdn, hostname, or ip address that this EtcdServer will
    30  	// advertise on
    31  	string fqdn = 7;
    32  	// etcd client port to listen on
    33  	uint32 clientPort = 8;
    34  	Status status = 9;
    35  }
    36  
    37  service EtcdServerAgent {
    38  	rpc Invoke(EtcdServerRequest) returns (EtcdServerResponse) {}
    39  }
    40