Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 182 for validator (0.14 sec)

  1. 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)
  2. internal/bucket/replication/filter.go

    	return e.EncodeToken(xml.EndElement{Name: start.Name})
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	// A Filter must have exactly one of Prefix, Tag, or And specified.
    	if !f.And.isEmpty() {
    		if f.Prefix != "" {
    			return errInvalidFilter
    		}
    		if !f.Tag.IsEmpty() {
    			return errInvalidFilter
    		}
    		if err := f.And.Validate(); err != nil {
    			return err
    		}
    	}
    	if f.Prefix != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Sep 28 18:25:46 GMT 2022
    - 3.5K bytes
    - Viewed (2)
  3. cmd/batch-expire.go

    		}
    	}
    
    	for _, tag := range ef.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range ef.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    	if err := ef.Purge.Validate(); err != nil {
    		return err
    	}
    	if err := ef.Size.Validate(); err != nil {
    		return err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  4. internal/bucket/lifecycle/transition.go

    	var trw transitionWrapper
    	err := d.DecodeElement(&trw, &startElement)
    	if err != nil {
    		return err
    	}
    	*t = Transition(trw)
    	t.set = true
    	return nil
    }
    
    // Validate - validates the "Transition" element
    func (t Transition) Validate() error {
    	if !t.set {
    		return nil
    	}
    
    	if !t.IsDateNull() && t.Days > 0 {
    		return errTransitionInvalid
    	}
    
    	if t.StorageClass == "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Jan 10 17:07:49 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  5. internal/config/storageclass/storage-class.go

    			ssParity, minParityDrives)
    	}
    
    	if ssParity > setDriveCount/2 {
    		return fmt.Errorf("parity %d should be less than or equal to %d", ssParity, setDriveCount/2)
    	}
    
    	return nil
    }
    
    // Validates the parity drives.
    func validateParity(ssParity, rrsParity, setDriveCount int) (err error) {
    	// SS parity drives should be greater than or equal to minParityDrives.
    	// Parity below minParityDrives is not supported.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  6. internal/event/target/postgresql.go

    		if f != event.NamespaceFormat && f != event.AccessFormat {
    			return fmt.Errorf("unrecognized format value")
    		}
    	}
    
    	if p.ConnectionString != "" {
    		// No pq API doesn't help to validate connection string
    		// prior connection, so no validation for now.
    	} else {
    		// Some fields need to be specified when ConnectionString is unspecified
    		if p.Port == "" {
    			return fmt.Errorf("unspecified port")
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:51:07 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  7. cmd/batch-rotate.go

    	}
    	if err := r.Encryption.Validate(); err != nil {
    		return err
    	}
    
    	for _, tag := range r.Flags.Filter.Tags {
    		if err := tag.Validate(); err != nil {
    			return err
    		}
    	}
    
    	for _, meta := range r.Flags.Filter.Metadata {
    		if err := meta.Validate(); err != nil {
    			return err
    		}
    	}
    
    	if err := r.Flags.Retry.Validate(); err != nil {
    		return err
    	}
    	return nil
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  8. internal/bucket/lifecycle/noncurrentversion_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import "testing"
    
    func Test_NoncurrentVersionsExpiration_Validation(t *testing.T) {
    	testcases := []struct {
    		n   NoncurrentVersionExpiration
    		err error
    	}{
    		{
    			n: NoncurrentVersionExpiration{
    				NoncurrentDays:          0,
    				NewerNoncurrentVersions: 0,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Dec 14 17:41:44 GMT 2021
    - 2.1K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/filter.go

    			}
    		}
    	}
    	return nil
    }
    
    // IsEmpty returns true if Filter is not specified in the XML
    func (f Filter) IsEmpty() bool {
    	return !f.set
    }
    
    // Validate - validates the filter element
    func (f Filter) Validate() error {
    	if f.IsEmpty() {
    		return errXMLNotWellFormed
    	}
    	// A Filter must have exactly one of Prefix, Tag,
    	// ObjectSize{LessThan,GreaterThan} or And specified.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 27 00:01:20 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  10. cmd/auth-handler_test.go

    			t.Errorf("Test %d: Expected the result to `%v`, but instead got `%v`", i+1, testCase.expectedResult, actualResult)
    		}
    	}
    }
    
    // TestIsRequestPresignedSignatureV4 - Test validates the logic for presign signature version v4 detection.
    func TestIsRequestPresignedSignatureV4(t *testing.T) {
    	testCases := []struct {
    		inputQueryKey   string
    		inputQueryValue string
    		expectedResult  bool
    	}{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top