MCPcopy
hub / github.com/openfaas/faas / Getenv

Method Getenv

gateway/types/readconfig.go:27–27  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

25// HasEnv provides interface for os.Getenv
26type HasEnv interface {
27 Getenv(key string) string
28}
29
30// ReadConfig constitutes config from env variables

Callers 2

GetenvMethod · 0.65
ReadMethod · 0.65

Implementers 2

EnvBucketgateway/types/readconfig_test.go
OsEnvgateway/types/readconfig.go

Calls

no outgoing calls

Tested by

no test coverage detected