- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for MinimumNArgs (0.18 sec)
-
pilot/cmd/pilot-discovery/app/request.go
"istio.io/istio/pilot/pkg/request" ) var requestCmd = &cobra.Command{ Use: "request <method> <path> [<body>]", Short: "Makes an HTTP request to Pilot metrics/debug endpoint", Args: cobra.MinimumNArgs(2), RunE: func(c *cobra.Command, args []string) error { command := &request.Command{ Address: "127.0.0.1:15014", Client: &http.Client{ Timeout: 60 * time.Second, }, } body := ""
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 28 03:44:33 UTC 2021 - 1.1K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/request.go
// which interprets the output literally as json document. 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)