- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 45 for CLIClient (0.18 sec)
-
istioctl/pkg/completion/completion.go
"istio.io/istio/istioctl/pkg/cli" "istio.io/istio/pkg/kube" ) func getPodsNameInDefaultNamespace(ctx cli.Context, toComplete string) ([]string, error) { client, err := ctx.CLIClient() if err != nil { return nil, err } ns := ctx.NamespaceOrDefault(ctx.Namespace()) podList, err := client.Kube().CoreV1().Pods(ns).List(context.Background(), metav1.ListOptions{}) if err != nil {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.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" }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 16 03:28:36 GMT 2024 - 48K bytes - Viewed (0) -
operator/cmd/mesh/operator-remove.go
client, err := ctx.CLIClient() if err != nil { return err } l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.OutOrStderr(), installerScope) operatorRemove(cmd, client, rootArgs, orArgs, l) return nil }, } } // operatorRemove removes the Istio operator controller from the cluster.
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.4K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
ns string, serviceAccount string, kubeClient kube.CLIClient, options Options, ) (map[string]*discovery.DiscoveryResponse, error) { return MultiRequestAndProcessXds(false, dr, centralOpts, istioNamespace, ns, serviceAccount, kubeClient, options) } type xdsAddr struct { gcpProject, host, istiod string } func getXdsAddressFromWebhooks(client kube.CLIClient) (*xdsAddr, error) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Mar 08 08:38:19 GMT 2024 - 13.6K bytes - Viewed (0) -
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("") }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 6.4K bytes - Viewed (0) -
operator/cmd/mesh/operator-init.go
client, err := ctx.CLIClient() if err != nil { return err } l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.ErrOrStderr(), installerScope) operatorInit(client, rootArgs, oiArgs, l) return nil }, } } // operatorInit installs the Istio operator controller into the cluster. func operatorInit(cliClient kube.CLIClient, args *RootArgs, oiArgs *operatorInitArgs, l clog.Logger) {
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 6.2K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
if err != nil { t.Fatal(err) } if diff := util.YAMLDiff(wantYAML, gotYAML); diff != "" { t.Fatalf("diff: %s", diff) } } func MockKubernetesClients(_ kube.CLIClient, _ clog.Logger) (kube.CLIClient, client.Client, error) { extendedClient = kube.NewFakeClient() kubeClient, _ = client.New(&rest.Config{}, client.Options{}) return extendedClient, kubeClient, nil }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate.go
} return nil }, RunE: func(cmd *cobra.Command, args []string) error { if kubeClientFunc == nil { kubeClientFunc = ctx.CLIClient } var kubeClient kube.CLIClient if mgArgs.EnableClusterSpecific { kc, err := kubeClientFunc() if err != nil { return err } kubeClient = kc }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 8.5K bytes - Viewed (0) -
istioctl/pkg/kubeinject/kubeinject.go
"istio.io/istio/pkg/version" ) const ( configMapKey = "mesh" injectConfigMapKey = "config" valuesConfigMapKey = "values" ) type ExternalInjector struct { client kube.CLIClient clientConfig *admissionregistration.WebhookClientConfig injectorAddress string } func (e ExternalInjector) Inject(pod *corev1.Pod, deploymentNS string) ([]byte, error) { cc := e.clientConfig if cc == nil {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Mar 29 02:29:02 GMT 2024 - 21.6K bytes - Viewed (0) -
operator/cmd/mesh/install.go
return fmt.Errorf("invalid revision specified: %v", iArgs.Revision) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { kubeClient, err := ctx.CLIClient() if err != nil { return err } l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.ErrOrStderr(), installerScope) p := NewPrinterForWriter(cmd.OutOrStderr())
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 15.2K bytes - Viewed (0)