Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for EnvoyDoWithPort (0.14 sec)

  1. istioctl/pkg/cli/mock_client.go

    	results, ok := c.Results[podName]
    	if !ok {
    		return nil, fmt.Errorf("unable to retrieve Pod: pods %q not found", podName)
    	}
    	return results, nil
    }
    
    func (c MockClient) EnvoyDoWithPort(ctx context.Context, podName, podNamespace, method, path string, port int) ([]byte, error) {
    	results, ok := c.Results[podName]
    	if !ok {
    		return nil, fmt.Errorf("unable to retrieve Pod: pods %q not found", podName)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig.go

    )
    
    func extractConfigDump(kubeClient kube.CLIClient, podName, podNamespace string, eds bool) ([]byte, error) {
    	path := "config_dump"
    	if eds {
    		path += "?include_eds=true"
    	}
    	debug, err := kubeClient.EnvoyDoWithPort(context.TODO(), podName, podNamespace, "GET", path, proxyAdminPort)
    	if err != nil {
    		return nil, fmt.Errorf("failed to execute command on %s.%s sidecar: %v", podName, podNamespace, err)
    	}
    	return debug, err
    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 16 03:28:36 UTC 2024
    - 48K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	path := "logging"
    	if param != "" {
    		path = path + "?" + param
    	}
    	// "Envoy" applies despite this being ztunnel
    	result, err := kubeClient.EnvoyDoWithPort(context.TODO(), podName, podNamespace, "POST", path, port)
    	if err != nil {
    		return "", fmt.Errorf("failed to execute command on Ztunnel: %v", err)
    	}
    	return string(result), nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. pkg/kube/client.go

    	// EnvoyDo makes a http request to the Envoy in the specified pod.
    	EnvoyDo(ctx context.Context, podName, podNamespace, method, path string) ([]byte, error)
    
    	// EnvoyDoWithPort makes a http request to the Envoy in the specified pod and port.
    	EnvoyDoWithPort(ctx context.Context, podName, podNamespace, method, path string, port int) ([]byte, error)
    
    	// AllDiscoveryDo makes a http request to each Istio discovery instance.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
Back to top