options

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProcessAppConfig

func ProcessAppConfig(services ...string) error

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

func ProcessAppCustomOptions(service string) error

Process the "apps.<app>.<custom.option>" where <custom.option> is not "config"

func SecurityProxyAddUser

func SecurityProxyAddUser(jwtUsername, jwtUserID, jwtAlgorithm, jwtPublicKey string) error

Deprecated

func SecurityProxyDeleteCurrentTLSCertIfSet

func SecurityProxyDeleteCurrentTLSCertIfSet() error

Deprecated

func SecurityProxyDeleteCurrentUserIfSet

func SecurityProxyDeleteCurrentUserIfSet() error

Deprecated

func SecurityProxySetTLSCertificate

func SecurityProxySetTLSCertificate(tlsCertificate, tlsPrivateKey, tlsSNIs string) error

Deprecated

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL