github.com/google/cloudprober@v0.11.3/servers/grpc/proto/config.proto (about)

     1  syntax = "proto2";
     2  
     3  package cloudprober.servers.grpc;
     4  
     5  option go_package = "github.com/google/cloudprober/servers/grpc/proto";
     6  
     7  message ServerConf {
     8    optional int32 port = 1 [default = 3142];
     9  
    10    // Enables gRPC reflection for publicly visible services, allowing grpc_cli to
    11    // work. See https://grpc.io/grpc/core/md_doc_server_reflection_tutorial.html.
    12    optional bool enable_reflection = 2 [default = false];
    13  
    14    // If use_dedicated_server is set to true, then create a new gRPC server
    15    // to handle probes. Otherwise, attempt to reuse gRPC server from runconfig
    16    // if that was set.
    17    optional bool use_dedicated_server = 3 [default = true];
    18  }