Documentation ¶
Index ¶
- Variables
- type Auth
- func (*Auth) Descriptor() ([]byte, []int)deprecated
- func (x *Auth) GetAllowList() []string
- func (x *Auth) GetCasRobotAccountPrivateKeyPath() string
- func (x *Auth) GetGeneratedJwsHmacSecret() string
- func (x *Auth) GetOidc() *Auth_OIDC
- func (*Auth) ProtoMessage()
- func (x *Auth) ProtoReflect() protoreflect.Message
- func (x *Auth) Reset()
- func (x *Auth) String() string
- type Auth_OIDC
- func (*Auth_OIDC) Descriptor() ([]byte, []int)deprecated
- func (x *Auth_OIDC) GetClientId() string
- func (x *Auth_OIDC) GetClientSecret() string
- func (x *Auth_OIDC) GetDomain() string
- func (x *Auth_OIDC) GetRedirectUrlScheme() string
- func (*Auth_OIDC) ProtoMessage()
- func (x *Auth_OIDC) ProtoReflect() protoreflect.Message
- func (x *Auth_OIDC) Reset()
- func (x *Auth_OIDC) String() string
- type Bootstrap
- func (*Bootstrap) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap) GetAuth() *Auth
- func (x *Bootstrap) GetCredentialsService() *Credentials
- func (x *Bootstrap) GetData() *Data
- func (x *Bootstrap) GetObservability() *Bootstrap_Observability
- func (x *Bootstrap) GetServer() *Server
- func (*Bootstrap) ProtoMessage()
- func (x *Bootstrap) ProtoReflect() protoreflect.Message
- func (x *Bootstrap) Reset()
- func (x *Bootstrap) String() string
- type Bootstrap_Observability
- func (*Bootstrap_Observability) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap_Observability) GetSentry() *Bootstrap_Observability_Sentry
- func (*Bootstrap_Observability) ProtoMessage()
- func (x *Bootstrap_Observability) ProtoReflect() protoreflect.Message
- func (x *Bootstrap_Observability) Reset()
- func (x *Bootstrap_Observability) String() string
- type Bootstrap_Observability_Sentry
- func (*Bootstrap_Observability_Sentry) Descriptor() ([]byte, []int)deprecated
- func (x *Bootstrap_Observability_Sentry) GetDsn() string
- func (x *Bootstrap_Observability_Sentry) GetEnvironment() string
- func (*Bootstrap_Observability_Sentry) ProtoMessage()
- func (x *Bootstrap_Observability_Sentry) ProtoReflect() protoreflect.Message
- func (x *Bootstrap_Observability_Sentry) Reset()
- func (x *Bootstrap_Observability_Sentry) String() string
- type Credentials
- func (*Credentials) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials) GetAwsSecretManager() *Credentials_AWSSecretManager
- func (m *Credentials) GetBackend() isCredentials_Backend
- func (x *Credentials) GetVault() *Credentials_Vault
- func (*Credentials) ProtoMessage()
- func (x *Credentials) ProtoReflect() protoreflect.Message
- func (x *Credentials) Reset()
- func (x *Credentials) String() string
- type Credentials_AWSSecretManager
- func (*Credentials_AWSSecretManager) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials_AWSSecretManager) GetCreds() *Credentials_AWSSecretManager_Creds
- func (x *Credentials_AWSSecretManager) GetRegion() string
- func (x *Credentials_AWSSecretManager) GetSecretPrefix() string
- func (*Credentials_AWSSecretManager) ProtoMessage()
- func (x *Credentials_AWSSecretManager) ProtoReflect() protoreflect.Message
- func (x *Credentials_AWSSecretManager) Reset()
- func (x *Credentials_AWSSecretManager) String() string
- type Credentials_AWSSecretManager_Creds
- func (*Credentials_AWSSecretManager_Creds) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials_AWSSecretManager_Creds) GetAccessKey() string
- func (x *Credentials_AWSSecretManager_Creds) GetSecretKey() string
- func (*Credentials_AWSSecretManager_Creds) ProtoMessage()
- func (x *Credentials_AWSSecretManager_Creds) ProtoReflect() protoreflect.Message
- func (x *Credentials_AWSSecretManager_Creds) Reset()
- func (x *Credentials_AWSSecretManager_Creds) String() string
- type Credentials_AwsSecretManager
- type Credentials_Vault
- func (*Credentials_Vault) Descriptor() ([]byte, []int)deprecated
- func (x *Credentials_Vault) GetAddress() string
- func (x *Credentials_Vault) GetMountPath() string
- func (x *Credentials_Vault) GetSecretPrefix() string
- func (x *Credentials_Vault) GetToken() string
- func (*Credentials_Vault) ProtoMessage()
- func (x *Credentials_Vault) ProtoReflect() protoreflect.Message
- func (x *Credentials_Vault) Reset()
- func (x *Credentials_Vault) String() string
- type Credentials_Vault_
- type Data
- type Data_Database
- func (*Data_Database) Descriptor() ([]byte, []int)deprecated
- func (x *Data_Database) GetDriver() string
- func (x *Data_Database) GetSource() string
- func (*Data_Database) ProtoMessage()
- func (x *Data_Database) ProtoReflect() protoreflect.Message
- func (x *Data_Database) Reset()
- func (x *Data_Database) String() string
- type Server
- func (*Server) Descriptor() ([]byte, []int)deprecated
- func (x *Server) GetGrpc() *Server_GRPC
- func (x *Server) GetHttp() *Server_HTTP
- func (x *Server) GetHttpMetrics() *Server_HTTP
- func (*Server) ProtoMessage()
- func (x *Server) ProtoReflect() protoreflect.Message
- func (x *Server) Reset()
- func (x *Server) String() string
- type Server_GRPC
- func (*Server_GRPC) Descriptor() ([]byte, []int)deprecated
- func (x *Server_GRPC) GetAddr() string
- func (x *Server_GRPC) GetNetwork() string
- func (x *Server_GRPC) GetTimeout() *durationpb.Duration
- func (*Server_GRPC) ProtoMessage()
- func (x *Server_GRPC) ProtoReflect() protoreflect.Message
- func (x *Server_GRPC) Reset()
- func (x *Server_GRPC) String() string
- type Server_HTTP
- func (*Server_HTTP) Descriptor() ([]byte, []int)deprecated
- func (x *Server_HTTP) GetAddr() string
- func (x *Server_HTTP) GetExternalAddr() string
- func (x *Server_HTTP) GetNetwork() string
- func (x *Server_HTTP) GetTimeout() *durationpb.Duration
- func (*Server_HTTP) ProtoMessage()
- func (x *Server_HTTP) ProtoReflect() protoreflect.Message
- func (x *Server_HTTP) Reset()
- func (x *Server_HTTP) String() string
Constants ¶
This section is empty.
Variables ¶
var File_conf_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct { // Authentication creates a JWT that uses this secret for signing GeneratedJwsHmacSecret string `` /* 131-byte string literal not displayed */ AllowList []string `protobuf:"bytes,3,rep,name=allow_list,json=allowList,proto3" json:"allow_list,omitempty"` CasRobotAccountPrivateKeyPath string `` /* 156-byte string literal not displayed */ Oidc *Auth_OIDC `protobuf:"bytes,6,opt,name=oidc,proto3" json:"oidc,omitempty"` // contains filtered or unexported fields }
func (*Auth) Descriptor
deprecated
func (*Auth) GetAllowList ¶
func (*Auth) GetCasRobotAccountPrivateKeyPath ¶
func (*Auth) GetGeneratedJwsHmacSecret ¶
func (*Auth) ProtoMessage ¶
func (*Auth) ProtoMessage()
func (*Auth) ProtoReflect ¶
func (x *Auth) ProtoReflect() protoreflect.Message
type Auth_OIDC ¶
type Auth_OIDC struct { Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` ClientId string `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"` ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"` RedirectUrlScheme string `protobuf:"bytes,4,opt,name=redirect_url_scheme,json=redirectUrlScheme,proto3" json:"redirect_url_scheme,omitempty"` // contains filtered or unexported fields }
func (*Auth_OIDC) Descriptor
deprecated
func (*Auth_OIDC) GetClientId ¶
func (*Auth_OIDC) GetClientSecret ¶
func (*Auth_OIDC) GetRedirectUrlScheme ¶
func (*Auth_OIDC) ProtoMessage ¶
func (*Auth_OIDC) ProtoMessage()
func (*Auth_OIDC) ProtoReflect ¶
func (x *Auth_OIDC) ProtoReflect() protoreflect.Message
type Bootstrap ¶
type Bootstrap struct { Server *Server `protobuf:"bytes,1,opt,name=server,proto3" json:"server,omitempty"` Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Auth *Auth `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"` Observability *Bootstrap_Observability `protobuf:"bytes,4,opt,name=observability,proto3" json:"observability,omitempty"` CredentialsService *Credentials `protobuf:"bytes,5,opt,name=credentials_service,json=credentialsService,proto3" json:"credentials_service,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap) Descriptor
deprecated
func (*Bootstrap) GetCredentialsService ¶
func (x *Bootstrap) GetCredentialsService() *Credentials
func (*Bootstrap) GetObservability ¶
func (x *Bootstrap) GetObservability() *Bootstrap_Observability
func (*Bootstrap) ProtoMessage ¶
func (*Bootstrap) ProtoMessage()
func (*Bootstrap) ProtoReflect ¶
func (x *Bootstrap) ProtoReflect() protoreflect.Message
type Bootstrap_Observability ¶
type Bootstrap_Observability struct { Sentry *Bootstrap_Observability_Sentry `protobuf:"bytes,1,opt,name=sentry,proto3" json:"sentry,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap_Observability) Descriptor
deprecated
func (*Bootstrap_Observability) Descriptor() ([]byte, []int)
Deprecated: Use Bootstrap_Observability.ProtoReflect.Descriptor instead.
func (*Bootstrap_Observability) GetSentry ¶
func (x *Bootstrap_Observability) GetSentry() *Bootstrap_Observability_Sentry
func (*Bootstrap_Observability) ProtoMessage ¶
func (*Bootstrap_Observability) ProtoMessage()
func (*Bootstrap_Observability) ProtoReflect ¶
func (x *Bootstrap_Observability) ProtoReflect() protoreflect.Message
func (*Bootstrap_Observability) Reset ¶
func (x *Bootstrap_Observability) Reset()
func (*Bootstrap_Observability) String ¶
func (x *Bootstrap_Observability) String() string
type Bootstrap_Observability_Sentry ¶
type Bootstrap_Observability_Sentry struct { Dsn string `protobuf:"bytes,1,opt,name=dsn,proto3" json:"dsn,omitempty"` Environment string `protobuf:"bytes,2,opt,name=environment,proto3" json:"environment,omitempty"` // contains filtered or unexported fields }
func (*Bootstrap_Observability_Sentry) Descriptor
deprecated
func (*Bootstrap_Observability_Sentry) Descriptor() ([]byte, []int)
Deprecated: Use Bootstrap_Observability_Sentry.ProtoReflect.Descriptor instead.
func (*Bootstrap_Observability_Sentry) GetDsn ¶
func (x *Bootstrap_Observability_Sentry) GetDsn() string
func (*Bootstrap_Observability_Sentry) GetEnvironment ¶
func (x *Bootstrap_Observability_Sentry) GetEnvironment() string
func (*Bootstrap_Observability_Sentry) ProtoMessage ¶
func (*Bootstrap_Observability_Sentry) ProtoMessage()
func (*Bootstrap_Observability_Sentry) ProtoReflect ¶
func (x *Bootstrap_Observability_Sentry) ProtoReflect() protoreflect.Message
func (*Bootstrap_Observability_Sentry) Reset ¶
func (x *Bootstrap_Observability_Sentry) Reset()
func (*Bootstrap_Observability_Sentry) String ¶
func (x *Bootstrap_Observability_Sentry) String() string
type Credentials ¶
type Credentials struct { // Types that are assignable to Backend: // // *Credentials_AwsSecretManager // *Credentials_Vault_ Backend isCredentials_Backend `protobuf_oneof:"backend"` // contains filtered or unexported fields }
func (*Credentials) Descriptor
deprecated
func (*Credentials) Descriptor() ([]byte, []int)
Deprecated: Use Credentials.ProtoReflect.Descriptor instead.
func (*Credentials) GetAwsSecretManager ¶
func (x *Credentials) GetAwsSecretManager() *Credentials_AWSSecretManager
func (*Credentials) GetBackend ¶
func (m *Credentials) GetBackend() isCredentials_Backend
func (*Credentials) GetVault ¶
func (x *Credentials) GetVault() *Credentials_Vault
func (*Credentials) ProtoMessage ¶
func (*Credentials) ProtoMessage()
func (*Credentials) ProtoReflect ¶
func (x *Credentials) ProtoReflect() protoreflect.Message
func (*Credentials) Reset ¶
func (x *Credentials) Reset()
func (*Credentials) String ¶
func (x *Credentials) String() string
type Credentials_AWSSecretManager ¶
type Credentials_AWSSecretManager struct { Creds *Credentials_AWSSecretManager_Creds `protobuf:"bytes,1,opt,name=creds,proto3" json:"creds,omitempty"` Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` SecretPrefix string `protobuf:"bytes,3,opt,name=secret_prefix,json=secretPrefix,proto3" json:"secret_prefix,omitempty"` // contains filtered or unexported fields }
Top level is deprecated now
func (*Credentials_AWSSecretManager) Descriptor
deprecated
func (*Credentials_AWSSecretManager) Descriptor() ([]byte, []int)
Deprecated: Use Credentials_AWSSecretManager.ProtoReflect.Descriptor instead.
func (*Credentials_AWSSecretManager) GetCreds ¶
func (x *Credentials_AWSSecretManager) GetCreds() *Credentials_AWSSecretManager_Creds
func (*Credentials_AWSSecretManager) GetRegion ¶
func (x *Credentials_AWSSecretManager) GetRegion() string
func (*Credentials_AWSSecretManager) GetSecretPrefix ¶
func (x *Credentials_AWSSecretManager) GetSecretPrefix() string
func (*Credentials_AWSSecretManager) ProtoMessage ¶
func (*Credentials_AWSSecretManager) ProtoMessage()
func (*Credentials_AWSSecretManager) ProtoReflect ¶
func (x *Credentials_AWSSecretManager) ProtoReflect() protoreflect.Message
func (*Credentials_AWSSecretManager) Reset ¶
func (x *Credentials_AWSSecretManager) Reset()
func (*Credentials_AWSSecretManager) String ¶
func (x *Credentials_AWSSecretManager) String() string
type Credentials_AWSSecretManager_Creds ¶
type Credentials_AWSSecretManager_Creds struct { AccessKey string `protobuf:"bytes,1,opt,name=access_key,json=accessKey,proto3" json:"access_key,omitempty"` SecretKey string `protobuf:"bytes,2,opt,name=secret_key,json=secretKey,proto3" json:"secret_key,omitempty"` // contains filtered or unexported fields }
func (*Credentials_AWSSecretManager_Creds) Descriptor
deprecated
func (*Credentials_AWSSecretManager_Creds) Descriptor() ([]byte, []int)
Deprecated: Use Credentials_AWSSecretManager_Creds.ProtoReflect.Descriptor instead.
func (*Credentials_AWSSecretManager_Creds) GetAccessKey ¶
func (x *Credentials_AWSSecretManager_Creds) GetAccessKey() string
func (*Credentials_AWSSecretManager_Creds) GetSecretKey ¶
func (x *Credentials_AWSSecretManager_Creds) GetSecretKey() string
func (*Credentials_AWSSecretManager_Creds) ProtoMessage ¶
func (*Credentials_AWSSecretManager_Creds) ProtoMessage()
func (*Credentials_AWSSecretManager_Creds) ProtoReflect ¶
func (x *Credentials_AWSSecretManager_Creds) ProtoReflect() protoreflect.Message
func (*Credentials_AWSSecretManager_Creds) Reset ¶
func (x *Credentials_AWSSecretManager_Creds) Reset()
func (*Credentials_AWSSecretManager_Creds) String ¶
func (x *Credentials_AWSSecretManager_Creds) String() string
type Credentials_AwsSecretManager ¶
type Credentials_AwsSecretManager struct {
AwsSecretManager *Credentials_AWSSecretManager `protobuf:"bytes,1,opt,name=aws_secret_manager,json=awsSecretManager,proto3,oneof"`
}
type Credentials_Vault ¶
type Credentials_Vault struct { // TODO: Use application role auth instead Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // Instance address, including port // i.e "http://127.0.0.1:8200" Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // mount path of the kv engine, default /secret MountPath string `protobuf:"bytes,3,opt,name=mount_path,json=mountPath,proto3" json:"mount_path,omitempty"` SecretPrefix string `protobuf:"bytes,4,opt,name=secret_prefix,json=secretPrefix,proto3" json:"secret_prefix,omitempty"` // contains filtered or unexported fields }
func (*Credentials_Vault) Descriptor
deprecated
func (*Credentials_Vault) Descriptor() ([]byte, []int)
Deprecated: Use Credentials_Vault.ProtoReflect.Descriptor instead.
func (*Credentials_Vault) GetAddress ¶
func (x *Credentials_Vault) GetAddress() string
func (*Credentials_Vault) GetMountPath ¶
func (x *Credentials_Vault) GetMountPath() string
func (*Credentials_Vault) GetSecretPrefix ¶
func (x *Credentials_Vault) GetSecretPrefix() string
func (*Credentials_Vault) GetToken ¶
func (x *Credentials_Vault) GetToken() string
func (*Credentials_Vault) ProtoMessage ¶
func (*Credentials_Vault) ProtoMessage()
func (*Credentials_Vault) ProtoReflect ¶
func (x *Credentials_Vault) ProtoReflect() protoreflect.Message
func (*Credentials_Vault) Reset ¶
func (x *Credentials_Vault) Reset()
func (*Credentials_Vault) String ¶
func (x *Credentials_Vault) String() string
type Credentials_Vault_ ¶
type Credentials_Vault_ struct {
Vault *Credentials_Vault `protobuf:"bytes,2,opt,name=vault,proto3,oneof"`
}
type Data ¶
type Data struct { Database *Data_Database `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"` // contains filtered or unexported fields }
func (*Data) Descriptor
deprecated
func (*Data) GetDatabase ¶
func (x *Data) GetDatabase() *Data_Database
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type Data_Database ¶
type Data_Database struct { Driver string `protobuf:"bytes,1,opt,name=driver,proto3" json:"driver,omitempty"` Source string `protobuf:"bytes,2,opt,name=source,proto3" json:"source,omitempty"` // contains filtered or unexported fields }
func (*Data_Database) Descriptor
deprecated
func (*Data_Database) Descriptor() ([]byte, []int)
Deprecated: Use Data_Database.ProtoReflect.Descriptor instead.
func (*Data_Database) GetDriver ¶
func (x *Data_Database) GetDriver() string
func (*Data_Database) GetSource ¶
func (x *Data_Database) GetSource() string
func (*Data_Database) ProtoMessage ¶
func (*Data_Database) ProtoMessage()
func (*Data_Database) ProtoReflect ¶
func (x *Data_Database) ProtoReflect() protoreflect.Message
func (*Data_Database) Reset ¶
func (x *Data_Database) Reset()
func (*Data_Database) String ¶
func (x *Data_Database) String() string
type Server ¶
type Server struct { Http *Server_HTTP `protobuf:"bytes,1,opt,name=http,proto3" json:"http,omitempty"` Grpc *Server_GRPC `protobuf:"bytes,2,opt,name=grpc,proto3" json:"grpc,omitempty"` // HTTPMetrics defines the HTTP server that exposes prometheus metrics HttpMetrics *Server_HTTP `protobuf:"bytes,3,opt,name=http_metrics,json=httpMetrics,proto3" json:"http_metrics,omitempty"` // contains filtered or unexported fields }
func (*Server) Descriptor
deprecated
func (*Server) GetGrpc ¶
func (x *Server) GetGrpc() *Server_GRPC
func (*Server) GetHttp ¶
func (x *Server) GetHttp() *Server_HTTP
func (*Server) GetHttpMetrics ¶
func (x *Server) GetHttpMetrics() *Server_HTTP
func (*Server) ProtoMessage ¶
func (*Server) ProtoMessage()
func (*Server) ProtoReflect ¶
func (x *Server) ProtoReflect() protoreflect.Message
type Server_GRPC ¶
type Server_GRPC struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,3,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Server_GRPC) Descriptor
deprecated
func (*Server_GRPC) Descriptor() ([]byte, []int)
Deprecated: Use Server_GRPC.ProtoReflect.Descriptor instead.
func (*Server_GRPC) GetAddr ¶
func (x *Server_GRPC) GetAddr() string
func (*Server_GRPC) GetNetwork ¶
func (x *Server_GRPC) GetNetwork() string
func (*Server_GRPC) GetTimeout ¶
func (x *Server_GRPC) GetTimeout() *durationpb.Duration
func (*Server_GRPC) ProtoMessage ¶
func (*Server_GRPC) ProtoMessage()
func (*Server_GRPC) ProtoReflect ¶
func (x *Server_GRPC) ProtoReflect() protoreflect.Message
func (*Server_GRPC) Reset ¶
func (x *Server_GRPC) Reset()
func (*Server_GRPC) String ¶
func (x *Server_GRPC) String() string
type Server_HTTP ¶
type Server_HTTP struct { Network string `protobuf:"bytes,1,opt,name=network,proto3" json:"network,omitempty"` Addr string `protobuf:"bytes,2,opt,name=addr,proto3" json:"addr,omitempty"` // External Address that will be exposed to the client // Optional ExternalAddr string `protobuf:"bytes,3,opt,name=external_addr,json=externalAddr,proto3" json:"external_addr,omitempty"` Timeout *durationpb.Duration `protobuf:"bytes,4,opt,name=timeout,proto3" json:"timeout,omitempty"` // contains filtered or unexported fields }
func (*Server_HTTP) Descriptor
deprecated
func (*Server_HTTP) Descriptor() ([]byte, []int)
Deprecated: Use Server_HTTP.ProtoReflect.Descriptor instead.
func (*Server_HTTP) GetAddr ¶
func (x *Server_HTTP) GetAddr() string
func (*Server_HTTP) GetExternalAddr ¶
func (x *Server_HTTP) GetExternalAddr() string
func (*Server_HTTP) GetNetwork ¶
func (x *Server_HTTP) GetNetwork() string
func (*Server_HTTP) GetTimeout ¶
func (x *Server_HTTP) GetTimeout() *durationpb.Duration
func (*Server_HTTP) ProtoMessage ¶
func (*Server_HTTP) ProtoMessage()
func (*Server_HTTP) ProtoReflect ¶
func (x *Server_HTTP) ProtoReflect() protoreflect.Message
func (*Server_HTTP) Reset ¶
func (x *Server_HTTP) Reset()
func (*Server_HTTP) String ¶
func (x *Server_HTTP) String() string