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

Interface HasEnv

gateway/types/readconfig.go:26–28  ·  view source on GitHub ↗

HasEnv provides interface for os.Getenv

Source from the content-addressed store, hash-verified

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

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

Used in the wild real call sites across dependent graphs

searching dependent graphs…