Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for validation (0.31 sec)

  1. internal/logger/console.go

    			args = append(args, msg)
    			msg = "%s"
    		}
    		console.pretty(msg+"\n", args...)
    	}
    }
    
    // Fatal prints only fatal error message with no stack trace
    // it will be called for input validation failures
    func Fatal(err error, msg string, data ...interface{}) {
    	fatal(err, msg, data...)
    }
    
    func fatal(err error, msg string, data ...interface{}) {
    	var errMsg string
    	if msg != "" {
    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/bucket/versioning/versioning_test.go

    		}
    		if err != nil {
    			if tc.err == nil {
    				t.Fatalf("Test %d: failed due to %v", i+1, err)
    			}
    		} else {
    			if err := v.Validate(); tc.err != err {
    				t.Fatalf("Test %d: validation failed due to %v", i+1, err)
    			}
    			if len(tc.excludedPrefixes) > 0 {
    				var mismatch bool
    				if len(v.ExcludedPrefixes) != len(tc.excludedPrefixes) {
    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)
  3. internal/jwt/parser.go

    	jwtgo "github.com/golang-jwt/jwt/v4"
    	jsoniter "github.com/json-iterator/go"
    )
    
    // SigningMethodHMAC - Implements the HMAC-SHA family of signing methods signing methods
    // Expects key type of []byte for both signing and validation
    type SigningMethodHMAC struct {
    	Name       string
    	Hash       crypto.Hash
    	HasherPool sync.Pool
    }
    
    // Specific instances for HS256, HS384, HS512
    var (
    	SigningMethodHS256 *SigningMethodHMAC
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  4. internal/config/identity/openid/openid.go

    	return res, nil
    }
    
    // Enabled returns if configURL is enabled.
    func Enabled(kvs config.KVS) bool {
    	return kvs.Get(ConfigURL) != ""
    }
    
    // GetSettings - fetches OIDC settings for site-replication related validation.
    // NOTE that region must be populated by caller as this package does not know.
    func (r *Config) GetSettings() madmin.OpenIDSettings {
    	res := madmin.OpenIDSettings{}
    	if !r.Enabled {
    		return res
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Nov 16 04:42:31 GMT 2023
    - 16.5K bytes
    - Viewed (0)
  5. README.fips.md

    # MinIO FIPS Builds
    
    MinIO creates FIPS builds using a patched version of the Go compiler (that uses BoringCrypto, from BoringSSL, which is [FIPS 140-2 validated](https://csrc.nist.gov/csrc/media/projects/cryptographic-module-validation-program/documents/security-policies/140sp2964.pdf)) published by the Golang Team [here](https://github.com/golang/go/tree/dev.boringcrypto/misc/boring).
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jul 17 15:43:14 GMT 2022
    - 869 bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    }
    
    // ReplicationPermissionCheck - Check if error type is ReplicationPermissionCheck.
    type ReplicationPermissionCheck struct{}
    
    func (e ReplicationPermissionCheck) Error() string {
    	return "Replication permission validation requests cannot be completed"
    }
    
    func isReplicationPermissionCheck(err error) bool {
    	_, ok := err.(ReplicationPermissionCheck)
    	return ok
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  7. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrReplicationValidationError: {
    		Code:           "InvalidRequest",
    		Description:    "Replication validation failed on target",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrReplicationPermissionCheckError: {
    		Code:           "ReplicationPermissionCheck",
    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)
  8. internal/jwt/parser_test.go

    			}
    
    			if data.valid && err != nil {
    				t.Errorf("Error while verifying token: %T:%v", err, err)
    			}
    
    			if !data.valid && err == nil {
    				t.Errorf("Invalid token passed validation")
    			}
    
    			if data.errors != 0 {
    				_, ok := err.(*jwt.ValidationError)
    				if !ok {
    					t.Errorf("Expected *jwt.ValidationError, but got %#v instead", err)
    				}
    			}
    		})
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  9. cmd/update-notifier_test.go

    			t.Errorf("Testcase %d: newer release is available but got empty update message!", i+1)
    		case output == "" && (testCase.dlURL == "" || testCase.older <= 0):
    			// Valid no update message case. No further
    			// validation needed.
    			continue
    		case !strings.Contains(output, line1):
    			t.Errorf("Testcase %d: output '%s' did not contain line 1: '%s'", i+1, output, line1)
    		case !strings.Contains(output, line2):
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jul 31 15:36:19 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  10. cmd/iam.go

    	return (isOwnerDerived || combinedPolicy.IsAllowed(parentArgs))
    }
    
    // IsAllowedSTS is meant for STS based temporary credentials,
    // which implements claims validation and verification other than
    // applying policies.
    func (sys *IAMSys) IsAllowedSTS(args policy.Args, parentUser string) bool {
    	// 1. Determine mapped policies
    
    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)
Back to top