Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for Writer (0.19 sec)

  1. istioctl/pkg/tag/tag.go

    }
    
    // listTags lists existing revision.
    func listTags(ctx context.Context, kubeClient kubernetes.Interface, writer io.Writer) error {
    	tagWebhooks, err := GetRevisionWebhooks(ctx, kubeClient)
    	if err != nil {
    		return fmt.Errorf("failed to retrieve revision tags: %v", err)
    	}
    	if len(tagWebhooks) == 0 {
    		fmt.Fprintf(writer, "No Istio revision tag MutatingWebhookConfigurations to list\n")
    		return nil
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  2. istioctl/pkg/dashboard/dashboard.go

    		signal.Notify(signals, os.Interrupt)
    		defer signal.Stop(signals)
    		<-signals
    		fw.Close()
    	}()
    }
    
    func openBrowser(url string, writer io.Writer, browser bool) {
    	var err error
    
    	fmt.Fprintf(writer, "%s\n", url)
    
    	if !browser {
    		fmt.Fprint(writer, "skipping opening a browser")
    		return
    	}
    
    	switch runtime.GOOS {
    	case "linux":
    		err = exec.Command("xdg-open", url).Start()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  3. istioctl/pkg/admin/istiodconfig.go

    	"istio.io/istio/pkg/log"
    )
    
    type flagState interface {
    	run(out io.Writer) error
    }
    
    var (
    	_ flagState = (*resetState)(nil)
    	_ flagState = (*logLevelState)(nil)
    	_ flagState = (*stackTraceLevelState)(nil)
    	_ flagState = (*getAllLogLevelsState)(nil)
    )
    
    type resetState struct {
    	client *ControlzClient
    }
    
    func (rs *resetState) run(_ io.Writer) error {
    	const (
    		defaultOutputLevel     = "info"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  4. istioctl/pkg/waypoint/waypoint.go

    				List(context.Background(), metav1.ListOptions{})
    			if err != nil {
    				return err
    			}
    			if len(gws.Items) == 0 {
    				fmt.Fprintln(writer, "No waypoints found.")
    				return nil
    			}
    			w := new(tabwriter.Writer).Init(writer, 0, 8, 5, ' ', 0)
    			slices.SortFunc(gws.Items, func(i, j gateway.Gateway) int {
    				if r := cmp.Compare(i.Namespace, j.Namespace); r != 0 {
    					return r
    				}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 08 19:45:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. istioctl/pkg/proxyconfig/proxyconfig.go

    	"istio.io/istio/istioctl/pkg/completion"
    	"istio.io/istio/istioctl/pkg/kubeinject"
    	istioctlutil "istio.io/istio/istioctl/pkg/util"
    	sdscompare "istio.io/istio/istioctl/pkg/writer/compare/sds"
    	"istio.io/istio/istioctl/pkg/writer/envoy/clusters"
    	"istio.io/istio/istioctl/pkg/writer/envoy/configdump"
    	"istio.io/istio/operator/pkg/util"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/config/host"
    	"istio.io/istio/pkg/kube"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  6. istioctl/pkg/kubeinject/kubeinject.go

    						if err == nil {
    							err = errClose
    						}
    					}
    				}()
    			}
    
    			var writer io.Writer
    			if outFilename == "" {
    				writer = c.OutOrStdout()
    			} else {
    				var out *os.File
    				if out, err = os.Create(outFilename); err != nil {
    					return err
    				}
    				writer = out
    				defer func() {
    					if errClose := out.Close(); errClose != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  7. istioctl/pkg/multixds/gather.go

    	return fmt.Sprintf("no running Istio pods in %q", c.Namespace)
    }
    
    var _ error = ControlPlaneNotFoundError{}
    
    type Options struct {
    	// MessageWriter is a writer for displaying messages to users.
    	MessageWriter io.Writer
    
    	// XdsViaAgents accesses Istiod via the tap service of each agent.
    	// This is only used in `proxy-status` command.
    	XdsViaAgents bool
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  8. operator/cmd/mesh/install.go

    func InstallCmd(ctx cli.Context) *cobra.Command {
    	return InstallCmdWithArgs(ctx, &RootArgs{}, &InstallArgs{})
    }
    
    func Install(kubeClient kube.CLIClient, rootArgs *RootArgs, iArgs *InstallArgs, stdOut io.Writer, l clog.Logger, p Printer,
    ) error {
    	kubeClient, client, err := KubernetesClients(kubeClient, l)
    	if err != nil {
    		return err
    	}
    
    	tag, err := GetTagVersion(operatorVer.OperatorVersionString)
    	if err != nil {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu May 02 14:30:43 GMT 2024
    - 15.5K bytes
    - Viewed (1)
  9. manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml

          {{- end }}
    {{- end }}
    {{- end }}
      volumes:
      - emptyDir:
        name: workload-socket
      {{- if eq .Values.global.caName "GkeWorkloadCertificate" }}
      - name: gke-workload-certificate
        csi:
          driver: workloadcertificates.security.cloud.google.com
      {{- else }}
      - emptyDir:
        name: workload-certs
      {{- end }}
      {{- if (isset .ObjectMeta.Annotations `sidecar.istio.io/bootstrapOverride`) }}
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 26 16:51:17 GMT 2024
    - 12.1K bytes
    - Viewed (0)
  10. istioctl/pkg/analyze/analyze.go

    	return b.String()
    }
    
    func analyzeTargetAsString() string {
    	if allNamespaces {
    		return "all namespaces"
    	}
    	return fmt.Sprintf("namespace: %s", selectedNamespace)
    }
    
    // TODO: Refactor output writer so that it is smart enough to know when to output what.
    func isJSONorYAMLOutputFormat() bool {
    	return msgOutputFormat == formatting.JSONFormat || msgOutputFormat == formatting.YAMLFormat
    }
    
    type Client struct {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
Back to top