Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 786 for cmd (8.11 sec)

  1. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2K bytes
    - Viewed (0)
  2. istioctl/pkg/proxyconfig/proxyconfig_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 May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 10 21:51:29 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  3. istioctl/pkg/admin/admin.go

    				return fmt.Errorf("unknown subcommand %q", args[0])
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			cmd.HelpFunc()(cmd, args)
    			return nil
    		},
    	}
    
    	istiodLog := istiodLogCmd(ctx)
    	adminCmd.AddCommand(istiodLog)
    	adminCmd.PersistentFlags().StringVarP(&istiodLabelSelector, "selector", "l", "app=istiod", "label selector")
    
    	return adminCmd
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  4. src/buildall.bash

    		export GOARCH=arm
    		export GOARM=5
    	fi
    
    	# Build and vet everything.
    	# cmd/go/internal/work/exec.go enables the same vet flags during go test of std cmd
    	# and should be kept in sync with any vet flag changes here.
    	if ! "$GOROOT/bin/go" build std cmd || ! "$GOROOT/bin/go" vet -unsafeptr=false std cmd; then
    		failed=true
    		if $sete; then
    			exit 1
    		fi
    	fi
    done
    
    if [ "$failed" = "true" ]; then
    Shell Script
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 23 17:45:23 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  5. 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 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 15 08:13:28 GMT 2020
    - 943 bytes
    - Viewed (0)
  6. cmd/admin-handlers_test.go

    	// Setting up a go routine to simulate ServerRouter's
    	// handleServiceSignals for stop and restart commands.
    	if cmd == restartCmd {
    		wg.Add(1)
    		go func() {
    			defer wg.Done()
    			testServiceSignalReceiver(cmd, t)
    		}()
    	}
    	credentials := globalActiveCred
    
    	req, err := getServiceCmdRequest(cmd, credentials)
    	if err != nil {
    		t.Fatalf("Failed to build service status request %v", err)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  7. .github/workflows/tests.yml

              MYSQL_DATABASE: gorm
              MYSQL_USER: gorm
              MYSQL_PASSWORD: gorm
              MYSQL_RANDOM_ROOT_PASSWORD: "yes"
            ports:
              - 9910:3306
            options: >-
              --health-cmd "mysqladmin ping -ugorm -pgorm"
              --health-interval 10s
              --health-start-period 10s
              --health-timeout 5s
              --health-retries 10
    
        steps:
        - name: Set up Go 1.x
    Others
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Jan 29 02:34:20 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  8. cmd/service.go

    // process when successful.
    func restartProcess() error {
    	if runtime.GOOS == globalWindowsOSName {
    		cmd := exec.Command(os.Args[0], os.Args[1:]...)
    		cmd.Stdout = os.Stdout
    		cmd.Stderr = os.Stderr
    		cmd.Stdin = os.Stdin
    		cmd.Env = os.Environ()
    		err := cmd.Run()
    		if err == nil {
    			os.Exit(0)
    		}
    		return err
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Feb 28 07:02:14 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  9. Dockerfile.release.fips

    ARG TARGETARCH
    ARG RELEASE
    
    ENV GOPATH /go
    ENV CGO_ENABLED 0
    
    # Install curl and minisign
    RUN apk add -U --no-cache ca-certificates && \
        apk add -U --no-cache curl && \
        go install aead.dev/minisign/cmd/minisign@v0.2.1
    
    # Download minio binary and signature file
    RUN curl -s -q https://dl.min.io/server/minio/release/linux-${TARGETARCH}/archive/minio.${RELEASE}.fips -o /go/bin/minio && \
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 30 09:41:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  10. operator/cmd/mesh/manifest_shared_test.go

    // It returns an ObjectSet for each cmd type.
    // nolint: unparam
    func runManifestCommands(inFile, flags string, chartSource chartSourceType, fileSelect []string) (map[cmdType]*ObjectSet, error) {
    	out := make(map[cmdType]*ObjectSet)
    	for _, cmd := range testedManifestCmds {
    		log.Infof("\nRunning test command using %s\n", cmd)
    		switch cmd {
    		case cmdApply, cmdController:
    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)
Back to top