Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Commons *shared.Commons `yaml:"-"` // don't use this directly as configuration for a service
Service Service `yaml:"-"`
Tracing *Tracing `yaml:"tracing"`
Log *Log `yaml:"log"`
Debug Debug `yaml:"debug"`
GRPC GRPCConfig `yaml:"grpc"`
TokenManager *TokenManager `yaml:"token_manager"`
Reva *shared.Reva `yaml:"reva"`
SkipUserGroupsInToken bool `` /* 195-byte string literal not displayed */
StorageProvider StorageProvider `yaml:"storage_provider"`
Context context.Context `yaml:"-"`
}
type Debug ¶
type Debug struct {
Addr string `` /* 183-byte string literal not displayed */
Token string `yaml:"token" env:"STORAGE_PUBLICLINK_DEBUG_TOKEN" desc:"Token to secure the metrics endpoint." introductionVersion:"1.0.0"`
Pprof bool `` /* 132-byte string literal not displayed */
Zpages bool `` /* 165-byte string literal not displayed */
}
type GRPCConfig ¶
type GRPCConfig struct {
Addr string `yaml:"addr" env:"STORAGE_PUBLICLINK_GRPC_ADDR" desc:"The bind address of the GRPC service." introductionVersion:"1.0.0"`
TLS *shared.GRPCServiceTLS `yaml:"tls"`
Namespace string `yaml:"-"`
Protocol string `` /* 150-byte string literal not displayed */
}
type StorageProvider ¶
type StorageProvider struct {
MountID string `` /* 324-byte string literal not displayed */
}
type TokenManager ¶
type TokenManager struct {
JWTSecret string `` /* 146-byte string literal not displayed */
}
TokenManager is the config for using the reva token manager
type Tracing ¶
type Tracing struct {
Enabled bool `` /* 128-byte string literal not displayed */
Type string `` /* 221-byte string literal not displayed */
Endpoint string `` /* 147-byte string literal not displayed */
Collector string `` /* 267-byte string literal not displayed */
}
Tracing defines the tracing config.
Click to show internal directories.
Click to hide internal directories.