- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for preFunc (0.12 sec)
-
src/cmd/cover/cover.go
t = p.X star = "*" } if p, _ := t.(*ast.Ident); p != nil { fname = star + p.Name + "." + fname } } walkBody := true if *pkgcfg != "" { f.preFunc(n, fname) if pkgconfig.Granularity == "perfunc" { walkBody = false } } if walkBody { ast.Walk(f, n.Body) } if *pkgcfg != "" { flit := false f.postFunc(n, fname, flit, n.Body) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
src/cmd/internal/cov/covcmd/cmddefs.go
// when instrumentation is complete. OutConfig string // Import path for the package being instrumented. PkgPath string // Package name. PkgName string // Instrumentation granularity: one of "perfunc" or "perblock" (default) Granularity string // Module path for this package (empty if no go.mod in use) ModulePath string // Local mode indicates we're doing a coverage build or test of a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 30 16:13:15 UTC 2023 - 3.2K bytes - Viewed (0) -
pilot/cmd/pilot-discovery/app/cmd.go
SilenceUsage: true, FParseErrWhitelist: cobra.FParseErrWhitelist{ // Allow unknown flags for backward-compatibility. UnknownFlags: true, }, PreRunE: func(c *cobra.Command, args []string) error { cmd.AddFlags(c) return nil }, } discoveryCmd := newDiscoveryCommand() addFlags(discoveryCmd) rootCmd.AddCommand(discoveryCmd)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 8.5K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/request.go
var ( requestCmd = &cobra.Command{ Use: "request <method> <path> [<body>]", Short: "Makes an HTTP request to the Envoy admin API", Args: cobra.MinimumNArgs(2), PreRunE: func(cmd *cobra.Command, args []string) error { if !allowedPorts.Contains(debugRequestPort) { return fmt.Errorf("debug port %d is not in allowed list %v", debugRequestPort, sets.SortedList(allowedPorts)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 08 03:13:05 UTC 2023 - 2K bytes - Viewed (0) -
tools/istio-clean-iptables/pkg/cmd/root.go
cfg := config.DefaultConfig() cmd := &cobra.Command{ Use: "istio-clean-iptables", Short: "Clean up iptables rules for Istio Sidecar", Long: "Script responsible for cleaning up iptables rules", PreRunE: func(cmd *cobra.Command, args []string) error { if err := log.Configure(logOpts); err != nil { return err } return nil }, RunE: func(cmd *cobra.Command, args []string) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 17:46:23 UTC 2024 - 3K bytes - Viewed (0) -
operator/cmd/mesh/operator-init.go
return &cobra.Command{ Use: "init", Short: "Installs the Istio operator controller in the cluster.", Long: "The init subcommand installs the Istio operator controller in the cluster.", Args: cobra.ExactArgs(0), PreRunE: func(cmd *cobra.Command, args []string) error { if !labels.IsDNS1123Label(oiArgs.common.revision) && cmd.PersistentFlags().Changed("revision") { return fmt.Errorf("invalid revision specified: %v", oiArgs.common.revision) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/coverage/cover.go
base.Fatalf("bad setting %q for covermode in coveragecfg:", counterMode) } var cg coverage.CounterGranularity switch counterGran { case "perblock": cg = coverage.CtrGranularityPerBlock case "perfunc": cg = coverage.CtrGranularityPerFunc default: base.Fatalf("bad setting %q for covergranularity in coveragecfg:", counterGran) } cnames := names{ MetaVar: metavar, PkgIdVar: pkgidvar,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0) -
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) -
src/cmd/cover/cfg_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 12:51:11 UTC 2024 - 7.8K bytes - Viewed (0) -
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)