Files
QSfera/tests/ociswrapper/ocis/config/config.go
T
Sawjan GurungandGitHub 58c083d311 [tests-only][full-ci] Add option to check ocis connection by authenticating user (#8540)
* 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
2024-03-01 14:54:09 +01:00

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]
}