make yaml tags always use underscore
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
1 parent
a22cfe6cee
commit
edd3adcf1d
3 files changed
+15
-15
No files matched your search
@@ -53,7 +53,7 @@ type Route struct {
|
|||||||
Backend string `yaml:"backend"`
|
Backend string `yaml:"backend"`
|
||||||
// Service name to look up in the registry
|
// Service name to look up in the registry
|
||||||
Service string `yaml:"service"`
|
Service string `yaml:"service"`
|
||||||
ApacheVHost bool `yaml:"apache-vhost"`
|
ApacheVHost bool `yaml:"apache_vhost"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// RouteType defines the type of a route
|
// RouteType defines the type of a route
|
||||||
|
|||||||
+10
-10
@@ -73,17 +73,17 @@ type Config struct {
|
|||||||
Runtime Runtime `yaml:"runtime"`
|
Runtime Runtime `yaml:"runtime"`
|
||||||
|
|
||||||
Accounts *accounts.Config `yaml:"accounts"`
|
Accounts *accounts.Config `yaml:"accounts"`
|
||||||
AppProvider *appProvider.Config `yaml:"app-provider"`
|
AppProvider *appProvider.Config `yaml:"app_provider"`
|
||||||
AppRegistry *appRegistry.Config `yaml:"app-registry"`
|
AppRegistry *appRegistry.Config `yaml:"app_registry"`
|
||||||
Audit *audit.Config `yaml:"audit"`
|
Audit *audit.Config `yaml:"audit"`
|
||||||
AuthBasic *authbasic.Config `yaml:"auth-basic"`
|
AuthBasic *authbasic.Config `yaml:"auth_basic"`
|
||||||
AuthBearer *authbearer.Config `yaml:"auth-bearer"`
|
AuthBearer *authbearer.Config `yaml:"auth_bearer"`
|
||||||
AuthMachine *authmachine.Config `yaml:"auth-machine"`
|
AuthMachine *authmachine.Config `yaml:"auth_machine"`
|
||||||
Frontend *frontend.Config `yaml:"frontend"`
|
Frontend *frontend.Config `yaml:"frontend"`
|
||||||
Gateway *gateway.Config `yaml:"gateway"`
|
Gateway *gateway.Config `yaml:"gateway"`
|
||||||
GLAuth *glauth.Config `yaml:"glauth"`
|
GLAuth *glauth.Config `yaml:"glauth"`
|
||||||
Graph *graph.Config `yaml:"graph"`
|
Graph *graph.Config `yaml:"graph"`
|
||||||
GraphExplorer *graphExplorer.Config `yaml:"graph-explorer"`
|
GraphExplorer *graphExplorer.Config `yaml:"graph_explorer"`
|
||||||
Group *group.Config `yaml:"group"`
|
Group *group.Config `yaml:"group"`
|
||||||
IDM *idm.Config `yaml:"idm"`
|
IDM *idm.Config `yaml:"idm"`
|
||||||
IDP *idp.Config `yaml:"idp"`
|
IDP *idp.Config `yaml:"idp"`
|
||||||
@@ -94,10 +94,10 @@ type Config struct {
|
|||||||
Proxy *proxy.Config `yaml:"proxy"`
|
Proxy *proxy.Config `yaml:"proxy"`
|
||||||
Settings *settings.Config `yaml:"settings"`
|
Settings *settings.Config `yaml:"settings"`
|
||||||
Sharing *sharing.Config `yaml:"sharing"`
|
Sharing *sharing.Config `yaml:"sharing"`
|
||||||
StorageSystem *storagesystem.Config `yaml:"storage-system"`
|
StorageSystem *storagesystem.Config `yaml:"storage_system"`
|
||||||
StoragePublicLink *storagepublic.Config `yaml:"storage-public"`
|
StoragePublicLink *storagepublic.Config `yaml:"storage_public"`
|
||||||
StorageShares *storageshares.Config `yaml:"storage-shares"`
|
StorageShares *storageshares.Config `yaml:"storage_shares"`
|
||||||
StorageUsers *storageusers.Config `yaml:"storage-users"`
|
StorageUsers *storageusers.Config `yaml:"storage_users"`
|
||||||
Store *store.Config `yaml:"store"`
|
Store *store.Config `yaml:"store"`
|
||||||
Thumbnails *thumbnails.Config `yaml:"thumbnails"`
|
Thumbnails *thumbnails.Config `yaml:"thumbnails"`
|
||||||
User *user.Config `yaml:"user"`
|
User *user.Config `yaml:"user"`
|
||||||
|
|||||||
@@ -105,12 +105,12 @@ type OcisConfig struct {
|
|||||||
Idm IdmExtension
|
Idm IdmExtension
|
||||||
Proxy InsecureProxyExtension
|
Proxy InsecureProxyExtension
|
||||||
Frontend FrontendExtension
|
Frontend FrontendExtension
|
||||||
AuthBasic AuthbasicExtension `yaml:"auth-basic"`
|
AuthBasic AuthbasicExtension `yaml:"auth_basic"`
|
||||||
AuthBearer AuthbearerExtension `yaml:"auth-bearer"`
|
AuthBearer AuthbearerExtension `yaml:"auth_bearer"`
|
||||||
User UserAndGroupExtension
|
User UserAndGroupExtension
|
||||||
Group UserAndGroupExtension
|
Group UserAndGroupExtension
|
||||||
StorageMetadata DataProviderInsecureSettings `yaml:"storage-system"`
|
StorageMetadata DataProviderInsecureSettings `yaml:"storage_system"`
|
||||||
StorageUsers DataProviderInsecureSettings `yaml:"storage-users"`
|
StorageUsers DataProviderInsecureSettings `yaml:"storage_users"`
|
||||||
Ocdav InsecureExtension
|
Ocdav InsecureExtension
|
||||||
Thumbnails ThumbNailExtension
|
Thumbnails ThumbNailExtension
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user