Documentation
¶
Index ¶
- func CreateConfig(insecure, forceOverwrite, diff bool, configPath, adminPassword string) error
- type Activitylog
- type App
- type Audit
- type AuthProviderSettings
- type AuthService
- type AuthbasicService
- type AuthbearerService
- type Clientlog
- type Collaboration
- type Events
- type FrontendService
- type Gateway
- type GraphApplication
- type GraphService
- type IdmService
- type InsecureProxyOIDC
- type InsecureService
- type LdapBasedService
- type LdapSettings
- type Nats
- type Notifications
- type OcmService
- type OpenCloudConfig
- type ProxyService
- type Search
- type ServiceAccount
- type ServiceUserPasswordsSettings
- type SettingsService
- type Sharing
- type StorageRegistry
- type StorageUsers
- type ThumbnailService
- type ThumbnailSettings
- type TokenManager
- type Userlog
- type UsersAndGroupsService
- type WopiApp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfig ¶
CreateConfig creates a config file with random passwords at configPath
Types ¶
type Activitylog ¶
type Activitylog struct {
ServiceAccount ServiceAccount `yaml:"service_account"`
}
Activitylog is the configuration for the activitylog service
type App ¶
type App struct {
Insecure bool `yaml:"insecure"`
}
App is the configuration for the collaboration service
type AuthProviderSettings ¶
type AuthProviderSettings struct {
Oidc InsecureService
}
AuthProviderSettings is the configuration for the auth provider settings
type AuthService ¶
type AuthService struct {
ServiceAccount ServiceAccount `yaml:"service_account"`
}
AuthService is the configuration for the auth service
type AuthbasicService ¶
type AuthbasicService struct {
AuthProviders LdapBasedService `yaml:"auth_providers"`
}
AuthbasicService is the configuration for the authbasic service
type AuthbearerService ¶
type AuthbearerService struct {
AuthProviders AuthProviderSettings `yaml:"auth_providers"`
}
AuthbearerService is the configuration for the authbearer service
type Clientlog ¶
type Clientlog struct {
ServiceAccount ServiceAccount `yaml:"service_account"`
}
Clientlog is the configuration for the clientlog service
type Collaboration ¶
Collaboration is the configuration for the collaboration service
type Events ¶
type Events struct {
TLSInsecure bool `yaml:"tls_insecure"`
}
Events is the configuration for events
type FrontendService ¶
type FrontendService struct {
AppHandler InsecureService `yaml:"app_handler"`
Archiver InsecureService
ServiceAccount ServiceAccount `yaml:"service_account"`
}
FrontendService is the configuration for the frontend service
type Gateway ¶
type Gateway struct {
StorageRegistry StorageRegistry `yaml:"storage_registry"`
}
Gateway is the configuration for the gateway
type GraphApplication ¶
type GraphApplication struct {
ID string `yaml:"id"`
}
GraphApplication is the configuration for the graph application
type GraphService ¶
type GraphService struct {
Application GraphApplication
Events Events
Spaces InsecureService
Identity LdapBasedService
ServiceAccount ServiceAccount `yaml:"service_account"`
}
GraphService is the configuration for the graph service
type IdmService ¶
type IdmService struct {
ServiceUserPasswords ServiceUserPasswordsSettings `yaml:"service_user_passwords"`
}
IdmService is the configuration for the IDM service
type InsecureProxyOIDC ¶
type InsecureProxyOIDC struct {
Insecure bool `yaml:"insecure"`
}
InsecureProxyOIDC is the configuration for the insecure proxy OIDC
type InsecureService ¶
type InsecureService struct {
Insecure bool
}
InsecureService is the configuration for services that can be insecure
type LdapBasedService ¶
type LdapBasedService struct {
Ldap LdapSettings
}
LdapBasedService is the configuration for LDAP based services
type LdapSettings ¶
type LdapSettings struct {
BindPassword string `yaml:"bind_password"`
}
LdapSettings is the configuration for LDAP settings
type Nats ¶
type Nats struct {
// The nats config has a field called nats
Nats struct {
TLSSkipVerifyClientCert bool `yaml:"tls_skip_verify_client_cert"`
}
}
Nats is the configuration for the nats service
type Notifications ¶
type Notifications struct {
Notifications struct{ Events Events } // The notifications config has a field called notifications
ServiceAccount ServiceAccount `yaml:"service_account"`
}
Notifications is the configuration for the notifications service
type OcmService ¶
type OcmService struct {
ServiceAccount ServiceAccount `yaml:"service_account"`
}
OcmService is the configuration for the OCM service
type OpenCloudConfig ¶
type OpenCloudConfig struct {
TokenManager TokenManager `yaml:"token_manager"`
MachineAuthAPIKey string `yaml:"machine_auth_api_key"`
SystemUserAPIKey string `yaml:"system_user_api_key"`
TransferSecret string `yaml:"transfer_secret"`
SystemUserID string `yaml:"system_user_id"`
AdminUserID string `yaml:"admin_user_id"`
Graph GraphService `yaml:"graph"`
Idp LdapBasedService `yaml:"idp"`
Idm IdmService `yaml:"idm"`
Collaboration Collaboration `yaml:"collaboration"`
Proxy ProxyService `yaml:"proxy"`
Frontend FrontendService `yaml:"frontend"`
AuthBasic AuthbasicService `yaml:"auth_basic"`
AuthBearer AuthbearerService `yaml:"auth_bearer"`
Users UsersAndGroupsService `yaml:"users"`
Groups UsersAndGroupsService `yaml:"groups"`
Ocdav InsecureService `yaml:"ocdav"`
Ocm OcmService `yaml:"ocm"`
Thumbnails ThumbnailService `yaml:"thumbnails"`
Search Search `yaml:"search"`
Audit Audit `yaml:"audit"`
Settings SettingsService `yaml:"settings"`
Sharing Sharing `yaml:"sharing"`
StorageUsers StorageUsers `yaml:"storage_users"`
Notifications Notifications `yaml:"notifications"`
Nats Nats `yaml:"nats"`
Gateway Gateway `yaml:"gateway"`
Userlog Userlog `yaml:"userlog"`
AuthService AuthService `yaml:"auth_service"`
Clientlog Clientlog `yaml:"clientlog"`
Activitylog Activitylog `yaml:"activitylog"`
}
OpenCloudConfig is the configuration for the OpenCloud services
type ProxyService ¶
type ProxyService struct {
OIDC InsecureProxyOIDC `yaml:"oidc"`
InsecureBackends bool `yaml:"insecure_backends"`
ServiceAccount ServiceAccount `yaml:"service_account"`
}
ProxyService is the configuration for the proxy service
type Search ¶
type Search struct {
Events Events
ServiceAccount ServiceAccount `yaml:"service_account"`
}
Search is the configuration for the search service
type ServiceAccount ¶
type ServiceAccount struct {
ServiceAccountID string `yaml:"service_account_id"`
ServiceAccountSecret string `yaml:"service_account_secret"`
}
ServiceAccount is the configuration for the used service account
type ServiceUserPasswordsSettings ¶
type ServiceUserPasswordsSettings struct {
AdminPassword string `yaml:"admin_password"`
IdmPassword string `yaml:"idm_password"`
RevaPassword string `yaml:"reva_password"`
IdpPassword string `yaml:"idp_password"`
}
ServiceUserPasswordsSettings is the configuration for service user passwords
type SettingsService ¶
type SettingsService struct {
ServiceAccountIDs []string `yaml:"service_account_ids"`
}
SettingsService is the configuration for the settings service
type Sharing ¶
type Sharing struct {
Events Events
}
Sharing is the configuration for the sharing service
type StorageRegistry ¶
type StorageRegistry struct {
StorageUsersMountID string `yaml:"storage_users_mount_id"`
}
StorageRegistry is the configuration for the storage registry
type StorageUsers ¶
type StorageUsers struct {
Events Events
MountID string `yaml:"mount_id"`
ServiceAccount ServiceAccount `yaml:"service_account"`
}
StorageUsers is the configuration for the storage users
type ThumbnailService ¶
type ThumbnailService struct {
Thumbnail ThumbnailSettings
}
ThumbnailService is the configuration for the thumbnail service
type ThumbnailSettings ¶
type ThumbnailSettings struct {
TransferSecret string `yaml:"transfer_secret"`
WebdavAllowInsecure bool `yaml:"webdav_allow_insecure"`
Cs3AllowInsecure bool `yaml:"cs3_allow_insecure"`
}
ThumbnailSettings is the configuration for the thumbnail settings
type TokenManager ¶
type TokenManager struct {
JWTSecret string `yaml:"jwt_secret"`
}
TokenManager is the configuration for the token manager
type Userlog ¶
type Userlog struct {
ServiceAccount ServiceAccount `yaml:"service_account"`
}
Userlog is the configuration for the userlog service
type UsersAndGroupsService ¶
type UsersAndGroupsService struct {
Drivers LdapBasedService
}
UsersAndGroupsService is the configuration for the users and groups service