Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 142 for setInt (0.15 sec)

  1. istioctl/pkg/util/testutil/util.go

    	WantException bool
    }
    
    func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) {
    	t.Helper()
    
    	cmd.SetArgs(c.Args)
    
    	var out bytes.Buffer
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.ExpectedOutput != "" && c.ExpectedOutput != output {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. istioctl/pkg/proxystatus/proxystatus_test.go

    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe_test.go

    		}
    	}
    
    	if c.configDumps == nil {
    		c.configDumps = map[string][]byte{}
    	}
    
    	var out bytes.Buffer
    	rootCmd := Cmd(ctx)
    	rootCmd.SetArgs(c.args)
    
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	if c.namespace != "" {
    		describeNamespace = c.namespace
    	}
    
    	fErr := rootCmd.Execute()
    	output := out.String()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. istioctl/pkg/writer/pilot/testdata/multiStatusMultiPilot.txt

    proxy1     cluster1     STALE                          SYNCED       SYNCED                         NOT SENT     NOT SENT     istiod1     1.1
    proxy2     cluster2     STALE                          SYNCED       STALE                          SYNCED       NOT SENT     istiod2     1.1
    proxy3     cluster3     STALE (Never Acknowledged)     NOT SENT     STALE (Never Acknowledged)     SYNCED       NOT SENT     istiod3     1.1
    Plain Text
    - Registered: Wed Mar 06 22:53:12 GMT 2024
    - Last Modified: Tue Mar 21 14:27:21 GMT 2023
    - 709 bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/ztunnelserver_test.go

    	// send ack so the server doesn't wait for us.
    	sendAck(ztunClient)
    
    	// second message should be the snap sent message
    	m, fds = readRequest(t, ztunClient)
    	assert.Equal(t, len(fds), 0)
    
    	sent := m.Payload.(*zdsapi.WorkloadRequest_SnapshotSent).SnapshotSent
    	if sent == nil {
    		panic("expected snapshot sent")
    	}
    	sendAck(ztunClient)
    	ztunClient.Close()
    	// this will retry for a bit, so shouldn't flake
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  6. istioctl/pkg/clioptions/central.go

    		"XDS Endpoint certificate directory")
    	cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "",
    		"Istiod pod label selector")
    	cmd.PersistentFlags().IntVar(&o.XdsPodPort, "xds-port", viper.GetInt("XDS-PORT"),
    		"Istiod pod port")
    	cmd.PersistentFlags().DurationVar(&o.Timeout, "timeout", time.Second*30,
    		"The duration to wait before failing")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Jun 06 03:39:27 GMT 2022
    - 3.2K bytes
    - Viewed (0)
  7. istioctl/pkg/writer/pilot/testdata/multiXdsStatusMultiPilot.txt

    proxy1     cluster1     STALE        SYNCED      SYNCED      NOT SENT     SYNCED       istiod1     1.20
    proxy2     cluster2     STALE        SYNCED      STALE       SYNCED       STALE        istiod2     1.19
    proxy3     cluster3     NOT SENT     ERROR       STALE       NOT SENT     NOT SENT     istiod3     1.20
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Mar 06 03:42:52 GMT 2024
    - 522 bytes
    - Viewed (0)
  8. istioctl/pkg/writer/pilot/status_test.go

    						clusterID:      "cluster3",
    						version:        "1.20",
    						cdsSyncStatus:  status.ConfigStatus_NOT_SENT,
    						ldsSyncStatus:  status.ConfigStatus_ERROR,
    						rdsSyncStatus:  status.ConfigStatus_NOT_SENT,
    						edsSyncStatus:  status.ConfigStatus_STALE,
    						ecdsSyncStatus: status.ConfigStatus_NOT_SENT,
    					},
    				}),
    				"istiod4": xdsResponseInput("istiod4", []clientConfigInput{
    					{
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  9. istioctl/cmd/root_test.go

    	_ = parent.PersistentFlags().String(parentFlag0, "", parentFlag0)
    	_ = parent.PersistentFlags().String(parentFlag1, "", parentFlag1)
    	_ = parent.PersistentFlags().String(parentFlag2, "", parentFlag2)
    	var out bytes.Buffer
    	parent.SetOut(&out)
    	parent.SetErr(&out)
    
    	child := &cobra.Command{
    		Use: "child",
    		Run: func(c *cobra.Command, args []string) {},
    	}
    	_ = parent.PersistentFlags().String(childFlag2, "", childFlag2)
    	parent.AddCommand(child)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 15 17:59:55 GMT 2021
    - 2.4K bytes
    - Viewed (0)
  10. istioctl/pkg/waypoint/waypoint_test.go

    			}
    			expectedOut := string(defaultFile)
    			if len(expectedOut) == 0 {
    				t.Fatal("expected output is empty")
    			}
    
    			var out bytes.Buffer
    			rootCmd := Cmd(ctx)
    			rootCmd.SetArgs(tt.args)
    			rootCmd.SetOut(&out)
    			rootCmd.SetErr(&out)
    
    			fErr := rootCmd.Execute()
    			if fErr != nil {
    				t.Fatal(fErr)
    			}
    			output := out.String()
    			if output != expectedOut {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 04 15:53:09 GMT 2024
    - 4.4K bytes
    - Viewed (0)
Back to top