Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 18 of 18 for preFunc (0.37 sec)

  1. istioctl/pkg/proxystatus/proxystatus.go

    		return nil, err
    	}
    	return data, nil
    }
    
    func StableXdsStatusCommand(ctx cli.Context) *cobra.Command {
    	cmd := XdsStatusCommand(ctx)
    	unstableFlags := []string{"xds-via-agents", "xds-via-agents-limit"}
    	cmd.PreRunE = func(cmd *cobra.Command, args []string) error {
    		for _, flag := range unstableFlags {
    			if cmd.PersistentFlags().Changed(flag) {
    				return fmt.Errorf("--%s is experimental. Use `istioctl experimental ps --%s`", flag, flag)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. src/cmd/cover/cfg_test.go

    		t.Fatal(err)
    	}
    
    	scenarios := []struct {
    		mode, gran string
    	}{
    		{
    			mode: "count",
    			gran: "perblock",
    		},
    		{
    			mode: "set",
    			gran: "perfunc",
    		},
    		{
    			mode: "regonly",
    			gran: "perblock",
    		},
    	}
    
    	var incfg string
    	apkgfiles := []string{filepath.Join(tpath, "a", "a.go")}
    	for _, scenario := range scenarios {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 12:51:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. tools/istio-iptables/pkg/cmd/root.go

    	cmd := &cobra.Command{
    		Use:   "istio-iptables",
    		Short: "Set up iptables rules for Istio Sidecar",
    		Long:  "istio-iptables is responsible for setting up port forwarding for Istio Sidecar.",
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if err := log.Configure(logOpts); err != nil {
    				return err
    			}
    			return nil
    		},
    		Run: func(cmd *cobra.Command, args []string) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  4. cni/pkg/cmd/root.go

    	}()
    )
    
    var rootCmd = &cobra.Command{
    	Use:          "install-cni",
    	Short:        "Install and configure Istio CNI plugin on a node, detect and repair pod which is broken by race condition.",
    	SilenceUsage: true,
    	PreRunE: func(c *cobra.Command, args []string) error {
    		if err := istiolog.Configure(logOptions); err != nil {
    			log.Errorf("Failed to configure log %v", err)
    		}
    		return nil
    	},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  5. src/internal/coverage/defs.go

    	CtrGranularityPerBlock
    	CtrGranularityPerFunc
    )
    
    func (cm CounterGranularity) String() string {
    	switch cm {
    	case CtrGranularityPerBlock:
    		return "perblock"
    	case CtrGranularityPerFunc:
    		return "perfunc"
    	}
    	return "<invalid>"
    }
    
    // Name of file within the "go test -cover" temp coverdir directory
    // containing a list of meta-data files for packages being tested
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  6. operator/cmd/mesh/install.go

      istioctl install --set "values.sidecarInjectorWebhook.injectedAnnotations.container\.apparmor\.security\.beta\.kubernetes\.io/istio-proxy=runtime/default"
    `,
    		Args: cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if !labels.IsDNS1123Label(iArgs.Revision) && cmd.PersistentFlags().Changed("revision") {
    				return fmt.Errorf("invalid revision specified: %v", iArgs.Revision)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. istioctl/pkg/workload/workload.go

    				return err
    			}
    			fmt.Printf("Configuration generation into directory %s was successful\n", outputDir)
    			return nil
    		},
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if len(internalIP) > 0 && len(externalIP) > 0 {
    				return fmt.Errorf("the flags --internalIP and --externalIP are mutually exclusive")
    			}
    			return nil
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  8. src/encoding/json/testdata/code.json.gz

    ,"cl_weight":0.01694915254237288,"touches":1,"min_t":1258418412,"max_t":1258418412,"mean_t":1258418412},{"name":"win32err.h","kids":[],"cl_weight":0.01694915254237288,"touches":1,"min_t":1258418412,"max_t":1258418412,"mean_t":1258418412},{"name":"preenc.h","kids":[],"cl_weight":0.01694915254237288,"touches":1,"min_t":1258418412,"max_t":1258418412,"mean_t":1258418412},{"name":"ssl.rc","kids":[],"cl_weight":0.01694915254237288,"touches":1,"min_t":1258418412,"max_t":1258418412,"mean_t":1258418412},...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 25 04:02:36 UTC 2016
    - 117.6K bytes
    - Viewed (0)
Back to top