- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for OutOrStdout (0.07 sec)
-
istioctl/pkg/proxyconfig/proxyconfig.go
return fmt.Errorf("unknown stats type %s", statsType) } fmt.Fprintf(c.OutOrStdout(), "\nThe result of pod %s:\n\n", podName) switch outputFormat { // convert the json output to yaml case yamlOutput: var out []byte if out, err = yaml.JSONToYAML([]byte(stats)); err != nil { return err } _, _ = fmt.Fprint(c.OutOrStdout(), string(out)) case jsonOutput: var prettyJSON bytes.Buffer
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/proxystatus/proxystatus.go
if err != nil { return err } multiXdsOpts.MessageWriter = c.OutOrStdout() if len(args) > 0 { podName, ns, err := ctx.InferPodInfoFromTypedResource(args[0], ctx.Namespace()) if err != nil { return err } if ambient.IsZtunnelPod(kubeClient, podName, ns) { _, _ = fmt.Fprintf(c.OutOrStdout(), "Sync diff is not available for ztunnel pod %s.%s\n", podName, ns) return nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
istioctl/pkg/dashboard/dashboard.go
if err != nil { return err } return portForward(name, namespace, "Prometheus", "http://%s", bindAddress, promPort, client, cmd.OutOrStdout(), browser) }, } return cmd } // port-forward to Istio System Grafana; open browser func grafanaDashCmd(ctx cli.Context) *cobra.Command { var opts clioptions.ControlPlaneOptions cmd := &cobra.Command{
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
} hooks := hooksList.Items pods, err := getPods(context.Background(), client) if err != nil { return err } err = printNS(cmd.OutOrStdout(), nsList, hooks, pods) if err != nil { return err } fmt.Fprintln(cmd.OutOrStdout()) injectedImages, err := getInjectedImages(context.Background(), client) if err != nil { return err }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Oct 18 11:39:52 UTC 2024 - 10.6K bytes - Viewed (0) -
istioctl/pkg/internaldebug/internal-debug.go
if err != nil { return err } sw := DebugWriter{ Writer: c.OutOrStdout(), InternalDebugAllIstiod: internalDebugAllIstiod, } newResponse, err := HandlerForDebugErrors(kubeClient, ¢ralOpts, c.OutOrStdout(), ctx.IstioNamespace(), xdsResponses) if err != nil { return err } if newResponse != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jul 12 11:30:24 UTC 2024 - 6.7K bytes - Viewed (0) -
istioctl/pkg/config/config.go
Use: "list", Short: "List istio configurable defaults", Args: cobra.ExactArgs(0), RunE: func(c *cobra.Command, _ []string) error { root.Scope.Debugf("Config file %q", root.IstioConfig) return runList(c.OutOrStdout()) }, } return listCmd } func runList(writer io.Writer) error { // Sort flag names keys := make([]string, len(settableFlags)) i := 0 for key := range settableFlags { keys[i] = key
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sun Jul 30 12:16:07 UTC 2023 - 3.1K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
if err != nil { return fmt.Errorf("failed to create Kubernetes client: %v", err) } return setTag(context.Background(), kubeClient, args[0], revision, ctx.IstioNamespace(), false, cmd.OutOrStdout(), cmd.OutOrStderr()) }, } cmd.PersistentFlags().BoolVar(&overwrite, "overwrite", false, overrideHelpStr) cmd.PersistentFlags().StringVarP(&manifestsPath, "manifests", "d", "", util.ManifestsFlagHelpStr)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 15:40:30 UTC 2024 - 16.5K bytes - Viewed (0) -
istioctl/pkg/analyze/analyze.go
// Print all the messages to stdout in the specified format output, err := formatting.Print(outputMessages, msgOutputFormat, colorize) if err != nil { return err } fmt.Fprintln(cmd.OutOrStdout(), output) // An extra message on success if len(outputMessages) == 0 { if parseErrors == 0 { if len(readers) > 0 { var files []string for _, r := range readers {
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/proxyconfig/clusters.go
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) return cmd } func writeMulticlusterStatus(out io.Writer, input map[string][]byte) error { statuses, err := parseClusterStatuses(input) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jun 15 15:02:17 UTC 2023 - 2.3K bytes - Viewed (0)