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

Function ServerfulFuseEnabled

pkg/utils/annotations.go:52–54  ·  view source on GitHub ↗

---- Util functions to control pod's mutation behaviors using CSI ServerfulFuseEnabled decides if FUSE CSI related optimization should be injected, e.g. HostToContainer mountPropagation for FUSE Recovery feature.

(infos map[string]string)

Source from the content-addressed store, hash-verified

50
51// ServerfulFuseEnabled decides if FUSE CSI related optimization should be injected, e.g. HostToContainer mountPropagation for FUSE Recovery feature.
52func ServerfulFuseEnabled(infos map[string]string) (match bool) {
53 return enabled(infos, common.InjectServerfulFuse)
54}
55
56//
57// ---- Util functions to control pod's fuse sidecar mutation behaviors ----

Callers 1

MutatePodMethod · 0.92

Calls 1

enabledFunction · 0.85

Tested by

no test coverage detected