remove unsupported drivers from the documentation

This commit is contained in:
Willy Kloucek
2022-05-03 15:12:34 +02:00
parent 47ed302e43
commit 061808ca72
5 changed files with 8 additions and 31 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ type GRPCConfig struct {
}
type AuthProviders struct {
JSON JSONProvider `yaml:"json"`
JSON JSONProvider `yaml:"json"` // not supported by the oCIS product, therefore not part of docs
LDAP LDAPProvider `yaml:"ldap"`
OwnCloudSQL OwnCloudSQLProvider `yaml:"owncloud_sql"`
}
+2 -2
View File
@@ -51,10 +51,10 @@ type GRPCConfig struct {
}
type Drivers struct {
JSON JSONDriver
JSON JSONDriver // not supported by the oCIS product, therefore not part of docs
LDAP LDAPDriver
OwnCloudSQL OwnCloudSQLDriver
REST RESTProvider
REST RESTProvider // not supported by the oCIS product, therefore not part of docs
}
type JSONDriver struct {
@@ -70,10 +70,10 @@ type HTTPConfig struct {
}
type Drivers struct {
EOS EOSDriver
Local LocalDriver
EOS EOSDriver `yaml:",omitempty"` // not supported by the oCIS product, therefore not part of docs
Local LocalDriver `yaml:",omitempty"` // not supported by the oCIS product, therefore not part of docs
OCIS OCISDriver
S3 S3Driver
S3 S3Driver `yaml:",omitempty"` // not supported by the oCIS product, therefore not part of docs
S3NG S3NGDriver
OwnCloudSQL OwnCloudSQLDriver
}
@@ -1,7 +1,6 @@
package defaults
import (
"os"
"path/filepath"
"github.com/owncloud/ocis/extensions/storage-users/pkg/config"
@@ -43,25 +42,6 @@ func DefaultConfig() *config.Config {
MountID: "1284d238-aa92-42ce-bdc4-0b0000009157",
Driver: "ocis",
Drivers: config.Drivers{
EOS: config.EOSDriver{
Root: "/eos/dockertest/reva",
ShareFolder: "/Shares",
UserLayout: "{{substr 0 1 .Username}}/{{.Username}}",
ShadowNamespace: "",
UploadsNamespace: "",
EosBinary: "/usr/bin/eos",
XrdcopyBinary: "/usr/bin/xrdcopy",
MasterURL: "root://eos-mgm1.eoscluster.cern.ch:1094",
GRPCURI: "",
SlaveURL: "root://eos-mgm1.eoscluster.cern.ch:1094",
CacheDirectory: os.TempDir(),
GatewaySVC: "127.0.0.1:9142",
},
Local: config.LocalDriver{
Root: filepath.Join(defaults.BaseDataPath(), "storage", "local", "users"),
ShareFolder: "/Shares",
UserLayout: "{{.Username}}",
},
OwnCloudSQL: config.OwnCloudSQLDriver{
Root: filepath.Join(defaults.BaseDataPath(), "storage", "owncloud"),
ShareFolder: "/Shares",
@@ -73,9 +53,6 @@ func DefaultConfig() *config.Config {
DBPort: 3306,
DBName: "owncloud",
},
S3: config.S3Driver{
Region: "default",
},
S3NG: config.S3NGDriver{
Root: filepath.Join(defaults.BaseDataPath(), "storage", "users"),
ShareFolder: "/Shares",
+2 -2
View File
@@ -51,10 +51,10 @@ type GRPCConfig struct {
}
type Drivers struct {
JSON JSONDriver
JSON JSONDriver // not supported by the oCIS product, therefore not part of docs
LDAP LDAPDriver
OwnCloudSQL OwnCloudSQLDriver
REST RESTProvider
REST RESTProvider // not supported by the oCIS product, therefore not part of docs
}
type JSONDriver struct {