Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
101
func
IsOpaEnabled() bool {
102
return
os.Getenv(
"EC_USE_OPA"
) ==
"1"
103
}
104
105
// detect if the string is json
106
func
IsJson(data string) bool {
Callers
3
NewInput
Function · 0.92
CreateWorkerFallbackContext
Function · 0.92
validateImageCmd
Function · 0.92
Calls
no outgoing calls
Tested by
no test coverage detected