- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for subcommands (0.2 sec)
-
istioctl/cmd/istioctl_test.go
} // we should propagate to subcommands rootCmd = GetRootCmd([]string{"analyze", "--unknown-flag"}) fErr = rootCmd.Execute() switch fErr.(type) { case istioctlutil.CommandParseError: // do nothing default: t.Errorf("Expected a CommandParseError, but got %q.", fErr) } // all of the subcommands rootCmd = GetRootCmd([]string{"x", "authz", "check", "--unknown-flag"})
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Aug 29 14:53:25 GMT 2023 - 1.5K bytes - Viewed (0) -
cmd/admin-handlers_test.go
if serviceCmd != expectedCmd { t.Errorf("Expected service command %v but received %v", expectedCmd, serviceCmd) } } // getServiceCmdRequest - Constructs a management REST API request for service // subcommands for a given cmdType value. func getServiceCmdRequest(cmd cmdType, cred auth.Credentials) (*http.Request, error) { queryVal := url.Values{} queryVal.Set("action", string(cmd.toServiceAction())) queryVal.Set("type", "2")
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Feb 22 06:26:06 GMT 2024 - 13.8K bytes - Viewed (0) -
istioctl/pkg/clioptions/central.go
// limitations under the License. package clioptions import ( "fmt" "time" "github.com/spf13/cobra" "github.com/spf13/viper" ) // CentralControlPlaneOptions holds options common to all subcommands // that invoke Istiod via xDS REST endpoint type CentralControlPlaneOptions struct { // Xds is XDS endpoint, e.g. localhost:15010. Xds string // XdsPodLabel is a Kubernetes label on the Istiod pods
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.2K bytes - Viewed (0) -
istioctl/cmd/root.go
hideInheritedFlags(validateCmd, "kubeconfig") rootCmd.AddCommand(validateCmd) rootCmd.AddCommand(optionsCommand(rootCmd)) // BFS applies the flag error function to all subcommands seenCommands := make(map[*cobra.Command]bool) var commandStack []*cobra.Command commandStack = append(commandStack, rootCmd) for len(commandStack) > 0 { n := len(commandStack) - 1
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
operator/cmd/mesh/operator-remove.go
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.4K bytes - Viewed (0) -
misc/go_android_exec/main.go
const exitStr = "exitcode=" // Build a regexp that matches any prefix of the exit string at the end of // the input. We do it this way to avoid assuming anything about the // subcommand output (e.g., it might not be \n-terminated). var exitReStr strings.Builder for i := 1; i <= len(exitStr); i++ { fmt.Fprintf(&exitReStr, "%s$|", exitStr[:i]) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Aug 21 17:46:57 GMT 2023 - 15.3K bytes - Viewed (0) -
istioctl/pkg/admin/admin.go
istioctl admin log`, Aliases: []string{"istiod"}, Args: func(cmd *cobra.Command, args []string) error { if len(args) != 0 { return fmt.Errorf("unknown subcommand %q", args[0]) } return nil }, RunE: func(cmd *cobra.Command, args []string) error { cmd.HelpFunc()(cmd, args) return nil }, } istiodLog := istiodLogCmd(ctx)
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 1.4K bytes - Viewed (0) -
operator/cmd/mesh/profile-list.go
} func profileListCmd(plArgs *profileListArgs) *cobra.Command { return &cobra.Command{ Use: "list", Short: "Lists available Istio configuration profiles", Long: "The list subcommand lists the available Istio configuration profiles.", Args: cobra.ExactArgs(0), RunE: func(cmd *cobra.Command, args []string) error { return profileList(cmd, plArgs) }, } }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.9K bytes - Viewed (0) -
operator/cmd/mesh/operator-dump.go
} func operatorDumpCmd(rootArgs *RootArgs, odArgs *operatorDumpArgs) *cobra.Command { return &cobra.Command{ Use: "dump", Short: "Dumps the Istio operator controller manifest.", Long: "The dump subcommand dumps the Istio operator controller manifest.", Args: cobra.ExactArgs(0), PreRunE: func(cmd *cobra.Command, args []string) error {
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue May 23 17:08:31 GMT 2023 - 3.6K bytes - Viewed (0) -
operator/cmd/mesh/profile-diff.go
} func profileDiffCmd(pfArgs *profileDiffArgs) *cobra.Command { return &cobra.Command{ Use: "diff <profile|file1.yaml> <profile|file2.yaml>", Short: "Diffs two Istio configuration profiles", Long: "The diff subcommand displays the differences between two Istio configuration profiles.", Example: ` # Profile diff by providing yaml files istioctl profile diff manifests/profiles/default.yaml manifests/profiles/demo.yaml
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 3.1K bytes - Viewed (0)