- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for KeyValues (0.19 sec)
-
pkg/wasm/convert.go
resourceVersion := "" if envs != nil { if sec, found := envs.KeyValues[model.WasmSecretEnv]; found { if sec == "" { *status = fetchFailure return fmt.Errorf("cannot fetch Wasm module %v: missing image pulling secret", configName) } pullSecret = []byte(sec) } if ps, found := envs.KeyValues[model.WasmPolicyEnv]; found { if p, found := PullPolicyValues[ps]; found {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.3K bytes - Viewed (0) -
pilot/pkg/model/extensions.go
EnvironmentVariables: &wasmextensions.EnvironmentVariables{ KeyValues: map[string]string{}, }, }, } if wasmPlugin.ImagePullSecret != "" { cfg.VmConfig.EnvironmentVariables.KeyValues[WasmSecretEnv] = wasmPlugin.ImagePullSecret } if wasmPlugin.ImagePullPolicy != extensions.PullPolicy_UNSPECIFIED_POLICY { cfg.VmConfig.EnvironmentVariables.KeyValues[WasmPolicyEnv] = wasmPlugin.ImagePullPolicy.String() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 11K bytes - Viewed (0) -
pilot/pkg/networking/core/extension/wasmplugin_test.go
}, Timeout: &durationpb.Duration{ Seconds: 30, }, }, }, }, }, EnvironmentVariables: &wasmextension.EnvironmentVariables{ KeyValues: map[string]string{ "ISTIO_META_WASM_PLUGIN_RESOURCE_VERSION": "", }, }, }, }, }, }) networkFilter := protoconv.MessageToAny(&networkwasm.Wasm{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 09:02:11 UTC 2024 - 5.6K bytes - Viewed (0) -
pilot/pkg/model/extensions_test.go
expected: &wasmextensions.PluginConfig_VmConfig{ VmConfig: &wasmextensions.VmConfig{ Runtime: defaultRuntime, EnvironmentVariables: &wasmextensions.EnvironmentVariables{ KeyValues: map[string]string{ WasmSecretEnv: "secret-name", WasmResourceVersionEnv: "dummy-resource-version", }, }, }, }, }, {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 22:20:44 UTC 2024 - 14.4K bytes - Viewed (0) -
pkg/wasm/convert_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 13.6K bytes - Viewed (0) -
src/net/lookup_test.go
origTestHookLookupIP := testHookLookupIP defer func() { testHookLookupIP = origTestHookLookupIP }() keyValues := []struct { key, value any }{ {"key-1", 12}, {384, "value2"}, {new(float64), 137}, } ctx := context.Background() for _, kv := range keyValues { ctx = context.WithValue(ctx, kv.key, kv.value) } wantIPs := []IPAddr{ {IP: IPv4(127, 0, 0, 1)},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 41.4K bytes - Viewed (0) -
pilot/pkg/xds/debug.go
continue } // Redact Wasm secret env variable. vmenvs := w.GetConfig().GetVmConfig().EnvironmentVariables if vmenvs != nil { if _, found := vmenvs.KeyValues[model.WasmSecretEnv]; found { vmenvs.KeyValues[model.WasmSecretEnv] = "<Redacted>" } } dumps[resourceType] = append(dumps[resourceType], &discoveryv3.Resource{ Name: w.Config.Name,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Apr 30 00:26:45 UTC 2024 - 39.5K bytes - Viewed (0)