Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for dId (0.13 sec)

  1. istioctl/pkg/writer/envoy/configdump/configdump_test.go

    			}
    			err := cw.PrintBootstrapDump("json")
    			if tt.wantOutputFile != "" {
    				util.CompareContent(t, gotOut.Bytes(), tt.wantOutputFile)
    			}
    			if err == nil && tt.wantErr {
    				t.Errorf("PrintBootstrapDump (%v) did not produce expected err", tt.name)
    			} else if err != nil && !tt.wantErr {
    				t.Errorf("PrintBootstrapDump (%v) produced unexpected err: %v", tt.name, err)
    			}
    		})
    	}
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jan 03 23:08:06 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    			if tt.callPrime {
    				cw.Prime(cd)
    			}
    			if tt.wantOutputSecret != "" {
    				err := cw.PrintSecretSummary()
    				if err == nil && tt.wantErr {
    					t.Errorf("PrintSecretSummary (%v) did not produce expected err", tt.name)
    				} else if err != nil && !tt.wantErr {
    					t.Errorf("PrintSecretSummary (%v) produced unexpected err: %v", tt.name, err)
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 02 18:21:48 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  3. cni/pkg/install/kubeconfig_test.go

    				K8sServicePort:     c.k8sServicePort,
    				SkipTLSVerify:      c.skipTLSVerify,
    			}
    			result, err := createKubeConfig(cfg)
    			if err != nil {
    				if !c.expectedFailure {
    					t.Fatalf("did not expect failure: %v", err)
    				}
    				// Successful test case expecting failure
    				return
    			} else if c.expectedFailure {
    				t.Fatalf("expected failure")
    			}
    
    			goldenFilepath := "testdata/kubeconfig-tls"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Feb 08 03:52:24 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  4. istioctl/pkg/admin/istiodconfig.go

    	matched, err := regexp.MatchString(validationPattern, slp)
    	if err != nil {
    		return nil, err
    	}
    	if !matched {
    		return nil, fmt.Errorf("pattern %s did not match", slp)
    	}
    	scopeLogLevel := strings.Split(slp, ":")
    	s := &ScopeLevelPair{
    		scope:    scopeLogLevel[0],
    		logLevel: scopeLogLevel[1],
    	}
    	return s, nil
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/admission/v1beta1/generated.proto

    message AdmissionRequest {
      // UID is an identifier for the individual request/response. It allows us to distinguish instances of requests which are
      // otherwise identical (parallel requests, requests when earlier requests did not modify etc)
      // The UID is meant to track the round trip (request/response) between the KAS and the WebHook, not the user request.
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  6. cni/pkg/install/install_test.go

    					t.Fatal(err)
    				}
    			}
    
    			select {
    			case err := <-errChan:
    				if err != nil {
    					// An invalid configuration should return nil
    					// Either an invalid config did not return nil (which is an issue) or an unexpected error occurred
    					t.Fatal(err)
    				}
    				assert.Equal(t, isReady.Load(), false)
    			case <-time.After(5 * time.Second):
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/generate_test.go

    				tc.numWebhooks, len(wh.Webhooks))
    		}
    		tag, exists := wh.ObjectMeta.Labels[IstioTagLabel]
    		if !exists {
    			t.Errorf("expected tag webhook to have %s label, did not find", IstioTagLabel)
    		}
    		if tag != tc.tagName {
    			t.Errorf("expected tag webhook to have istio.io/tag=%s, found %s instead", tc.tagName, tag)
    		}
    
    		// ensure all webhooks have the correct client config
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:49 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/sds/writer_test.go

    func checkOutput(t *testing.T, output string, expected, unexpected []string) {
    	t.Helper()
    	for _, expected := range expected {
    		if !strings.Contains(output, expected) {
    			t.Errorf("expected %s included in writer output, did not find", expected)
    		}
    	}
    	for _, unexpected := range unexpected {
    		if strings.Contains(output, unexpected) {
    			t.Errorf("unexpected string %s included in writer output", unexpected)
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 29 20:42:01 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  9. cni/test/install_cni.go

    		retry.UntilSuccessOrFail(t, func() error {
    			if err := checkResult(resultFile, expectedOutputFile); err == nil {
    				// We should have waited for the delayed conf
    				return fmt.Errorf("did not wait for valid config file")
    			}
    			return nil
    		}, retry.Delay(time.Millisecond), retry.Timeout(time.Millisecond*250))
    		var destFilenm string
    		if preConfFile != "" {
    			destFilenm = preConfFile
    		} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin_test.go

    	// Create a kube client
    	client := kube.NewFakeClient(objects...)
    
    	mockRedir := &mockInterceptRuleMgr{}
    	err = doAddRun(args, conf, client.Kube(), mockRedir)
    	if err == nil {
    		t.Fatal("expected to fail, but did not!")
    	}
    
    	return mockRedir
    }
    
    func testDoAddRun(t *testing.T, stdinData, nsName string, objects ...runtime.Object) *mockInterceptRuleMgr {
    	args := buildCmdArgs(stdinData, testPodName, nsName)
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 15:58:51 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top