Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.12
// protoc (unknown)
// source: store/server_config.proto
package store
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// ServerConfigPayload stores global server-level infrastructure configuration.
// Only contains settings that are truly cross-workspace and cannot be derived
// from any workspace context (e.g., JWT signing secret).
// All other settings live in per-workspace WORKSPACE_PROFILE.
type ServerConfigPayload struct {
state protoimpl.MessageState `protogen:"open.v1"`
// Authentication secret for token signing (32-character random string).
AuthSecret string `protobuf:"bytes,1,opt,name=auth_secret,json=authSecret,proto3" json:"auth_secret,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ServerConfigPayload) Reset() {
*x = ServerConfigPayload{}
mi := &file_store_server_config_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ServerConfigPayload) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServerConfigPayload) ProtoMessage() {}
func (x *ServerConfigPayload) ProtoReflect() protoreflect.Message {
mi := &file_store_server_config_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ServerConfigPayload.ProtoReflect.Descriptor instead.
func (*ServerConfigPayload) Descriptor() ([]byte, []int) {
return file_store_server_config_proto_rawDescGZIP(), []int{0}
}
func (x *ServerConfigPayload) GetAuthSecret() string {
if x != nil {
return x.AuthSecret
}
return ""
}
var File_store_server_config_proto protoreflect.FileDescriptor
const file_store_server_config_proto_rawDesc = "" +
"\n" +
"\x19store/server_config.proto\x12\x0ebytebase.store\"6\n" +
"\x13ServerConfigPayload\x12\x1f\n" +
"\vauth_secret\x18\x01 \x01(\tR\n" +
"authSecretB\x94\x01\n" +
"\x12com.bytebase.storeB\x11ServerConfigProtoP\x01Z\x12generated-go/store\xa2\x02\x03BSX\xaa\x02\x0eBytebase.Store\xca\x02\x0eBytebase\\Store\xe2\x02\x1aBytebase\\Store\\GPBMetadata\xea\x02\x0fBytebase::Storeb\x06proto3"
var (
file_store_server_config_proto_rawDescOnce sync.Once
file_store_server_config_proto_rawDescData []byte
)
func file_store_server_config_proto_rawDescGZIP() []byte {
file_store_server_config_proto_rawDescOnce.Do(func() {
file_store_server_config_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_store_server_config_proto_rawDesc), len(file_store_server_config_proto_rawDesc)))
})
return file_store_server_config_proto_rawDescData
}
var file_store_server_config_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_store_server_config_proto_goTypes = []any{
(*ServerConfigPayload)(nil), // 0: bytebase.store.ServerConfigPayload
}
var file_store_server_config_proto_depIdxs = []int32{
0, // [0:0] is the sub-list for method output_type
0, // [0:0] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] is the sub-list for field type_name
}
func init() { file_store_server_config_proto_init() }
func file_store_server_config_proto_init() {
if File_store_server_config_proto != nil {
return
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_store_server_config_proto_rawDesc), len(file_store_server_config_proto_rawDesc)),
NumEnums: 0,
NumMessages: 1,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_store_server_config_proto_goTypes,
DependencyIndexes: file_store_server_config_proto_depIdxs,
MessageInfos: file_store_server_config_proto_msgTypes,
}.Build()
File_store_server_config_proto = out.File
file_store_server_config_proto_goTypes = nil
file_store_server_config_proto_depIdxs = nil
}