split **/pkg/config/config.go up to multiple files

This commit is contained in:
Willy Kloucek
2021-12-17 11:47:18 +01:00
committed by Jörn Friedrich Dreyer
parent 6990e7d660
commit a13df3dcf7
121 changed files with 2049 additions and 1940 deletions
+3 -3
View File
@@ -18,9 +18,9 @@ func GLAuthCommand(cfg *config.Config) *cli.Command {
return err
}
if cfg.Commons != nil {
cfg.GLAuth.Commons = cfg.Commons
}
//if cfg.Commons != nil {
// cfg.GLAuth.Commons = cfg.Commons
//}
return nil
},
+3 -3
View File
@@ -18,9 +18,9 @@ func GraphCommand(cfg *config.Config) *cli.Command {
return err
}
if cfg.Commons != nil {
cfg.Graph.Commons = cfg.Commons
}
//if cfg.Commons != nil {
// cfg.Graph.Commons = cfg.Commons
//}
return nil
},
+3 -3
View File
@@ -18,9 +18,9 @@ func GraphExplorerCommand(cfg *config.Config) *cli.Command {
return err
}
if cfg.Commons != nil {
cfg.Graph.Commons = cfg.Commons
}
//if cfg.Commons != nil {
// cfg.Graph.Commons = cfg.Commons
//}
return nil
},
+3 -3
View File
@@ -21,9 +21,9 @@ func IDPCommand(cfg *config.Config) *cli.Command {
return err
}
if cfg.Commons != nil {
cfg.IDP.Commons = cfg.Commons
}
//if cfg.Commons != nil {
// cfg.IDP.Commons = cfg.Commons
//}
return nil
},
+3 -3
View File
@@ -18,9 +18,9 @@ func OCSCommand(cfg *config.Config) *cli.Command {
return err
}
if cfg.Commons != nil {
cfg.OCS.Commons = cfg.Commons
}
//if cfg.Commons != nil {
// cfg.OCS.Commons = cfg.Commons
//}
return nil
},
+3 -3
View File
@@ -21,9 +21,9 @@ func ProxyCommand(cfg *config.Config) *cli.Command {
return err
}
if cfg.Commons != nil {
cfg.Proxy.Commons = cfg.Commons
}
//if cfg.Commons != nil {
// cfg.Proxy.Commons = cfg.Commons
//}
return nil
},
+3 -3
View File
@@ -21,9 +21,9 @@ func SettingsCommand(cfg *config.Config) *cli.Command {
return err
}
if cfg.Commons != nil {
cfg.Settings.Commons = cfg.Commons
}
//if cfg.Commons != nil {
// cfg.Settings.Commons = cfg.Commons
//}
return nil
},
+3 -3
View File
@@ -22,9 +22,9 @@ func WebDAVCommand(cfg *config.Config) *cli.Command {
return err
}
if cfg.Commons != nil {
cfg.WebDAV.Commons = cfg.Commons
}
//if cfg.Commons != nil {
// cfg.WebDAV.Commons = cfg.Commons
//}
return nil
},