Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 604 for fmt (0.15 sec)

  1. istioctl/pkg/writer/envoy/configdump/cluster.go

    				if subset == "" {
    					subset = "-"
    				}
    				if includeConfigType {
    					c.Name = fmt.Sprintf("cluster/%s", c.Name)
    					_, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%v\t%s\t%s\n", c.Name, fqdn, port, subset, direction, c.GetType(),
    						describeManagement(c.GetMetadata()))
    				} else {
    					_, _ = fmt.Fprintf(w, "%v\t%v\t%v\t%v\t%s\t%s\n", fqdn, port, subset, direction, c.GetType(),
    						describeManagement(c.GetMetadata()))
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu May 11 05:38:17 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. docs/debugging/inspect/decrypt-v2.go

    					return errors.New("incorrect private key")
    				}
    				if err := stream.Skip(); err != nil {
    					return fmt.Errorf("stream skip: %w", err)
    				}
    				continue
    			}
    			if extracted {
    				return keepFileErr{fmt.Errorf("next stream: %w", err)}
    			}
    			return fmt.Errorf("next stream: %w", err)
    		}
    		if stream.Name == "inspect.zip" {
    			if extracted {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 11 21:22:47 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  3. istioctl/pkg/kubeinject/kubeinject.go

    		if err != nil {
    			return nil, err
    		}
    		namespace, selector, err := polymorphichelpers.SelectorsForObject(svc)
    		if err != nil {
    			if e.injectorAddress == "" {
    				return nil, fmt.Errorf("cannot attach to %T: %v", svc, err)
    			}
    			address = fmt.Sprintf("https://%s:%d%s", e.injectorAddress, *cc.Service.Port, *cc.Service.Path)
    		} else {
    			pod, err := GetFirstPod(e.client.Kube().CoreV1(), namespace, selector.String())
    			if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  4. istioctl/pkg/analyze/analyze.go

    				if len(result.SkippedAnalyzers) > 0 {
    					fmt.Fprintln(cmd.ErrOrStderr(), "Skipped analyzers:")
    					for _, a := range result.SkippedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    				if len(result.ExecutedAnalyzers) > 0 {
    					fmt.Fprintln(cmd.ErrOrStderr(), "Executed analyzers:")
    					for _, a := range result.ExecutedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  5. internal/s3select/sql/funceval.go

    	case float64:
    		return fmt.Sprintf("%v", x), nil
    	case int64:
    		return fmt.Sprintf("%v", x), nil
    	case string:
    		return x, nil
    	case []byte:
    		return string(x), nil
    	case bool:
    		return fmt.Sprintf("%v", x), nil
    	case nil:
    		// FIXME: verify this case is correct
    		return "NULL", nil
    	}
    	// This does not happen
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 13.2K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/tag.go

    			if len(args) == 0 {
    				return fmt.Errorf("must provide a tag for modification")
    			}
    			if len(args) > 1 {
    				return fmt.Errorf("must provide a single tag for creation")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    				return fmt.Errorf("failed to create Kubernetes client: %v", err)
    			}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  7. cni/pkg/config/config.go

    	b.WriteString("LogUDSAddress: " + fmt.Sprint(c.LogUDSAddress) + "\n")
    
    	b.WriteString("AmbientEnabled: " + fmt.Sprint(c.AmbientEnabled) + "\n")
    	b.WriteString("AmbientDNSCapture: " + fmt.Sprint(c.AmbientDNSCapture) + "\n")
    	b.WriteString("AmbientIPv6: " + fmt.Sprint(c.AmbientIPv6) + "\n")
    
    	return b.String()
    }
    
    func (c RepairConfig) String() string {
    	var b strings.Builder
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  8. operator/cmd/mesh/install.go

    	b.WriteString("InFilenames:      " + fmt.Sprint(a.InFilenames) + "\n")
    	b.WriteString("ReadinessTimeout: " + fmt.Sprint(a.ReadinessTimeout) + "\n")
    	b.WriteString("SkipConfirmation: " + fmt.Sprint(a.SkipConfirmation) + "\n")
    	b.WriteString("Force:            " + fmt.Sprint(a.Force) + "\n")
    	b.WriteString("Verify:           " + fmt.Sprint(a.Verify) + "\n")
    	b.WriteString("Set:              " + fmt.Sprint(a.Set) + "\n")
    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)
  9. cni/pkg/ipset/nldeps_linux.go

    		Replace:  replace,
    	})
    	if err != nil {
    		return fmt.Errorf("failed to add IP %s with and proto %d to ipset %s: %w", ip, ipProto, name, err)
    	}
    	return nil
    }
    
    func (m *realDeps) deleteIP(name string, ip netip.Addr, ipProto uint8) error {
    	err := netlink.IpsetDel(name, &netlink.IPSetEntry{
    		IP:       net.IP(ip.AsSlice()),
    		Protocol: &ipProto,
    	})
    	if err != nil {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  10. istioctl/pkg/proxyconfig/proxyconfig.go

    					return err
    				}
    			} else {
    				return fmt.Errorf("unknown stats type %s", statsType)
    			}
    
    			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))
    			default:
    				_, _ = fmt.Fprint(c.OutOrStdout(), stats)
    			}
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
Back to top