- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for subcommands (0.24 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 08 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:53:25 GMT 2023 - 1.5K 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 08 22:53:08 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.2K bytes - Viewed (0) -
architecture/environments/operator.md
subdirectory as a Cobra command with the following subcommands: - [manifest](../operator/cmd/mesh/manifest.go): the manifest subcommand is used to generate, install, diff or migrate Istio manifests, it has the following subcommands: - [install](../operator/cmd/mesh/install.go): the install subcommand is used to generate an Istio install manifest and apply it to a cluster.
Plain Text - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Aug 09 22:09:18 GMT 2023 - 13.4K 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 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 11 20:51:30 GMT 2024 - 10K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
# List all waypoints in a specific namespace istioctl x waypoint list --namespace default`, 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 }, }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 19:45:58 GMT 2024 - 15.5K bytes - Viewed (0) -
istioctl/pkg/tag/tag.go
without manual relabeling of the "istio.io/rev" tag. `, 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 }, } cmd.AddCommand(tagSetCommand(ctx))
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 02 08:32:06 GMT 2024 - 16.3K bytes - Viewed (0) -
operator/cmd/mesh/operator-remove.go
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) -
operator/cmd/mesh/manifest-diff.go
} func manifestDiffCmd(diffArgs *manifestDiffArgs) *cobra.Command { cmd := &cobra.Command{ Use: "diff <file|dir> <file|dir>", Short: "Compare manifests and generate diff", Long: "The diff subcommand compares manifests from two files or directories. The output is a list of\n" + "changed paths with the value changes shown as OLD-VALUE -> NEW-VALUE.\n" +
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 5.8K bytes - Viewed (0) -
operator/cmd/mesh/profile-dump.go
} func profileDumpCmd(pdArgs *profileDumpArgs) *cobra.Command { return &cobra.Command{ Use: "dump [<profile>]", Short: "Dumps an Istio configuration profile", Long: "The dump subcommand dumps the values in an Istio configuration profile.", Args: func(cmd *cobra.Command, args []string) error { if len(args) > 1 { return fmt.Errorf("too many positional arguments") } return nil },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 7.1K 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 May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 1.9K bytes - Viewed (0)