Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 560 for Cmd (0.13 sec)

  1. cni/pkg/util/executil.go

    	"os/exec"
    	"strings"
    
    	"istio.io/istio/pkg/log"
    )
    
    type ExecList struct {
    	Cmd  string
    	Args []string
    }
    
    func NewExec(cmd string, args []string) *ExecList {
    	return &ExecList{
    		Cmd:  cmd,
    		Args: args,
    	}
    }
    
    func ExecuteOutput(cmd string, args ...string) (string, error) {
    	externalCommand := exec.Command(cmd, args...)
    	stdout := &bytes.Buffer{}
    	stderr := &bytes.Buffer{}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  2. istioctl/pkg/clioptions/central.go

    func (o *CentralControlPlaneOptions) AttachControlPlaneFlags(cmd *cobra.Command) {
    	cmd.PersistentFlags().StringVar(&o.Xds, "xds-address", viper.GetString("XDS-ADDRESS"),
    		"XDS Endpoint")
    	cmd.PersistentFlags().StringVar(&o.CertDir, "cert-dir", viper.GetString("CERT-DIR"),
    		"XDS Endpoint certificate directory")
    	cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "",
    		"Istiod pod label selector")
    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)
  3. src/cmd/addr2line/addr2line_test.go

    	addr2lineExePath  string
    	addr2linePathErr  error
    )
    
    func loadSyms(t *testing.T, dbgExePath string) map[string]string {
    	cmd := testenv.Command(t, testenv.GoToolPath(t), "tool", "nm", dbgExePath)
    	out, err := cmd.CombinedOutput()
    	if err != nil {
    		t.Fatalf("%v: %v\n%s", cmd, err, string(out))
    	}
    	syms := make(map[string]string)
    	scanner := bufio.NewScanner(bytes.NewReader(out))
    	for scanner.Scan() {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  4. src/cmd/cgo/internal/test/issue24161_darwin_test.go

    // license that can be found in the LICENSE file.
    
    //go:build cgo
    
    package cgotest
    
    import (
    	"testing"
    
    	"cmd/cgo/internal/test/issue24161arg"
    	"cmd/cgo/internal/test/issue24161e0"
    	"cmd/cgo/internal/test/issue24161e1"
    	"cmd/cgo/internal/test/issue24161e2"
    	"cmd/cgo/internal/test/issue24161res"
    )
    
    func Test24161Arg(t *testing.T) {
    	issue24161arg.Test(t)
    }
    func Test24161Res(t *testing.T) {
    Go
    - Registered: Tue Apr 09 11:13:10 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 716 bytes
    - Viewed (0)
  5. operator/cmd/mesh/manifest-diff.go

    	renameResources string
    }
    
    func addManifestDiffFlags(cmd *cobra.Command, diffArgs *manifestDiffArgs) {
    	cmd.PersistentFlags().BoolVarP(&diffArgs.compareDir, "directory", "r",
    		false, "Compare directory.")
    	cmd.PersistentFlags().BoolVarP(&diffArgs.verbose, "verbose", "v",
    		false, "Verbose output.")
    	cmd.PersistentFlags().StringVar(&diffArgs.selectResources, "select", "::",
    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)
  6. src/cmd/asm/main.go

    package main
    
    import (
    	"bufio"
    	"flag"
    	"fmt"
    	"internal/buildcfg"
    	"log"
    	"os"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/asm"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    
    	"cmd/internal/bio"
    	"cmd/internal/obj"
    	"cmd/internal/objabi"
    )
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("asm: ")
    
    	buildcfg.Check()
    	GOARCH := buildcfg.GOARCH
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  7. istioctl/cmd/istioctl/main.go

    	_ "k8s.io/client-go/plugin/pkg/client/auth"
    
    	"istio.io/istio/istioctl/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	if err := cmd.ConfigAndEnvProcessing(); err != nil {
    		fmt.Fprintf(os.Stderr, "Could not initialize: %v\n", err)
    		exitCode := cmd.GetExitCode(err)
    		os.Exit(exitCode)
    	}
    
    	rootCmd := cmd.GetRootCmd(os.Args[1:])
    
    	log.EnableKlogWithCobra()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue May 23 17:08:31 GMT 2023
    - 1.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/profile-dump.go

    kind: IstioOperator
    `
    )
    
    func addProfileDumpFlags(cmd *cobra.Command, args *profileDumpArgs) {
    	cmd.PersistentFlags().StringSliceVarP(&args.inFilenames, "filename", "f", nil, filenameFlagHelpStr)
    	cmd.PersistentFlags().StringVarP(&args.configPath, "config-path", "p", "",
    		"The path the root of the configuration subtree to dump e.g. components.pilot. By default, dump whole tree")
    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)
  9. operator/cmd/mesh/profile-dump_test.go

    	cmd := "profile dump -f " + profilePath
    	if configPath != "" {
    		cmd += " --config-path " + configPath
    	}
    	if len(chartSource) > 0 {
    		cmd += " --manifests=" + string(chartSource)
    	}
    	if outfmt != "" {
    		cmd += " --output=" + outfmt
    	}
    	return runCommand(cmd)
    }
    
    func TestProfileDumpFlags(t *testing.T) {
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  10. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
Back to top