Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 28 of 28 for execute (0.14 sec)

  1. istioctl/pkg/proxystatus/proxystatus_test.go

    	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 {
    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    
    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)
  2. istioctl/pkg/describe/describe.go

    	for _, pod := range pods.Items {
    		byConfigDump, err := client.EnvoyDo(context.TODO(), pod.Name, pod.Namespace, "GET", "config_dump")
    		if err != nil {
    			return fmt.Errorf("failed to execute command on ingress gateway sidecar: %v", err)
    		}
    		cd := configdump.Wrapper{}
    		err = cd.UnmarshalJSON(byConfigDump)
    		if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  3. internal/ioutil/ioutil.go

    	val V
    	err error
    }
    
    // DeadlineWriter deadline writer with timeout
    type DeadlineWriter struct {
    	io.WriteCloser
    	timeout time.Duration
    	err     error
    }
    
    // WithDeadline will execute a function with a deadline and return a value of a given type.
    // If the deadline/context passes before the function finishes executing,
    // the zero value and the context error is returned.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 19 11:26:59 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. istioctl/pkg/describe/describe_test.go

    	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()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    		t.Fatalf("Unexpected output for 'istioctl %s'\n got: %q\nwant: %q", strings.Join(c.args, " "), output, c.expectedOutput)
    	}
    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)
  5. istioctl/pkg/metrics/metrics.go

    		Long: `
    Prints the metrics for the specified service(s) when running in Kubernetes.
    
    This command finds a Prometheus pod running in the specified istio system
    namespace. It then executes a series of queries per requested workload to
    find the following top-level workload metrics: total requests per second,
    error rate, and request latency at p50, p90, and p99 percentiles. The
    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)
  6. istioctl/pkg/analyze/analyze.go

    					for _, a := range result.SkippedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    				if len(result.ExecutedAnalyzers) > 0 {
    					fmt.Fprintln(cmd.ErrOrStderr(), "Executed analyzers:")
    					for _, a := range result.ExecutedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    				fmt.Fprintln(cmd.ErrOrStderr())
    			}
    
    			// Get messages for output
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  7. cmd/xl-storage_test.go

    		t.Fatalf("Unable to create file, %s", err.Error())
    	}
    	// Parent directory must have write permissions, this is read + execute.
    	if err = os.Chmod(pathJoin(path, "no-permissions"), 0o555); err != nil {
    		t.Fatalf("Unable to chmod directory, %s", err.Error())
    	}
    	t.Cleanup(func() {
    		os.Chmod(pathJoin(path, "no-permissions"), 0o775)
    	})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
  8. internal/bucket/replication/replication.go

    			}
    			if rule.ExistingObjectReplication.Status == Enabled {
    				return true, true
    			}
    		}
    	}
    	return hasARN, false
    }
    
    // FilterActionableRules returns the rules actions that need to be executed
    // after evaluating prefix/tag filtering
    func (c Config) FilterActionableRules(obj ObjectOpts) []Rule {
    	if obj.Name == "" && !(obj.OpType == ResyncReplicationType || obj.OpType == AllReplicationType) {
    		return nil
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top