Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for AllDiscoveryDo (0.17 sec)

  1. istioctl/pkg/proxyconfig/clusters.go

    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return err
    			}
    			res, err := kubeClient.AllDiscoveryDo(context.Background(), ctx.IstioNamespace(), "debug/clusterz")
    			if err != nil {
    				return err
    			}
    			return writeMulticlusterStatus(cmd.OutOrStdout(), res)
    		},
    	}
    	opts.AttachControlPlaneFlags(cmd)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/mock_client.go

    	Results map[string][]byte
    	kube.CLIClient
    }
    
    func (c MockClient) NewPortForwarder(_, _, _ string, _, _ int) (kube.PortForwarder, error) {
    	return MockPortForwarder{}, nil
    }
    
    func (c MockClient) AllDiscoveryDo(_ context.Context, _, _ string) (map[string][]byte, error) {
    	return c.Results, nil
    }
    
    func (c MockClient) EnvoyDo(ctx context.Context, podName, podNamespace, method, path string) ([]byte, error) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top