Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Kissling (0.21 sec)

  1. cmd/test-utils_test.go

    func generateTLSCertKey(host string) ([]byte, []byte, error) {
    	validFor := 365 * 24 * time.Hour
    	rsaBits := 2048
    
    	if len(host) == 0 {
    		return nil, nil, fmt.Errorf("Missing host parameter")
    	}
    
    	publicKey := func(priv interface{}) interface{} {
    		switch k := priv.(type) {
    		case *rsa.PrivateKey:
    			return &k.PublicKey
    		case *ecdsa.PrivateKey:
    			return &k.PublicKey
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	fi, err := Lstat(s.formatFile)
    	if err != nil {
    		// If the disk is still not initialized.
    		if osIsNotExist(err) {
    			if err = Access(s.drivePath); err == nil {
    				// Disk is present but missing `format.json`
    				return nil, errUnformattedDisk
    			}
    			if osIsNotExist(err) {
    				return nil, errDiskNotFound
    			} else if osIsPermission(err) {
    				return nil, errDiskAccessDenied
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    	},
    	ErrMissingContentMD5: {
    		Code:           "MissingContentMD5",
    		Description:    "Missing required header for this request: Content-Md5.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingSecurityHeader: {
    		Code:           "MissingSecurityHeader",
    		Description:    "Your request was missing a required header",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrMissingRequestBodyError: {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  4. cmd/erasure-object.go

    		if err != nil {
    			// If we have successfully written all the content that was asked
    			// by the client, but we still see an error - this would mean
    			// that we have some parts or data blocks missing or corrupted
    			// - attempt a heal to successfully heal them for future calls.
    			if written == partLength {
    				var scan madmin.HealScanMode
    				switch {
    				case errors.Is(err, errFileNotFound):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  5. cmd/iam.go

    				_, err := sys.store.GetPolicy(pname)
    				if errors.Is(err, errNoSuchPolicy) {
    					// all policies presented in the claim should exist
    					iamLogIf(GlobalContext, fmt.Errorf("expected policy (%s) missing from the JWT claim %s, rejecting the request", pname, iamPolicyClaimNameOpenID()))
    					return false
    				}
    			}
    			iamLogIf(GlobalContext, fmt.Errorf("all policies were unexpectedly present!"))
    			return false
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. cmd/sts-handlers_test.go

    				adminLogIf(ctx, err)
    			}
    			return nil
    		}
    		for _, f := range iamExportFiles {
    			iamFile := pathJoin(iamAssetsDir, f)
    
    			fileContent, ok := exportContent[f]
    			if !ok {
    				t.Fatalf("missing content for %s", f)
    			}
    
    			if err := rawDataFn(bytes.NewReader(fileContent), iamFile, len(fileContent)); err != nil {
    				t.Fatalf("failed to write %s: %v", iamFile, err)
    			}
    		}
    		zipWriter.Close()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    nil,
    			expectedValidationErr: errLifecycleDuplicateID,
    		},
    		// Missing <Tag> in <And>
    		{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  8. cmd/admin-handlers-users.go

    	if hasSpaceBE(policyName) {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrAdminResourceInvalidArgument), r.URL)
    		return
    	}
    
    	// Error out if Content-Length is missing.
    	if r.ContentLength <= 0 {
    		writeErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrMissingContentLength), r.URL)
    		return
    	}
    
    	// Error out if Content-Length is beyond allowed size.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 12:41:13 GMT 2024
    - 77.5K bytes
    - Viewed (0)
  9. cmd/bucket-handlers.go

    					// No difference in terms of domainIPs and nothing
    					// has changed so we don't change anything on the etcd.
    					//
    					// Additionally also check if domain is updated/missing with more
    					// entries, if that is the case we should update the
    					// new domain entries as well.
    					continue
    				}
    
    				// if domain IPs intersect then it won't be an empty set.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top