Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for Brune (0.15 sec)

  1. istioctl/pkg/precheck/precheck.go

      istioctl x precheck
    
      # Check only a single namespace
      istioctl x precheck --namespace default
    
      # Check for behavioral changes since a specific version
      istioctl x precheck --from-version 1.10`,
    		RunE: func(cmd *cobra.Command, args []string) (err error) {
    			msgs := diag.Messages{}
    			if !skipControlPlane {
    				msgs, err = checkControlPlane(ctx)
    				if err != nil {
    					return err
    				}
    			}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  2. cmd/metrics-v2.go

    		// add underscore if last letter is capital letter
    		// add underscore when previous letter is lowercase
    		// add underscore when next letter is lowercase
    		if (i != 0 || i == l-1) && ((i > 0 && rune(camel[i-1]) >= 'a') ||
    			(i < l-1 && rune(camel[i+1]) >= 'a')) {
    			b.WriteRune('_')
    		}
    		b.WriteRune(v + 'a' - 'A')
    	}
    	return b.String()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    							w.Header().Set(k, v)
    						}
    
    						if opts.PartNumber > 0 && strings.Contains(ci.ETag, "-") {
    							w.Header()[xhttp.AmzMpPartsCount] = []string{
    								strings.TrimLeftFunc(ci.ETag, func(r rune) bool {
    									return !unicode.IsNumber(r)
    								}),
    							}
    						}
    
    						// For providing ranged content
    						start, rangeLen, err := rs.GetOffsetLength(ci.Size)
    						if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  4. istioctl/pkg/proxyconfig/proxyconfig.go

    			if (len(args) == 1) != (configDumpFile == "") {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("cluster requires pod name or --file parameter")
    			}
    			return nil
    		},
    		RunE: func(c *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			var configWriter *configdump.ConfigWriter
    			if len(args) == 1 {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-diff.go

      istioctl profile diff default demo`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 2 {
    				return fmt.Errorf("diff requires two profiles")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			isdifferent, err := profileDiff(cmd, pfArgs, args)
    			if err != nil {
    				return err
    			}
    			if isdifferent {
    				os.Exit(1)
    			}
    			return nil
    		},
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  6. operator/cmd/mesh/operator-remove.go

    				return fmt.Errorf("at least one of the --revision or --purge flags must be set")
    			}
    			if len(args) > 0 {
    				return fmt.Errorf("istioctl operator remove does not take arguments")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    			l := clog.NewConsoleLogger(cmd.OutOrStdout(), cmd.OutOrStderr(), installerScope)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  7. istioctl/pkg/authz/authz.go

    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) > 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("check requires only <pod-name>[.<pod-namespace>]")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %w", err)
    			}
    			var configDump *configdump.Wrapper
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  8. istioctl/pkg/metrics/metrics.go

    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) < 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("metrics requires workload name")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return run(cmd, ctx, args)
    		},
    		DisableFlagsInUseLine: true,
    		ValidArgsFunction:     completion.ValidPodsNameArgs(ctx),
    	}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  9. istioctl/pkg/admin/istiodconfig.go

    			}
    			if istiodReset && stackTraceLevel != "" {
    				logCmd.Println(logCmd.UsageString())
    				return fmt.Errorf("--stack-trace-level cannot be combined with --reset")
    			}
    			return nil
    		},
    		RunE: func(logCmd *cobra.Command, args []string) error {
    			client, err := ctx.CLIClientWithRevision(opts.Revision)
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    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)
  10. src/cmd/api/main_test.go

    			// TODO(gri) change to "ideal-rune"
    			s = "ideal-char"
    		case types.UntypedFloat:
    			s = "ideal-float"
    		case types.UntypedComplex:
    			s = "ideal-complex"
    		case types.UntypedString:
    			s = "ideal-string"
    		case types.UntypedNil:
    			panic("should never see untyped nil type")
    		default:
    			switch s {
    			case "byte":
    				s = "uint8"
    			case "rune":
    				s = "int32"
    			}
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top