MCPcopy Create free account
hub / github.com/apache/openwhisk-cli / SetDefaultProperties

Function SetDefaultProperties

commands/property.go:384–395  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

382}
383
384func SetDefaultProperties() {
385 Properties.Key = DefaultCert
386 Properties.Cert = DefaultKey
387 Properties.Auth = DefaultAuth
388 Properties.Namespace = DefaultNamespace
389 Properties.APIHost = DefaultAPIHost
390 Properties.APIBuild = DefaultAPIBuild
391 Properties.APIBuildNo = DefaultAPIBuildNo
392 Properties.APIVersion = DefaultAPIVersion
393 Properties.PropsFile = DefaultPropsFile
394 // Properties.CLIVersion value is set from main's init()
395}
396
397func GetPropertiesFilePath() (propsFilePath string, werr error) {
398 var envExists bool

Callers 1

loadPropertiesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected