Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for commands (0.2 sec)

  1. operator/cmd/mesh/manifest.go

    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // ManifestCmd is a group of commands related to manifest generation, installation, diffing and migration.
    func ManifestCmd(ctx cli.Context) *cobra.Command {
    	mc := &cobra.Command{
    		Use:   "manifest",
    		Short: "Commands related to Istio manifests",
    		Long:  "The manifest command generates and diffs Istio manifests.",
    	}
    
    	mgcArgs := &ManifestGenerateArgs{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. operator/cmd/mesh/profile.go

    import (
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    // ProfileCmd is a group of commands related to profile listing, dumping and diffing.
    func ProfileCmd(_ cli.Context) *cobra.Command {
    	pc := &cobra.Command{
    		Use:   "profile",
    		Short: "Commands related to Istio configuration profiles",
    		Long:  "The profile command lists, dumps or diffs Istio configuration profiles.",
    		Example: "istioctl profile list\n" +
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  3. istioctl/cmd/root.go

    	seenCommands := make(map[*cobra.Command]bool)
    	var commandStack []*cobra.Command
    
    	commandStack = append(commandStack, rootCmd)
    
    	for len(commandStack) > 0 {
    		n := len(commandStack) - 1
    		curCmd := commandStack[n]
    		commandStack = commandStack[:n]
    		seenCommands[curCmd] = true
    		for _, command := range curCmd.Commands() {
    			if !seenCommands[command] {
    				commandStack = append(commandStack, command)
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. operator/cmd/mesh/manifest_shared_test.go

    }
    
    // runManifestCommand runs the given manifest command. If filenames is set, passes the given filenames as -f flag,
    // flags is passed to the command verbatim. If you set both flags and path, make sure to not use -f in flags.
    func runManifestCommand(command string, filenames []string, flags string, chartSource chartSourceType, fileSelect []string) (string, error) {
    	var args string
    	if command == "install" {
    		args = "install"
    	} else {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (1)
  5. istioctl/pkg/internaldebug/internal-debug.go

    		namespace, serviceAccount, kubeClient, multixds.DefaultOptions)
    	if respErr != nil {
    		return xdsResponses, respErr
    	}
    	_, _ = fmt.Fprint(writer, "error: according to below command list, please check all supported internal debug commands\n")
    	return xdsResponses, nil
    }
    
    func HandlerForDebugErrors(kubeClient kube.CLIClient,
    	centralOpts *clioptions.CentralControlPlaneOptions,
    	writer io.Writer,
    	istioNamespace string,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 04:16:55 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    }
    
    func groupCommand(ctx cli.Context) *cobra.Command {
    	groupCmd := &cobra.Command{
    		Use:     "group",
    		Short:   "Commands dealing with WorkloadGroup resources",
    		Example: "  istioctl x workload group create --name foo --namespace bar --labels app=foobar",
    	}
    	groupCmd.AddCommand(createCommand(ctx))
    	return groupCmd
    }
    
    func entryCommand(ctx cli.Context) *cobra.Command {
    	entryCmd := &cobra.Command{
    		Use:     "entry",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  7. cni/pkg/iptables/iptables.go

    			execErrs = append(execErrs, cfg.executeIptablesRestoreCommand(iptablesBuilder, &cfg.ipt6V, false))
    		}
    	} else {
    		// Execute iptables commands
    		execErrs = append(execErrs,
    			cfg.executeIptablesCommands(&cfg.iptV, iptablesBuilder.BuildV4()))
    		// Execute ip6tables commands
    		if cfg.cfg.EnableIPv6 {
    			execErrs = append(execErrs,
    				cfg.executeIptablesCommands(&cfg.ipt6V, iptablesBuilder.BuildV6()))
    		}
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 07 19:54:50 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  8. cmd/main.go

    	commandsTree := trie.NewTrie()
    
    	// registerCommand registers a cli command.
    	registerCommand := func(command cli.Command) {
    		commands = append(commands, command)
    		commandsTree.Insert(command.Name)
    	}
    
    	findClosestCommands := func(command string) []string {
    		var closestCommands []string
    		closestCommands = append(closestCommands, commandsTree.PrefixMatch(command)...)
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	yamlOutput    = "yaml"
    	summaryOutput = "short"
    
    	defaultProxyAdminPort = 15000
    )
    
    func ZtunnelConfig(ctx cli.Context) *cobra.Command {
    	configCmd := &cobra.Command{
    		Use:   "ztunnel-config",
    		Short: "Update or retrieve current Ztunnel configuration.",
    		Long:  "A group of commands used to update or retrieve Ztunnel configuration from a Ztunnel instance.",
    		Example: `  # Retrieve summary about workload configuration
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed May 01 13:11:40 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  10. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    	loggingConfig := map[string][]byte{
    		"ztunnel-9v7nw": []byte("current log level is debug"),
    	}
    	cases := []execTestCase{
    		{
    			args:           []string{},
    			expectedString: "A group of commands used to update or retrieve Ztunnel",
    		},
    		{ // logger name invalid when namespacing is used improperly
    			execClientConfig: loggingConfig,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top