in whisk/wskprops.go [82:102]
func convertWskpropsToConfig(dep *Wskprops) *Config {
var config Config
config.Host = dep.APIHost
if len(config.Host) != 0 {
v, err := GetUrlBase(config.Host)
if err == nil {
config.BaseURL = v
}
}
config.Namespace = dep.Namespace
config.Cert = dep.Cert
config.Key = dep.Key
config.AuthToken = dep.AuthKey
config.Version = dep.Apiversion
config.Verbose = false
config.Debug = false
config.Insecure = true
return &config
}