go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/logdog/api/config/svcconfig/config.proto (about)

     1  // Copyright 2015 The LUCI Authors. All rights reserved.
     2  // Use of this source code is governed under the Apache License, Version 2.0
     3  // that can be found in the LICENSE file.
     4  
     5  syntax = "proto3";
     6  
     7  package svcconfig;
     8  
     9  option go_package = "go.chromium.org/luci/logdog/api/config/svcconfig";
    10  
    11  import "go.chromium.org/luci/logdog/api/config/svcconfig/transport.proto";
    12  
    13  import "google/protobuf/duration.proto";
    14  
    15  // Config is the overall instance configuration.
    16  message Config {
    17    // Configuration for the Butler's log transport.
    18    Transport transport = 10;
    19    // Coordinator is the coordinator service configuration.
    20    Coordinator coordinator = 20;
    21  
    22    reserved "storage", "collector", "archivist";
    23    reserved 11, 21, 22;
    24  }
    25  
    26  // Coordinator is the Coordinator service configuration.
    27  message Coordinator {
    28    // The name of the authentication group for administrators.
    29    string admin_auth_group = 10;
    30    // The name of the authentication group for backend services.
    31    string service_auth_group = 11;
    32  
    33    // A list of origin URLs that are allowed to perform CORS RPC calls.
    34    repeated string rpc_allow_origins = 20;
    35  
    36    // The maximum amount of time after a prefix has been registered when log
    37    // streams may also be registered under that prefix.
    38    //
    39    // After the expiration period has passed, new log stream registration will
    40    // fail.
    41    //
    42    // Project configurations or stream prefix regitrations may override this by
    43    // providing >= 0 values for prefix expiration. The smallest configured
    44    // expiration will be applied.
    45    google.protobuf.Duration prefix_expiration = 21;
    46  
    47    reserved "archive_topic", "archive_settle_delay", "archive_delay_max";
    48    reserved 30, 31, 32;
    49  }