Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 786 for cmd (0.16 sec)

  1. 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)
  2. operator/cmd/mesh/operator_test.go

    		},
    	}
    
    	cmd := "operator dump --hub " + odArgs.common.hub
    	cmd += " --tag " + odArgs.common.tag
    	cmd += " --imagePullSecrets " + strings.Join(odArgs.common.imagePullSecrets, ",")
    	cmd += " --operatorNamespace " + odArgs.common.operatorNamespace
    	cmd += " --watchedNamespaces " + odArgs.common.watchedNamespaces
    	cmd += " --manifests=" + string(snapshotCharts)
    	cmd += " --output " + odArgs.common.outputFormat
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  3. 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)
  4. istioctl/pkg/util/testutil/util.go

    }
    
    func VerifyOutput(t *testing.T, cmd *cobra.Command, c TestCase) {
    	t.Helper()
    
    	cmd.SetArgs(c.Args)
    
    	var out bytes.Buffer
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    	cmd.SilenceUsage = true
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.ExpectedOutput != "" && c.ExpectedOutput != output {
    		t.Fatalf("Unexpected output for '%s %s'\n got: %q\nwant: %q", cmd.Name(),
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. operator/cmd/mesh/profile-list.go

    		Args:  cobra.ExactArgs(0),
    		RunE: func(cmd *cobra.Command, args []string) error {
    			return profileList(cmd, plArgs)
    		},
    	}
    }
    
    // profileList list all the builtin profiles.
    func profileList(cmd *cobra.Command, plArgs *profileListArgs) error {
    	profiles, err := helm.ListProfiles(plArgs.manifestsPath)
    	if err != nil {
    		return err
    	}
    	if len(profiles) == 0 {
    		cmd.Println("No profiles available.")
    	} else {
    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 addOperatorInitFlags(cmd *cobra.Command, args *operatorInitArgs) {
    	hub, tag := buildversion.DockerInfo.Hub, buildversion.DockerInfo.Tag
    
    	cmd.PersistentFlags().StringVarP(&args.inFilename, "filename", "f", "", filenameFlagHelpStr)
    	cmd.PersistentFlags().StringVar(&args.common.hub, "hub", hub, HubFlagHelpStr)
    	cmd.PersistentFlags().StringVar(&args.common.tag, "tag", tag, TagFlagHelpStr)
    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. istioctl/pkg/dashboard/dashboard.go

    		Aliases: []string{"dash", "d"},
    		Short:   "Access to Istio web UIs",
    		Args: func(cmd *cobra.Command, args []string) error {
    			if len(args) != 0 {
    				return fmt.Errorf("unknown dashboard %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. src/main/assemblies/files/generate-thumbnail

    #!/bin/bash
    
    cmd_type=$1
    url=$2
    output_file=$3
    image_size=100x100
    target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
    
    check_command() {
      cmd=$1
      cmd_path=$(command -v "${cmd}")
      if [[ ! -e "${cmd_path}" ]] ; then
        echo "${cmd} does not exist."
        exit 1
      fi
    }
    
    if [[ x"$HOME" = "x/root" ]] ; then
      HOME=/var/lib/fess
    fi
    
    if [[ x"${cmd_type}" = "xmsoffice" ]] ; then
      check_command convert
    Shell Script
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Mon Jun 12 13:13:28 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  9. istioctl/pkg/analyze/analyze.go

    				if len(result.SkippedAnalyzers) > 0 {
    					fmt.Fprintln(cmd.ErrOrStderr(), "Skipped analyzers:")
    					for _, a := range result.SkippedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    				if len(result.ExecutedAnalyzers) > 0 {
    					fmt.Fprintln(cmd.ErrOrStderr(), "Executed analyzers:")
    					for _, a := range result.ExecutedAnalyzers {
    						fmt.Fprintln(cmd.ErrOrStderr(), "\t", a)
    					}
    				}
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 08:32:06 GMT 2024
    - 17K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/arch/riscv64.go

    // This file encapsulates some of the odd characteristics of the RISCV64
    // instruction set, to minimize its interaction with the core of the
    // assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/riscv"
    )
    
    // IsRISCV64AMO reports whether the op (as defined by a riscv.A*
    // constant) is one of the AMO instructions that requires special
    // handling.
    func IsRISCV64AMO(op obj.As) bool {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 15 08:13:28 GMT 2020
    - 943 bytes
    - Viewed (0)
Back to top