detect if the EC_EXPERIMENTAL env var is set to enable experimental features
()
| 95 | |
| 96 | // detect if the EC_EXPERIMENTAL env var is set to enable experimental features |
| 97 | func Experimental() bool { |
| 98 | return os.Getenv("EC_EXPERIMENTAL") == "1" |
| 99 | } |
| 100 | |
| 101 | func IsOpaEnabled() bool { |
| 102 | return os.Getenv("EC_USE_OPA") == "1" |