Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Duchess (0.15 sec)

  1. cmd/postpolicyform_test.go

    			success: true,
    		},
    	}
    
    	for _, testCase := range testCases {
    		testCase := testCase
    		t.Run("", func(t *testing.T) {
    			_, err := parsePostPolicyForm(strings.NewReader(testCase.policy))
    			if testCase.success && err != nil {
    				t.Errorf("Expected success but failed with %s", err)
    			}
    			if !testCase.success && err == nil {
    				t.Errorf("Expected failed but succeeded")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 8.9K bytes
    - Viewed (0)
  2. cmd/signals.go

    )
    
    func handleSignals() {
    	// Custom exit function
    	exit := func(success bool) {
    		if globalLoggerOutput != nil {
    			globalLoggerOutput.Close()
    		}
    
    		// If global profiler is set stop before we exit.
    		globalProfilerMu.Lock()
    		defer globalProfilerMu.Unlock()
    		for _, p := range globalProfiler {
    			p.Stop()
    		}
    
    		if success {
    			os.Exit(0)
    		}
    
    		os.Exit(1)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  3. cmd/common-main_test.go

    			value, err := readFromSecret(tmpfile.Name())
    			if err != nil && !testCase.expectedErr {
    				t.Error(err)
    			}
    			if err == nil && testCase.expectedErr {
    				t.Error(errors.New("expected error, found success"))
    			}
    			if value != testCase.expectedValue {
    				t.Errorf("Expected %s, got %s", testCase.expectedValue, value)
    			}
    		})
    	}
    }
    
    func Test_minioEnvironFromFile(t *testing.T) {
    	testCases := []struct {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 19 18:05:16 GMT 2022
    - 3.7K bytes
    - Viewed (0)
  4. cmd/bucket-policy-handlers.go

    		Type:      madmin.SRBucketMetaTypePolicy,
    		Bucket:    bucket,
    		Policy:    bucketPolicyBytes,
    		UpdatedAt: updatedAt,
    	}))
    
    	// Success.
    	writeSuccessNoContent(w)
    }
    
    // DeleteBucketPolicyHandler - This HTTP handler removes bucket policy configuration.
    func (api objectAPIHandlers) DeleteBucketPolicyHandler(w http.ResponseWriter, r *http.Request) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  5. docs/extensions/s3zip/examples/aws-js/main.js

        on('build', function(req) { req.httpRequest.headers['X-Minio-Extract'] = 'true'; }).
        send(function(err, data) {
            if (err) {
                console.log("Error", err);
            } else {
                console.log("Success", data);
            }
        });
    
    
    // Download a file in the archive and store it in /tmp/data.csv
    var file = require('fs').createWriteStream('/tmp/data.csv');
    JavaScript
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jun 10 15:17:03 GMT 2021
    - 1K bytes
    - Viewed (0)
  6. cmd/acl-handlers.go

    	} `xml:"AccessControlList"`
    }
    
    // PutBucketACLHandler - PUT Bucket ACL
    // -----------------
    // This operation uses the ACL subresource
    // to set ACL for a bucket, this is a dummy call
    // only responds success if the ACL is private.
    func (api objectAPIHandlers) PutBucketACLHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutBucketACL")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  7. cmd/signature-v2_test.go

    			// Should be set since we are simulating a http server.
    			req.RequestURI = req.URL.RequestURI()
    			errCode := doesPresignV2SignatureMatch(req)
    			if errCode != testCase.expected {
    				t.Errorf("(%d) expected to get success, instead got %s", i, niceError(errCode))
    			}
    		}
    
    	}
    }
    
    // TestValidateV2AuthHeader - Tests validate the logic of V2 Authorization header validator.
    func TestValidateV2AuthHeader(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Oct 14 10:08:40 GMT 2022
    - 8K bytes
    - Viewed (0)
  8. docs/docker/README.md

      -v ${HOME}/data:/data \
      quay.io/minio/minio server /data --console-address ":9001"
    ```
    
    #### Windows (regular user)
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo_linux_test.go

    		}
    	}
    	// Success case, where path doesn't have any mounts.
    	{
    		absPaths := []string{"/path/to/x"}
    		if err = checkCrossDevice(absPaths, mountsPath); err != nil {
    			t.Fatalf("Expected success, failed instead (%s)", err)
    		}
    	}
    }
    
    // Tests cross device mount verification function, for both failure
    // and success cases.
    func TestCrossDeviceMount(t *testing.T) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. internal/lsync/lrwmutex.go

    	isWriteLock := true
    	success := lm.unlock(isWriteLock)
    	if !success {
    		panic("Trying to Unlock() while no Lock() is active")
    	}
    }
    
    // RUnlock releases a read lock held on lm.
    //
    // It is a run-time error if lm is not locked on entry to RUnlock.
    func (lm *LRWMutex) RUnlock() {
    	isWriteLock := false
    	success := lm.unlock(isWriteLock)
    	if !success {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 02 17:15:06 GMT 2022
    - 4.8K bytes
    - Viewed (0)
Back to top