MCPcopy
hub / github.com/runfinch/finch / EnvGetter

Interface EnvGetter

pkg/system/system.go:46–48  ·  view source on GitHub ↗

EnvGetter mocks out os.Getenv.

Source from the content-addressed store, hash-verified

44
45// EnvGetter mocks out os.Getenv.
46type EnvGetter interface {
47 Env(key string) string
48}
49
50// EnvChecker mocks out os.LookupEnv.
51type EnvChecker interface {

Callers 8

createMethod · 0.65
createMethod · 0.65
FinchRootDirMethod · 0.65
TestFinch_RootDirFunction · 0.65

Implementers 7

NerdctlCommandSystemDepspkg/mocks/nerdctl_cmd_system_deps.go
NerdctlCommandSystemDepsMockRecorderpkg/mocks/nerdctl_cmd_system_deps.go
NerdctlCmdCreatorSystemDepspkg/mocks/nerdctl_cmd_creator_system_d
NerdctlCmdCreatorSystemDepsMockRecorderpkg/mocks/nerdctl_cmd_creator_system_d
FinchFinderDepspkg/mocks/finch_finder_deps.go
FinchFinderDepsMockRecorderpkg/mocks/finch_finder_deps.go
StdLibpkg/system/stdlib.go

Calls

no outgoing calls

Tested by

no test coverage detected