Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for EnvoyGet (0.2 sec)

  1. tools/bug-report/pkg/kubectlcmd/kubectlcmd.go

    	r.addRunningTask(task)
    	defer r.removeRunningTask(task)
    	return r.Client.PodLogs(context.TODO(), pod, namespace, container, previous)
    }
    
    // EnvoyGet sends a GET request for the URL in the Envoy container in the given namespace/pod and returns the result.
    func (r *Runner) EnvoyGet(namespace, pod, url string, dryRun bool) (string, error) {
    	if dryRun {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 16 01:18:03 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. tools/bug-report/pkg/content/content.go

    		return nil, fmt.Errorf("getProxyInfo requires namespace and pod")
    	}
    	ret := make(map[string]string)
    	for _, url := range common.ProxyDebugURLs(p.ClusterVersion) {
    		out, err := p.Runner.EnvoyGet(p.Namespace, p.Pod, url, p.DryRun)
    		if err != nil {
    			errs = multierror.Append(errs, err)
    			continue
    		}
    		ret[url] = out
    	}
    	if errs.ErrorOrNil() != nil {
    		return nil, errs
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 18:47:53 UTC 2023
    - 9.7K bytes
    - Viewed (0)
Back to top