- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for AllDiscoveryDo (0.24 sec)
-
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: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 08 08:38:19 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/proxy/proxyinfo.go
func GetProxyInfo(kubeClient kube.CLIClient, istioNamespace string) (*[]istioVersion.ProxyInfo, error) { // Ask Pilot for the Envoy sidecar sync status, which includes the sidecar version info allSyncz, err := kubeClient.AllDiscoveryDo(context.TODO(), istioNamespace, "debug/syncz") if err != nil { return nil, err } pi := []istioVersion.ProxyInfo{} for _, syncz := range allSyncz { var sss []*sidecarSyncStatus
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jul 06 22:41:32 UTC 2023 - 2.1K bytes - Viewed (0) -
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: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2.3K bytes - Viewed (0) -
istioctl/pkg/wait/wait.go
kubeClient, err := ctx.CLIClientWithRevision(opts.Revision) if err != nil { return 0, 0, 0, err } path := fmt.Sprintf("debug/config_distribution?resource=%s", targetResource) pilotResponses, err := kubeClient.AllDiscoveryDo(context.TODO(), ctx.IstioNamespace(), path) if err != nil { return 0, 0, 0, fmt.Errorf("unable to query pilot for distribution "+ "(are you using pilot version >= 1.4 with config distribution tracking on): %s", err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Feb 17 12:24:17 UTC 2024 - 10.1K bytes - Viewed (1) -
pkg/kube/client.go
EnvoyDoWithPort(ctx context.Context, podName, podNamespace, method, path string, port int) ([]byte, error) // AllDiscoveryDo makes a http request to each Istio discovery instance. AllDiscoveryDo(ctx context.Context, namespace, path string) (map[string][]byte, error) // GetIstioVersions gets the version for each Istio control plane component.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 25 14:44:17 UTC 2024 - 39K bytes - Viewed (0)