Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNodeMetadataEncodeEnvWithIstioMetaPrefix (0.25 sec)

  1. pkg/bootstrap/instance_test.go

    	jsonStr, err := json.Marshal(data)
    	if err != nil {
    		t.Fatalf("failed to marshal %s %v: %v", name, data, err)
    	}
    	return IstioMetaJSONPrefix + name + "=" + string(jsonStr)
    }
    
    func TestNodeMetadataEncodeEnvWithIstioMetaPrefix(t *testing.T) {
    	originalKey := "foo"
    	notIstioMetaKey := "NOT_AN_" + IstioMetaPrefix + originalKey
    	anIstioMetaKey := IstioMetaPrefix + originalKey
    	envs := []string{
    		notIstioMetaKey + "=bar",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 19.5K bytes
    - Viewed (0)
Back to top