Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for subcommands (0.18 sec)

  1. 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 01 22:53:12 GMT 2024
    - Last Modified: Wed Aug 09 22:09:18 GMT 2023
    - 13.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. operator/cmd/mesh/operator-init.go

    func operatorInitCmd(ctx cli.Context, rootArgs *RootArgs, oiArgs *operatorInitArgs) *cobra.Command {
    	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 {
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  7. operator/cmd/mesh/manifest-generate.go

    func ManifestGenerateCmd(ctx cli.Context, rootArgs *RootArgs, mgArgs *ManifestGenerateArgs) *cobra.Command {
    	return &cobra.Command{
    		Use:   "generate",
    		Short: "Generates an Istio install manifest",
    		Long:  "The generate subcommand generates an Istio install manifest and outputs to the console by default.",
    		// nolint: lll
    		Example: `  # Generate a default Istio installation
      istioctl manifest generate
    
      # Enable Tracing
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  8. istioctl/pkg/config/config.go

    	"plaintext":           env.Register("ISTIOCTL_PLAINTEXT", false, "The istioctl --plaintext override"),
    }
    
    // Cmd represents the config subcommand command
    func Cmd() *cobra.Command {
    	configCmd := &cobra.Command{
    		Use:   "config SUBCOMMAND",
    		Short: "Configure istioctl defaults",
    		Args:  cobra.NoArgs,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sun Jul 30 12:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  9. istioctl/pkg/injector/injector-list.go

    		Long:    `List sidecar injector and sidecar versions`,
    		Example: `  istioctl experimental injector list`,
    		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(injectorListCommand(cliContext))
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jan 04 03:08:06 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  10. operator/cmd/mesh/operator-remove.go

    	return &cobra.Command{
    		Use:   "remove",
    		Short: "Removes the Istio operator controller from the cluster.",
    		Long:  "The remove subcommand removes the Istio operator controller from the cluster.",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if orArgs.revision == "" && !orArgs.purge {
    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)
Back to top