- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for RegisterBoolVar (0.3 sec)
-
pkg/env/var_test.go
func TestBool(t *testing.T) { reset() ev := RegisterBoolVar(testVar, true, "") v, present := ev.Lookup() if !v { t.Errorf("Expected true, got %v", v) } if present { t.Errorf("Expected not present") } v = ev.Get() if !v { t.Errorf("Expected true, got %v", v) } _ = os.Setenv(testVar, "XXX") ev = RegisterBoolVar(testVar, true, "") v, present = ev.Lookup() if !v {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Aug 08 16:43:05 UTC 2023 - 8.1K bytes - Viewed (0) -
pkg/env/var.go
v := Var{Name: name, DefaultValue: defaultValue, Description: description, Type: STRING} RegisterVar(v) return StringVar{getVar(name)} } // RegisterBoolVar registers a new boolean environment variable. func RegisterBoolVar(name string, defaultValue bool, description string) BoolVar { v := Var{Name: name, DefaultValue: strconv.FormatBool(defaultValue), Description: description, Type: BOOL} RegisterVar(v)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 11.8K bytes - Viewed (0) -
pilot/pkg/features/experimental.go
false, "If set, it allows creating inbound listeners for service ports and sidecar ingress listeners ", ).Get() EnableDualStack = env.RegisterBoolVar("ISTIO_DUAL_STACK", false, "If true, Istio will enable the Dual Stack feature.").Get() EnableOptimizedServicePush = env.RegisterBoolVar("ISTIO_ENABLE_OPTIMIZED_SERVICE_PUSH", true, "If enabled, Istiod will not push changes on arbitrary annotation change.").Get()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 17:02:38 UTC 2024 - 10.2K bytes - Viewed (0) -
pilot/pkg/features/pilot.go
"If enabled, service entries with selectors will select pods from the cluster. "+ "It is safe to disable it if you are quite sure you don't need this feature").Get() EnableK8SServiceSelectWorkloadEntries = env.RegisterBoolVar("PILOT_ENABLE_K8S_SELECT_WORKLOAD_ENTRIES", true, "If enabled, Kubernetes services with selectors will select workload entries with matching labels. "+
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 17:48:28 UTC 2024 - 13.3K bytes - Viewed (0)