Rebrand auth-{basic,bearer,machine,service}

This commit is contained in:
André Duffeck
2025-01-16 13:56:16 +01:00
parent 31965a8f9d
commit c982a81135
14 changed files with 27 additions and 27 deletions
+2 -2
View File
@@ -22,11 +22,11 @@ func GetCommands(cfg *config.Config) cli.Commands {
}
}
// Execute is the entry point for the ocis-auth-basic command.
// Execute is the entry point for the opencloud auth-basic command.
func Execute(cfg *config.Config) error {
app := clihelper.DefaultApp(&cli.App{
Name: "auth-basic",
Usage: "Provide basic authentication for oCIS",
Usage: "Provide basic authentication for OpenCloud",
Commands: GetCommands(cfg),
})
+1 -1
View File
@@ -42,7 +42,7 @@ func Server(cfg *config.Config) *cli.Command {
defer cancel()
// the reva runtime calls `os.Exit` in the case of a failure and there is no way for the oCIS
// the reva runtime calls `os.Exit` in the case of a failure and there is no way for the OpenCloud
// runtime to catch it and restart a reva service. Therefore, we need to ensure the service has
// everything it needs, before starting the service.
// In this case: CA certificates
+1 -1
View File
@@ -53,7 +53,7 @@ type GRPCConfig struct {
type AuthProviders struct {
LDAP LDAPProvider `yaml:"ldap"`
OwnCloudSQL OwnCloudSQLProvider `yaml:"owncloudsql"`
JSON JSONProvider `yaml:"json,omitempty"` // not supported by the oCIS product, therefore not part of docs
JSON JSONProvider `yaml:"json,omitempty"` // not supported by the OpenCloud product, therefore not part of docs
}
type JSONProvider struct {
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"github.com/opencloud-eu/opencloud/services/auth-basic/pkg/config"
)
// AuthBasicConfigFromStruct will adapt an oCIS config struct into a reva mapstructure to start a reva service.
// AuthBasicConfigFromStruct will adapt an OpenCloud config struct into a reva mapstructure to start a reva service.
func AuthBasicConfigFromStruct(cfg *config.Config) map[string]interface{} {
rcfg := map[string]interface{}{
"shared": map[string]interface{}{