mirror of
https://github.com/owncloud/ocis
synced 2026-04-26 01:35:25 +02:00
[WIP] adapt storage changes
Signed-off-by: Christian Richter <crichter@owncloud.com>
This commit is contained in:
@@ -5,18 +5,18 @@ import "github.com/owncloud/ocis/ocis-pkg/shared"
|
||||
type Config struct {
|
||||
*shared.Commons `yaml:"-"`
|
||||
Service Service `yaml:"-"`
|
||||
Tracing *Tracing `yaml:"tracing"`
|
||||
Logging *Logging `yaml:"log"`
|
||||
Debug Debug `yaml:"debug"`
|
||||
Supervised bool
|
||||
Tracing *Tracing `yaml:"tracing,omitempty"`
|
||||
Logging *Logging `yaml:"log,omitempty"`
|
||||
Debug Debug `yaml:"debug,omitempty"`
|
||||
Supervised bool `yaml:"supervised,omitempty"`
|
||||
|
||||
GRPC GRPCConfig `yaml:"grpc"`
|
||||
GRPC GRPCConfig `yaml:"grpc,omitempty"`
|
||||
|
||||
JWTSecret string
|
||||
GatewayEndpoint string
|
||||
SkipUserGroupsInToken bool
|
||||
AuthProvider string `yaml:"auth_provider" env:"AUTH_BASIC_AUTH_PROVIDER" desc:"The auth provider which should be used by the service"`
|
||||
AuthProviders AuthProviders `yaml:"auth_providers"`
|
||||
JWTSecret string `yaml:"jwt_secret,omitempty"`
|
||||
GatewayEndpoint string `yaml:"gateway_endpoint,omitempty"`
|
||||
SkipUserGroupsInToken bool `yaml:"skip_user_groups_in_token,omitempty"`
|
||||
AuthProvider string `yaml:"auth_provider,omitempty" env:"AUTH_BASIC_AUTH_PROVIDER" desc:"The auth provider which should be used by the service"`
|
||||
AuthProviders AuthProviders `yaml:"auth_providers,omitempty"`
|
||||
}
|
||||
type Tracing struct {
|
||||
Enabled bool `yaml:"enabled" env:"OCIS_TRACING_ENABLED;AUTH_BASIC_TRACING_ENABLED" desc:"Activates tracing."`
|
||||
|
||||
Reference in New Issue
Block a user