Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 87 for valido (0.15 sec)

  1. internal/jwt/parser.go

    func (c *StandardClaims) SetAccessKey(accessKey string) {
    	c.Subject = accessKey
    	c.AccessKey = accessKey
    }
    
    // Valid - implements https://godoc.org/github.com/golang-jwt/jwt#Claims compatible
    // claims interface, additionally validates "accessKey" fields.
    func (c *StandardClaims) Valid() error {
    	if err := c.StandardClaims.Valid(); err != nil {
    		return err
    	}
    
    	if c.AccessKey == "" && c.Subject == "" {
    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)
  2. internal/hash/checksum.go

    		}
    		n := binary.PutUvarint(tmp[:], uint64(checksums))
    		b = append(b, tmp[:n]...)
    		if len(parts) > 0 {
    			b = append(b, parts...)
    		}
    	}
    	return b
    }
    
    // Valid returns whether checksum is valid.
    func (c Checksum) Valid() bool {
    	if c.Type == ChecksumInvalid {
    		return false
    	}
    	if len(c.Encoded) == 0 || c.Type.Trailing() {
    		return c.Type.Is(ChecksumNone) || c.Type.Trailing()
    	}
    	raw := c.Raw
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. cmd/auth-handler.go

    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingV4(r *http.Request) bool {
    	return r.Header.Get(xhttp.AmzContentSha256) == streamingContentSHA256 &&
    		r.Method == http.MethodPut
    }
    
    // Verify if the request has AWS Streaming Signature Version '4'. This is only valid for 'PUT' operation.
    func isRequestSignStreamingTrailerV4(r *http.Request) bool {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
  4. cmd/object-api-errors.go

    	return "Remote with this label already exists for this bucket: " + e.Bucket
    }
    
    // BucketRemoteArnTypeInvalid arn type for remote is not valid.
    type BucketRemoteArnTypeInvalid GenericError
    
    func (e BucketRemoteArnTypeInvalid) Error() string {
    	return "Remote ARN type not valid: " + e.Bucket
    }
    
    // BucketRemoteArnInvalid arn needs to be specified.
    type BucketRemoteArnInvalid GenericError
    
    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)
  5. docs/sts/web-identity.md

    | Params        | Value                                              |
    | :--           | :--                                                |
    | *Type*        | *Integer*                                          |
    | *Valid Range* | *Minimum value of 900. Maximum value of 31536000.* |
    | *Required*    | *No*                                               |
    
    ### Policy
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 19.2K bytes
    - Viewed (1)
  6. internal/s3select/select.go

    	"github.com/minio/pkg/v2/env"
    	"github.com/minio/simdjson-go"
    	"github.com/pierrec/lz4"
    )
    
    type recordReader interface {
    	// Read a record.
    	// dst is optional but will be used if valid.
    	Read(dst sql.Record) (sql.Record, error)
    	Close() error
    }
    
    const (
    	csvFormat     = "csv"
    	jsonFormat    = "json"
    	parquetFormat = "parquet"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  7. docs/debugging/xl-meta/main.go

    			hh, _ := highwayhash.New([]byte(magicHighwayHash256Key))
    			hh.Write(data)
    			got := hh.Sum(nil)
    			if bytes.Equal(want, got) {
    				s += ", \"bitrot_valid\": true"
    			} else {
    				s += ", \"bitrot_valid\": false"
    			}
    			s += "}"
    		}
    		res = append(res, []byte(s)...)
    	}
    	res = append(res, '}')
    	return res, nil
    }
    
    // files returns files as callback.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  8. internal/s3select/sql/value.go

    		return nil
    	}
    
    	if t, err := parseSQLTimestamp(asString); err == nil {
    		v.setTimestamp(t)
    		return nil
    	}
    	if !utf8.Valid(b) {
    		return errors.New("value is not valid utf-8")
    	}
    	// Fallback to string
    	v.setString(asString)
    	return
    }
    
    // When numeric types are compared, type promotions could happen. If
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 25 20:31:19 GMT 2022
    - 20.2K bytes
    - Viewed (0)
  9. cmd/encryption-v1_test.go

    	},
    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "20000f00f27834c9a2654927546df57f9e998187496394d4ee80f3d9978f85f3c7d81f72600cdbe03d80dc5a13d6935"},
    		ETag:       "",
    		ShouldFail: true, // ETag is not a valid hex value
    	},
    	{
    		ObjectKey:  [32]byte{},
    		ObjectInfo: ObjectInfo{ETag: "00000f00f27834c9a2654927546df57f9e998187496394d4ee80f3d9978f85f3c7d81f72600cdbe03d80dc5a13d69354"},
    		ETag:       "",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Sep 24 04:17:08 GMT 2022
    - 19.9K bytes
    - Viewed (0)
  10. cmd/update.go

    	fields := strings.Split(releaseTag, ".")
    	if len(fields) < 2 || len(fields) > 4 {
    		return releaseTime, fmt.Errorf("%s is not a valid release tag", releaseTag)
    	}
    	if fields[0] != "RELEASE" {
    		return releaseTime, fmt.Errorf("%s is not a valid release tag", releaseTag)
    	}
    	return time.Parse(MinioReleaseTagTimeLayout, fields[1])
    }
    
    // getModTime - get the file modification time of `path`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 18.7K bytes
    - Viewed (0)
Back to top