MCPcopy Create free account
hub / github.com/conforma/cli / IsOpaEnabled

Function IsOpaEnabled

internal/utils/helpers.go:101–103  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func IsOpaEnabled() bool {
102 return os.Getenv("EC_USE_OPA") == "1"
103}
104
105// detect if the string is json
106func IsJson(data string) bool {

Callers 3

NewInputFunction · 0.92
validateImageCmdFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected