blob: 458af7d94784e92ff0a14a7c57c4246a5bfa6f56 [file]
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: github.com/luci/luci-go/logdog/api/config/svcconfig/config.proto
package svcconfig
import proto "github.com/golang/protobuf/proto"
import fmt "fmt"
import math "math"
import google_protobuf "github.com/golang/protobuf/ptypes/duration"
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// Config is the overall instance configuration.
type Config struct {
// Configuration for the Butler's log transport.
Transport *Transport `protobuf:"bytes,10,opt,name=transport" json:"transport,omitempty"`
// Configuration for intermediate Storage.
Storage *Storage `protobuf:"bytes,11,opt,name=storage" json:"storage,omitempty"`
// Coordinator is the coordinator service configuration.
Coordinator *Coordinator `protobuf:"bytes,20,opt,name=coordinator" json:"coordinator,omitempty"`
// Collector is the collector fleet configuration.
Collector *Collector `protobuf:"bytes,21,opt,name=collector" json:"collector,omitempty"`
// Archivist microservice configuration.
Archivist *Archivist `protobuf:"bytes,22,opt,name=archivist" json:"archivist,omitempty"`
}
func (m *Config) Reset() { *m = Config{} }
func (m *Config) String() string { return proto.CompactTextString(m) }
func (*Config) ProtoMessage() {}
func (*Config) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{0} }
func (m *Config) GetTransport() *Transport {
if m != nil {
return m.Transport
}
return nil
}
func (m *Config) GetStorage() *Storage {
if m != nil {
return m.Storage
}
return nil
}
func (m *Config) GetCoordinator() *Coordinator {
if m != nil {
return m.Coordinator
}
return nil
}
func (m *Config) GetCollector() *Collector {
if m != nil {
return m.Collector
}
return nil
}
func (m *Config) GetArchivist() *Archivist {
if m != nil {
return m.Archivist
}
return nil
}
// Coordinator is the Coordinator service configuration.
type Coordinator struct {
// The name of the authentication group for administrators.
AdminAuthGroup string `protobuf:"bytes,10,opt,name=admin_auth_group,json=adminAuthGroup" json:"admin_auth_group,omitempty"`
// The name of the authentication group for backend services.
ServiceAuthGroup string `protobuf:"bytes,11,opt,name=service_auth_group,json=serviceAuthGroup" json:"service_auth_group,omitempty"`
// A list of origin URLs that are allowed to perform CORS RPC calls.
RpcAllowOrigins []string `protobuf:"bytes,20,rep,name=rpc_allow_origins,json=rpcAllowOrigins" json:"rpc_allow_origins,omitempty"`
// The maximum amount of time after a prefix has been registered when log
// streams may also be registered under that prefix.
//
// After the expiration period has passed, new log stream registration will
// fail.
//
// Project configurations or stream prefix regitrations may override this by
// providing >= 0 values for prefix expiration. The smallest configured
// expiration will be applied.
PrefixExpiration *google_protobuf.Duration `protobuf:"bytes,21,opt,name=prefix_expiration,json=prefixExpiration" json:"prefix_expiration,omitempty"`
// The full path of the archival Pub/Sub topic.
//
// The Coordinator must have permission to publish to this topic.
ArchiveTopic string `protobuf:"bytes,30,opt,name=archive_topic,json=archiveTopic" json:"archive_topic,omitempty"`
// The amount of time after an archive request has been dispatched before it
// should be executed.
//
// Since terminal messages can arrive out of order, the archival request may
// be kicked off before all of the log stream data has been loaded into
// intermediate storage. If this happens, the Archivist will retry archival
// later autometically.
//
// This parameter is an optimization to stop the archivist from wasting its
// time until the log stream has a reasonable expectation of being available.
ArchiveSettleDelay *google_protobuf.Duration `protobuf:"bytes,31,opt,name=archive_settle_delay,json=archiveSettleDelay" json:"archive_settle_delay,omitempty"`
// The amount of time before a log stream is candidate for archival regardless
// of whether or not it's been terminated or complete.
//
// This is a failsafe designed to ensure that log streams with missing records
// or no terminal record (e.g., Butler crashed) are eventually archived.
//
// This should be fairly large (days) to avoid prematurely archiving
// long-running streams, but should be considerably smaller than the
// intermediate storage data retention period.
//
// If a project's "max_stream_age" is smaller than this value, it will be used
// on that project's streams.
ArchiveDelayMax *google_protobuf.Duration `protobuf:"bytes,32,opt,name=archive_delay_max,json=archiveDelayMax" json:"archive_delay_max,omitempty"`
}
func (m *Coordinator) Reset() { *m = Coordinator{} }
func (m *Coordinator) String() string { return proto.CompactTextString(m) }
func (*Coordinator) ProtoMessage() {}
func (*Coordinator) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{1} }
func (m *Coordinator) GetAdminAuthGroup() string {
if m != nil {
return m.AdminAuthGroup
}
return ""
}
func (m *Coordinator) GetServiceAuthGroup() string {
if m != nil {
return m.ServiceAuthGroup
}
return ""
}
func (m *Coordinator) GetRpcAllowOrigins() []string {
if m != nil {
return m.RpcAllowOrigins
}
return nil
}
func (m *Coordinator) GetPrefixExpiration() *google_protobuf.Duration {
if m != nil {
return m.PrefixExpiration
}
return nil
}
func (m *Coordinator) GetArchiveTopic() string {
if m != nil {
return m.ArchiveTopic
}
return ""
}
func (m *Coordinator) GetArchiveSettleDelay() *google_protobuf.Duration {
if m != nil {
return m.ArchiveSettleDelay
}
return nil
}
func (m *Coordinator) GetArchiveDelayMax() *google_protobuf.Duration {
if m != nil {
return m.ArchiveDelayMax
}
return nil
}
// Collector is the set of configuration parameters for Collector instances.
type Collector struct {
// The maximum number of concurrent transport messages to process. If <= 0,
// a default will be chosen based on the transport.
MaxConcurrentMessages int32 `protobuf:"varint,1,opt,name=max_concurrent_messages,json=maxConcurrentMessages" json:"max_concurrent_messages,omitempty"`
// The maximum number of concurrent workers to process each ingested message.
// If <= 0, collector.DefaultMaxMessageWorkers will be used.
MaxMessageWorkers int32 `protobuf:"varint,2,opt,name=max_message_workers,json=maxMessageWorkers" json:"max_message_workers,omitempty"`
// The maximum number of log stream states to cache locally. If <= 0, a
// default will be used.
StateCacheSize int32 `protobuf:"varint,3,opt,name=state_cache_size,json=stateCacheSize" json:"state_cache_size,omitempty"`
// The maximum amount of time that cached stream state is valid. If <= 0, a
// default will be used.
StateCacheExpiration *google_protobuf.Duration `protobuf:"bytes,4,opt,name=state_cache_expiration,json=stateCacheExpiration" json:"state_cache_expiration,omitempty"`
}
func (m *Collector) Reset() { *m = Collector{} }
func (m *Collector) String() string { return proto.CompactTextString(m) }
func (*Collector) ProtoMessage() {}
func (*Collector) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{2} }
func (m *Collector) GetMaxConcurrentMessages() int32 {
if m != nil {
return m.MaxConcurrentMessages
}
return 0
}
func (m *Collector) GetMaxMessageWorkers() int32 {
if m != nil {
return m.MaxMessageWorkers
}
return 0
}
func (m *Collector) GetStateCacheSize() int32 {
if m != nil {
return m.StateCacheSize
}
return 0
}
func (m *Collector) GetStateCacheExpiration() *google_protobuf.Duration {
if m != nil {
return m.StateCacheExpiration
}
return nil
}
// Configuration for the Archivist microservice.
type Archivist struct {
// The name of the archival Pub/Sub subscription.
//
// This should be connected to "archive_topic", and the Archivist must have
// permission to consume from this subscription.
Subscription string `protobuf:"bytes,1,opt,name=subscription" json:"subscription,omitempty"`
// The number of tasks to run at a time. If blank, the archivist will choose a
// default value.
Tasks int32 `protobuf:"varint,2,opt,name=tasks" json:"tasks,omitempty"`
// The name of the staging storage bucket. All projects will share the same
// staging bucket. Logs for a project will be staged under:
//
// gs://<gs_staging_bucket>/<app-id>/<project-name>/...
GsStagingBucket string `protobuf:"bytes,3,opt,name=gs_staging_bucket,json=gsStagingBucket" json:"gs_staging_bucket,omitempty"`
// Service-wide index configuration. This is used if per-project configuration
// is not specified.
ArchiveIndexConfig *ArchiveIndexConfig `protobuf:"bytes,10,opt,name=archive_index_config,json=archiveIndexConfig" json:"archive_index_config,omitempty"`
// If true, always render the log entries as a binary file during archival,
// regardless of whether a specific stream has a binary file extension.
//
// By default, a stream will only be rendered as a binary if its descriptor
// includes a non-empty binary file extension field.
//
// The binary stream consists of each log entry's data rendered back-to-back.
// - For text streams, this produces a text document similar to the source
// text.
// - For binary streams and datagram streams, this reproduces the source
// contiguous binary file.
// - For datagram streams, the size-prefixed datagrams are written back-to-
// back.
//
// Enabling this option will consume roughly twice the archival space, as each
// stream's data will be archived once as a series of log entries and once as
// a binary file.
//
// Streams without an explicit binary file extension will default to ".bin" if
// this is enabled.
RenderAllStreams bool `protobuf:"varint,13,opt,name=render_all_streams,json=renderAllStreams" json:"render_all_streams,omitempty"`
}
func (m *Archivist) Reset() { *m = Archivist{} }
func (m *Archivist) String() string { return proto.CompactTextString(m) }
func (*Archivist) ProtoMessage() {}
func (*Archivist) Descriptor() ([]byte, []int) { return fileDescriptor1, []int{3} }
func (m *Archivist) GetSubscription() string {
if m != nil {
return m.Subscription
}
return ""
}
func (m *Archivist) GetTasks() int32 {
if m != nil {
return m.Tasks
}
return 0
}
func (m *Archivist) GetGsStagingBucket() string {
if m != nil {
return m.GsStagingBucket
}
return ""
}
func (m *Archivist) GetArchiveIndexConfig() *ArchiveIndexConfig {
if m != nil {
return m.ArchiveIndexConfig
}
return nil
}
func (m *Archivist) GetRenderAllStreams() bool {
if m != nil {
return m.RenderAllStreams
}
return false
}
func init() {
proto.RegisterType((*Config)(nil), "svcconfig.Config")
proto.RegisterType((*Coordinator)(nil), "svcconfig.Coordinator")
proto.RegisterType((*Collector)(nil), "svcconfig.Collector")
proto.RegisterType((*Archivist)(nil), "svcconfig.Archivist")
}
func init() {
proto.RegisterFile("github.com/luci/luci-go/logdog/api/config/svcconfig/config.proto", fileDescriptor1)
}
var fileDescriptor1 = []byte{
// 660 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x54, 0x4b, 0x6b, 0xdb, 0x30,
0x1c, 0x27, 0xed, 0xda, 0x2d, 0x4a, 0x1f, 0x89, 0x96, 0x76, 0x5e, 0x61, 0x5d, 0xc8, 0x2e, 0x61,
0x74, 0x0e, 0x74, 0x30, 0x76, 0x5c, 0x9a, 0x76, 0x63, 0x8c, 0x52, 0x70, 0x0a, 0x3b, 0x0a, 0x45,
0x56, 0x14, 0x51, 0xdb, 0x32, 0x92, 0xdc, 0x7a, 0xfd, 0x0c, 0x3b, 0xed, 0x83, 0x8e, 0x7d, 0x84,
0xa1, 0x87, 0x1f, 0xd0, 0x43, 0xa1, 0x97, 0x24, 0xfe, 0xbd, 0xf2, 0x97, 0x7e, 0xb2, 0xc0, 0x17,
0xc6, 0xf5, 0xba, 0x58, 0x86, 0x44, 0xa4, 0xd3, 0x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