* Revert "use capabilites in ociswrapper"
This reverts commit 0768723c89.
* tests: check ocis connection with basic auth when provided
* ci: check ocis connection with admin basic auth
* list all ocis services
* list services with timeout
* ci: check ocis connection with admin basic auth
* list all ocis services
18 lines
310 B
Go
18 lines
310 B
Go
package config
|
|
|
|
var config = map[string]string{
|
|
"bin": "/usr/bin/ocis",
|
|
"url": "https://localhost:9200",
|
|
"retry": "5",
|
|
"adminUsername": "",
|
|
"adminPassword": "",
|
|
}
|
|
|
|
func Set(key string, value string) {
|
|
config[key] = value
|
|
}
|
|
|
|
func Get(key string) string {
|
|
return config[key]
|
|
}
|