Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 50 for runCommand (0.24 sec)

  1. helm/minio/templates/_helper_custom_command.txt

      return 0
    }
    
    # runCommand ($@)
    # Run custom mc command
    runCommand() {
      ${MC} "$@"
      return $?
    }
    
    # Try connecting to MinIO instance
    {{- if .Values.tls.enabled }}
    scheme=https
    {{- else }}
    scheme=http
    {{- end }}
    connectToMinio $scheme
    
    {{ if .Values.customCommands }}
    # Run custom commands
    {{- range .Values.customCommands }}
    runCommand {{ .command }}
    {{- end }}
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Feb 19 20:34:14 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  2. operator/cmd/mesh/operator_test.go

    	cmd += " --operatorNamespace " + odArgs.common.operatorNamespace
    	cmd += " --watchedNamespaces " + odArgs.common.watchedNamespaces
    	cmd += " --manifests=" + string(snapshotCharts)
    
    	gotYAML, err := runCommand(cmd)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if refreshGoldenFiles() {
    		t.Logf("Refreshing golden file for %s", goldenFilepath)
    		if err := os.WriteFile(goldenFilepath, []byte(gotYAML), 0o644); err != nil {
    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. operator/cmd/mesh/manifest_shared_test.go

    		args += " --filter " + strings.Join(filters, ",")
    	}
    	args += " --set installPackagePath=" + string(chartSource)
    	return runCommand(args)
    }
    
    // runCommand runs the given command string.
    func runCommand(command string) (string, error) {
    	var out bytes.Buffer
    	rootCmd := GetRootCmd(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Version: "25",
    	}), strings.Split(command, " "))
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Feb 20 22:39:28 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-diff_test.go

    			expectedString: "Profiles are identical",
    		},
    	}
    
    	for i, c := range cases {
    		t.Run(fmt.Sprintf("case %d %q", i, c.args), func(t *testing.T) {
    			output, fErr := runCommand(c.args)
    			verifyProfileDiffCommandCaseOutput(t, c, output, fErr)
    		})
    	}
    }
    
    func TestProfileDiffDirect(t *testing.T) {
    	cases := []profileDiffTestcase{
    		{
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Wed Jan 10 05:10:03 GMT 2024
    - 3.6K bytes
    - Viewed (1)
  5. operator/cmd/mesh/profile-dump_test.go

    	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) {
    	testDataDir := filepath.Join(operatorRootDir, "cmd/mesh/testdata/profile-dump")
    	tests := []struct {
    		desc       string
    		configPath string
    	}{
    		{
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Jan 20 11:44:25 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  6. helm-releases/minio-4.0.12.tgz

    between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # runCommand ($@) # Run custom mc command runCommand() { ${MC} "$@" return $? } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.customCommands }} # Run custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length...
    Others
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sun Aug 14 05:50:43 GMT 2022
    - 19.4K bytes
    - Viewed (0)
  7. helm-releases/minio-4.0.7.tgz

    between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # runCommand ($@) # Run custom mc command runCommand() { ${MC} "$@" return $? } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.customCommands }} # Run custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length...
    Others
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jul 28 03:54:38 GMT 2022
    - 18.6K bytes
    - Viewed (0)
  8. helm-releases/minio-5.0.3.tgz

    between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # runCommand ($@) # Run custom mc command runCommand() { ${MC} "$@" return $? } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.customCommands }} # Run custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length...
    Others
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Dec 19 08:53:02 GMT 2022
    - 20.3K bytes
    - Viewed (0)
  9. helm-releases/minio-5.0.6.tgz

    between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # runCommand ($@) # Run custom mc command runCommand() { ${MC} "$@" return $? } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.customCommands }} # Run custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length...
    Others
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Feb 13 06:53:06 GMT 2023
    - 20.3K bytes
    - Viewed (0)
  10. helm-releases/minio-5.0.9.tgz

    between attempts $MC_COMMAND ; STATUS=$? ; done ; set -e ; # reset `e` as active return 0 } # runCommand ($@) # Run custom mc command runCommand() { ${MC} "$@" return $? } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.customCommands }} # Run custom commands {{- range .Values.customCommands }} runCommand {{ .command }} {{- end }} {{- end }} minio/templates/_helper_policy.tpl {{- $statements_length...
    Others
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed May 03 06:23:26 GMT 2023
    - 20.2K bytes
    - Viewed (0)
Back to top