- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 693 for fprintf (0.11 sec)
-
istioctl/pkg/dashboard/dashboard.go
case "darwin": err = exec.Command("open", url).Start() default: fmt.Fprintf(writer, "Unsupported platform %q; open %s in your browser.\n", runtime.GOOS, url) } if err != nil { fmt.Fprintf(writer, "Failed to open browser; open %s in your browser.\n", url) } } func Dashboard(cliContext cli.Context) *cobra.Command { dashboardCmd := &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) -
cmd/erasure-coding.go
fmt.Fprintf(os.Stderr, "%v: error on self-test [d:%d,p:%d]: want %#v, got %#v\n", algo, conf[0], conf[1], a, b) ok = false continue } // Delete first shard and reconstruct... first := encoded[0] encoded[0] = nil failOnErr(e.DecodeDataBlocks(encoded)) if a, b := first, encoded[0]; !bytes.Equal(a, b) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jan 31 02:11:45 UTC 2024 - 8.6K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/clusters/clusters.go
} } clusterEndpoint = retrieveSortedEndpointClusterSlice(clusterEndpoint) fmt.Fprintln(w, "ENDPOINT\tSTATUS\tOUTLIER CHECK\tCLUSTER") for _, ce := range clusterEndpoint { var endpoint string if ce.port != 0 { endpoint = ce.address + ":" + strconv.Itoa(ce.port) } else { endpoint = ce.address }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Nov 03 08:41:32 UTC 2022 - 5.8K bytes - Viewed (0) -
istioctl/pkg/writer/envoy/configdump/endpoint.go
for _, llb := range eds.Endpoints { for _, ep := range llb.LbEndpoints { addr := strings.Join(retrieveEndpointAddresses(ep), ",") if includeConfigType { addr = fmt.Sprintf("endpoint/%s", addr) } fmt.Fprintf(w, "%v\t%v\t%v\t%v\n", addr, ep.GetHealthStatus().String(), util.LocalityToString(llb.Locality), eds.ClusterName, ) } } }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Mon Jul 22 09:57:29 UTC 2024 - 6.1K bytes - Viewed (0) -
misc/go_android_exec/main.go
var exitReStr strings.Builder for i := 1; i <= len(exitStr); i++ { fmt.Fprintf(&exitReStr, "%s$|", exitStr[:i]) } // Finally, match the exit string along with an exit code. // This is the only case we use a group, and we'll use this // group to extract the numeric code. fmt.Fprintf(&exitReStr, "%s([0-9]+)$", exitStr) exitRe := regexp.MustCompile(exitReStr.String())
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
src/cmd/api/main_test.go
if !ok { log.Printf("%s:%d: missing proposal approval\n", filename, i+1) exitCode = 1 } else { _, err := strconv.Atoi(approval) if err != nil { log.Printf("%s:%d: malformed proposal approval #%s\n", filename, i+1, approval) exitCode = 1 } } line = strings.TrimSpace(feature) } else { if strings.Contains(line, " #") {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Sep 04 18:16:59 UTC 2024 - 31.4K bytes - Viewed (0) -
istioctl/pkg/multixds/gather.go
} return &retval, nil } func makeSan(istioNamespace, revision string) string { if revision == "" { return fmt.Sprintf("istiod.%s.svc", istioNamespace) } return fmt.Sprintf("istiod-%s.%s.svc", revision, istioNamespace) } // AllRequestAndProcessXds returns all XDS responses from 1 central or 1..N K8s cluster-based XDS servers // nolint: lll
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 13.6K bytes - Viewed (0) -
istioctl/pkg/proxystatus/proxystatus.go
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 } var envoyDump []byte if configDumpFile != "" {
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/admin/istiodconfig.go
}, ) } switch ga.outputFormat { case "short": w := new(tabwriter.Writer).Init(out, 0, 8, 3, ' ', 0) _, _ = fmt.Fprintln(w, "ACTIVE SCOPE\tDESCRIPTION\tLOG LEVEL") for _, sll := range resultScopeLogLevel { _, _ = fmt.Fprintf(w, "%s\t%s\t%s\n", sll.ScopeName, sll.Description, sll.LogLevel) } return w.Flush() case "json", "yaml":
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 13.5K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
return err } out, warn, err := CreateRemoteSecret(client, opts) if err != nil { _, _ = fmt.Fprintf(c.OutOrStderr(), "error: %v\n", err) return err } if warn != nil { _, _ = fmt.Fprintf(c.OutOrStderr(), "warn: %v\n", warn) } _, _ = fmt.Fprint(c.OutOrStdout(), out) return nil }, } opts.addFlags(c.PersistentFlags()) return c }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Aug 15 16:31:46 UTC 2024 - 23.3K bytes - Viewed (0)