MCPcopy
hub / github.com/fluid-cloudnative/fluid / enabled

Function enabled

pkg/utils/annotations.go:164–166  ·  view source on GitHub ↗

enabled checks if the given name has a value of "true"

(infos map[string]string, name string)

Source from the content-addressed store, hash-verified

162
163// enabled checks if the given name has a value of "true"
164func enabled(infos map[string]string, name string) (match bool) {
165 return KeyValueMatched(infos, name, common.True)
166}

Callers 8

ServerfulFuseEnabledFunction · 0.85
InjectCacheDirEnabledFunction · 0.85
GetServerlessPlatformFunction · 0.85
ServerlessEnabledFunction · 0.85
InjectSidecarDoneFunction · 0.85
SkipPrecheckEnableFunction · 0.85
TestEnabledFunction · 0.85

Calls 1

KeyValueMatchedFunction · 0.85

Tested by 1

TestEnabledFunction · 0.68