Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for cmd (0.16 sec)

  1. istioctl/pkg/checkinject/checkinject.go

    `,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) == 0 && labelPairs == "" || len(args) > 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("check-inject requires only [<resource-type>/]<resource-name>[.<namespace>], or specify labels flag")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  2. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	}
    
    	common.attach(cmd)
    	cmd.PersistentFlags().StringVar(&address, "address", "", "Filter workloads by address field")
    	cmd.PersistentFlags().BoolVar(&verboseProxyConfig, "verbose", true, "Output more information")
    	cmd.PersistentFlags().StringVar(&workloadsNamespace, "workload-namespace", "",
    		"Filter workloads by namespace field")
    	cmd.PersistentFlags().StringVar(&workloadNode, "workload-node", "",
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 22 15:39:28 GMT 2024
    - 22.2K bytes
    - Viewed (0)
  3. istioctl/cmd/root.go

    	experimentalCmd.AddCommand(workload.Cmd(ctx))
    	experimentalCmd.AddCommand(internaldebug.DebugCommand(ctx))
    	experimentalCmd.AddCommand(precheck.Cmd(ctx))
    	experimentalCmd.AddCommand(proxyconfig.StatsConfigCmd(ctx))
    	experimentalCmd.AddCommand(checkinject.Cmd(ctx))
    	experimentalCmd.AddCommand(waypoint.Cmd(ctx))
    	experimentalCmd.AddCommand(ztunnelconfig.ZtunnelConfig(ctx))
    
    	analyzeCmd := analyze.Analyze(ctx)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. istioctl/pkg/proxystatus/proxystatus.go

    		return nil, err
    	}
    	return data, nil
    }
    
    func StableXdsStatusCommand(ctx cli.Context) *cobra.Command {
    	cmd := XdsStatusCommand(ctx)
    	unstableFlags := []string{"xds-via-agents", "xds-via-agents-limit"}
    	cmd.PreRunE = func(cmd *cobra.Command, args []string) error {
    		for _, flag := range unstableFlags {
    			if cmd.PersistentFlags().Changed(flag) {
    				return fmt.Errorf("--%s is experimental. Use `istioctl experimental ps --%s`", flag, flag)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  5. istioctl/pkg/tag/tag.go

    `,
    		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))
    	cmd.AddCommand(tagGenerateCommand(ctx))
    	cmd.AddCommand(tagListCommand(ctx))
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  6. Makefile.core.mk

    AGENT_BINARIES:=./pilot/cmd/pilot-agent
    STANDARD_BINARIES:=./istioctl/cmd/istioctl \
      ./pilot/cmd/pilot-discovery \
      ./pkg/test/echo/cmd/client \
      ./pkg/test/echo/cmd/server \
      ./samples/extauthz/cmd/extauthz \
      ./operator/cmd/operator
    
    # These are binaries that require Linux to build, and should
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 19 19:41:41 GMT 2024
    - 22.5K bytes
    - Viewed (0)
  7. istioctl/pkg/proxyconfig/proxyconfig.go

    `,
    		Aliases: []string{"o"},
    		Args: func(cmd *cobra.Command, args []string) error {
    			if labelSelector == "" && len(args) < 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("log requires pod name or --selector")
    			}
    			if reset && loggerLevelString != "" {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("--level cannot be combined with --reset")
    			}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 16 03:28:36 GMT 2024
    - 48K bytes
    - Viewed (0)
  8. src/README.vendor

    Vendoring in std and cmd
    ========================
    
    The Go command maintains copies of external packages needed by the
    standard library in the src/vendor and src/cmd/vendor directories.
    
    There are two modules, std and cmd, defined in src/go.mod and
    src/cmd/go.mod. When a package outside std or cmd is imported
    by a package inside std or cmd, the import path is interpreted
    as if it had a "vendor/" prefix. For example, within "crypto/tls",
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Apr 02 02:20:05 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  9. istioctl/pkg/authz/authz.go

      istioctl x authz check -f httpbin_config_dump.json`,
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) > 1 {
    				cmd.Println(cmd.UsageString())
    				return fmt.Errorf("check requires only <pod-name>[.<pod-namespace>]")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			kubeClient, err := ctx.CLIClient()
    			if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 5K bytes
    - Viewed (0)
  10. istioctl/pkg/ztunnelconfig/ztunnelconfig_test.go

    				Namespace: "default",
    			})), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top