Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for baz (0.11 sec)

  1. istioctl/pkg/metrics/metrics.go

      istioctl experimental metrics productpage-v1 -d 2m
    
      # Retrieve workload metrics for various services in the different namespaces
      istioctl experimental metrics productpage-v1.foo reviews-v1.bar ratings-v1.baz`,
    		// nolint: goimports
    		Aliases: []string{"m"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) < 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("metrics requires workload name")
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/table/writer_test.go

    				NewCell(o.version),
    			},
    		}
    	})
    	w.AddRow(newTestObject("foo", "bar", "1.0"))
    	w.AddRow(newTestObject("baz", "qux", "2.0"))
    	w.AddRow(newTestObject("qux", "quux", "3"))
    	w.Flush()
    	expected := "NAME  NAMESPACE      VERSION\n" +
    		"foo   \x1b[32mbar\x1b[0m            1.0\n" +
    		"baz   \x1b[32mqux\x1b[0m            2.0\n" +
    		"qux   \x1b[32mquux\x1b[0m           3\n"
    	if got.String() != expected {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Oct 08 04:41:42 GMT 2022
    - 1.6K bytes
    - Viewed (0)
Back to top