Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 186 for output (0.16 sec)

  1. internal/logger/console.go

    			// Print banner with or without the log tag
    			if !tagPrinted {
    				fmt.Fprint(Output, logBanner)
    				tagPrinted = true
    			} else {
    				fmt.Fprint(Output, emptyBanner)
    			}
    			// Restore the text color of the error message
    			ansiRestoreAttributes()
    			ansiMoveRight(bannerWidth)
    			// Continue  error message printing
    			fmt.Fprintln(Output, line)
    			break
    		}
    	}
    
    	// Exit because this is a fatal error message
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. internal/s3select/select.go

    	JSONArgs    json.WriterArgs `xml:"JSON"`
    	unmarshaled bool
    	format      string
    }
    
    // IsEmpty - returns whether output serialization is empty or not.
    func (output *OutputSerialization) IsEmpty() bool {
    	return !output.unmarshaled
    }
    
    // UnmarshalXML - decodes XML data.
    func (output *OutputSerialization) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
    	// Make subtype to avoid recursive UnmarshalXML().
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  3. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    }
    
    verify_iam_content_in_new_minio() {
    	output=$(mc idp ldap policy entities new-minio --json)
    
    	groups=$(echo "$output" | jq -r '.result.policyMappings[] | select(.policy == "readwrite") | .groups[]')
    	if [ "$groups" != "cn=project.c,ou=groups,ou=swengg,dc=min,dc=io" ]; then
    		echo "Failed to verify groups: $groups"
    		exit 1
    	fi
    
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:49:53 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  4. internal/bucket/versioning/versioning_test.go

    	}
    }
    
    func TestExcludeFolders(t *testing.T) {
    	v := Versioning{
    		Status:         Enabled,
    		ExcludeFolders: true,
    	}
    	testPrefixes := []string{"jobs/output/_temporary/", "jobs/output/", "jobs/"}
    	for i, prefix := range testPrefixes {
    		if v.PrefixEnabled(prefix) || !v.PrefixSuspended(prefix) {
    			t.Fatalf("Test %d: Expected versioning to be excluded for %s", i+1, prefix)
    		}
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 08 05:06:44 GMT 2022
    - 8.8K bytes
    - Viewed (0)
  5. buildscripts/gen-ldflags.go

    func commitID() string {
    	// git log --format="%H" -n1
    	var (
    		commit []byte
    		err    error
    	)
    	cmdName := "git"
    	cmdArgs := []string{"log", "--format=%H", "-n1"}
    	if commit, err = exec.Command(cmdName, cmdArgs...).Output(); err != nil {
    		fmt.Fprintln(os.Stderr, "Error generating git commit-id: ", err)
    		os.Exit(1)
    	}
    
    	return strings.TrimSpace(string(commit))
    }
    
    func commitTime() time.Time {
    	// git log --format=%cD -n1
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 16 23:10:48 GMT 2022
    - 3.3K bytes
    - Viewed (0)
  6. .github/workflows/mint.yml

            id: vars
            run: echo "sha_short=$(git rev-parse --short HEAD)" >> $GITHUB_OUTPUT
    
          - name: build-minio
            run: |
              TAG="quay.io/minio/minio:${{ steps.vars.outputs.sha_short }}" make docker
    
          - name: multipart uploads test
            run: |
              ${GITHUB_WORKSPACE}/.github/workflows/multipart/migrate.sh "${{ steps.vars.outputs.sha_short }}"
    
          - name: compress and encrypt
            run: |
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 23:44:49 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  7. cmd/object-api-getobjectinfo_test.go

    		{Bucket: "test-getobjectinfo", Name: "Asia/empty-dir/", ContentType: "application/octet-stream", IsDir: true},
    	}
    	testCases := []struct {
    		bucketName string
    		objectName string
    
    		// Expected output of GetObjectInfo.
    		result ObjectInfo
    		err    error
    		// Flag indicating whether the test is expected to pass or not.
    		shouldPass bool
    	}{
    		// Test cases with invalid bucket names ( Test number 1-4 ).
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Dec 23 15:46:00 GMT 2022
    - 5.6K bytes
    - Viewed (0)
  8. cmd/xl-storage-format-v2_string.go

    // Code generated by "stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go xl-storage-format-v2.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Dec 02 19:29:16 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  9. cmd/erasure-object_test.go

    	if err != nil {
    		t.Fatalf("Expected GetObject to succeed, but failed with %v", err)
    	}
    	output := bytes.NewBuffer([]byte{})
    	_, err = io.Copy(output, gr)
    	if err != nil {
    		t.Fatalf("Expected GetObject reading data to succeed, but failed with %v", err)
    	}
    	gr.Close()
    	if !bytes.Equal(output.Bytes(), smallData) {
    		t.Fatalf("Corrupted data is found")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 36.8K bytes
    - Viewed (0)
  10. internal/grid/handlers_string.go

    // Code generated by "stringer -type=HandlerID -output=handlers_string.go -trimprefix=Handler msg.go handlers.go"; DO NOT EDIT.
    
    package grid
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[handlerInvalid-0]
    	_ = x[HandlerLockLock-1]
    	_ = x[HandlerLockRLock-2]
    	_ = x[HandlerLockUnlock-3]
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top