- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for CLIClient (0.26 sec)
-
istioctl/pkg/cli/context.go
cliclient = kube.NewFakeClient(f.objects...) } if rev != "" { kube.SetRevisionForTest(cliclient, rev) } c := MockClient{ CLIClient: cliclient, Results: f.results, } f.clients[rev] = c } return f.clients[rev], nil } func (f *fakeInstance) CLIClient() (kube.CLIClient, error) { return f.CLIClientWithRevision("") }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 23 19:31:32 UTC 2024 - 8.9K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig.go
"error": ErrorLevel, "critical": CriticalLevel, "off": OffLevel, } var ( loggerLevelString = "" reset = false ) func extractConfigDump(kubeClient kube.CLIClient, podName, podNamespace string, eds bool) ([]byte, error) { path := "config_dump" if eds { path += "?include_eds=true" }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 15:53:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/precheck/precheck.go
return nil, err } if err := checkTracing(cli, &messages); err != nil { return nil, err } } return messages, nil } func checkTracing(cli kube.CLIClient, messages *diag.Messages) error { // In 1.22, we remove the default tracing config which points to zipkin.istio-system // This has no effect for users, unless they have this service.
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 02:31:32 UTC 2024 - 15.3K bytes - Viewed (0) -
istioctl/pkg/describe/describe.go
if len(args) != 1 { return fmt.Errorf("expecting pod name") } podName, ns := handlers.InferPodInfo(args[0], ctx.NamespaceOrDefault("")) client, err := ctx.CLIClient() if err != nil { return err } pod, err := client.Kube().CoreV1().Pods(ns).Get(context.TODO(), podName, metav1.GetOptions{}) if err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 50.6K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
if useKube { // apply default namespace if not specified and useKube is true selectedNamespace = ctx.NamespaceOrDefault(selectedNamespace) if selectedNamespace != "" { client, err := ctx.CLIClient() if err != nil { return err } _, err = client.Kube().CoreV1().Namespaces().Get(context.TODO(), selectedNamespace, metav1.GetOptions{}) if errors.IsNotFound(err) {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 31 06:53:50 UTC 2024 - 17.6K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
IstioNamespace: "istio-system", Objects: c.objs, Namespace: testNamespace, Version: c.k8sMinorVersion, }) client, err := ctx.CLIClient() if err != nil { tt.Fatalf("failed to create client: %v", err) } got, _, err := CreateRemoteSecret(client, opts) if c.wantErrStr != "" { if err == nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Oct 24 17:36:49 UTC 2024 - 20.7K bytes - Viewed (0)