Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for KeyValues (0.23 sec)

  1. 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)
  2. 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)
Back to top