Documentation ¶
Index ¶
- func ProcessAppConfig(services ...string) error
- func ProcessAppCustomOptions(service string) error
- func SecurityProxyAddUser(jwtUsername, jwtUserID, jwtAlgorithm, jwtPublicKey string) error
- func SecurityProxyDeleteCurrentTLSCertIfSet() error
- func SecurityProxyDeleteCurrentUserIfSet() error
- func SecurityProxySetTLSCertificate(tlsCertificate, tlsPrivateKey, tlsSNIs string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProcessAppConfig ¶
ProcessAppConfig processes snap configuration which can be used to override edgexfoundry configuration via environment variables sourced by the snap service wrapper script. A service specific file (named <service>.env) is created in the $SNAP_DATA/config/res directory. The settings can either be app-specific or apply to all services/apps in the snap a) snap set edgex-snap-name apps.<app>.config.<my.env.var>
-> sets env var MY_ENV_VAR for an app
b) snap set edgex-snap-name config.<my.env.var>
-> sets env variable for all apps (e.g. DEBUG=true, SERVICE_SERVERBINDADDRESS=0.0.0.0)
func ProcessAppCustomOptions ¶
Process the "apps.<app>.<custom.option>" where <custom.option> is not "config"
func SecurityProxyAddUser ¶
Deprecated
func SecurityProxyDeleteCurrentTLSCertIfSet ¶
func SecurityProxyDeleteCurrentTLSCertIfSet() error
Deprecated
func SecurityProxyDeleteCurrentUserIfSet ¶
func SecurityProxyDeleteCurrentUserIfSet() error
Deprecated
func SecurityProxySetTLSCertificate ¶
Deprecated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.