Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for html (0.12 sec)

  1. chainable_api.go

    //	db.Where(User{Name: "jinzhu"}).Attrs(User{Email: "******@****.***"}).FirstOrInit(&user)
    //	// user -> User{Name: "jinzhu", Age: 20}
    //
    // [FirstOrCreate]: https://gorm.io/docs/advanced_query.html#FirstOrCreate
    // [FirstOrInit]: https://gorm.io/docs/advanced_query.html#FirstOrInit
    func (db *DB) Attrs(attrs ...interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.attrs = attrs
    	return
    }
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  2. src/archive/tar/format.go

    	//
    	// It is recommended that PAX be chosen over GNU unless the target
    	// application can only parse GNU formatted archives.
    	//
    	// Reference:
    	//	https://www.gnu.org/software/tar/manual/html_node/Standard.html
    	FormatGNU
    
    	// Schily's tar format, which is incompatible with USTAR.
    	// This does not cover STAR extensions to the PAX format; these fall under
    	// the PAX format.
    	formatSTAR
    
    	formatMax
    )
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 11.3K bytes
    - Viewed (0)
  3. internal/hash/reader.go

    func (r *Reader) SetExpectedMax(expectedMax int64) {
    	r.expectedMax = expectedMax
    }
    
    // AddChecksum will add checksum checks as specified in
    // https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html
    // Returns ErrInvalidChecksum if a problem with the checksum is found.
    func (r *Reader) AddChecksum(req *http.Request, ignoreValue bool) error {
    	cs, err := GetContentChecksum(req.Header)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 18 17:00:54 GMT 2023
    - 10.8K bytes
    - Viewed (0)
  4. cmd/bucket-object-lock.go

    					return ObjectLocked{}
    				}
    
    				if !ret.RetainUntilDate.Before(t) {
    					return ObjectLocked{}
    				}
    				return nil
    			}
    			// https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes
    			// If you try to delete objects protected by governance mode and have s3:BypassGovernanceRetention, the operation will succeed.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  5. cmd/signature-v2.go

    }
    
    // Signature and API related constants.
    const (
    	signV2Algorithm = "AWS"
    )
    
    // AWS S3 Signature V2 calculation rule is give here:
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/RESTAuthentication.html#RESTAuthenticationStringToSign
    func doesPolicySignatureV2Match(formValues http.Header) (auth.Credentials, APIErrorCode) {
    	accessKey := formValues.Get(xhttp.AmzAccessKeyID)
    
    	r := &http.Request{Header: formValues}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  6. finisher_api.go

    func (db *DB) Update(column string, value interface{}) (tx *DB) {
    	tx = db.getInstance()
    	tx.Statement.Dest = map[string]interface{}{column: value}
    	return tx.callbacks.Update().Execute(tx)
    }
    
    // Updates updates attributes using callbacks. values must be a struct or map. Reference: https://gorm.io/docs/update.html#Update-Changed-Fields
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Jan 12 08:42:21 GMT 2024
    - 22.7K bytes
    - Viewed (0)
  7. cmd/object-api-utils.go

    // separated by periods. Each label can contain lowercase ascii
    // letters, decimal digits and hyphens, but must not begin or end with
    // a hyphen. See:
    // http://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html
    func IsValidBucketName(bucket string) bool {
    	// Special case when bucket is equal to one of the meta buckets.
    	if isMinioMetaBucketName(bucket) {
    		return true
    	}
    	if len(bucket) < 3 || len(bucket) > 63 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  8. cmd/streaming-signature-v4.go

    	newSignature := getSignature(signingKey, stringToSign)
    
    	return newSignature
    }
    
    // calculateSeedSignature - Calculate seed signature in accordance with
    //   - http://docs.aws.amazon.com/AmazonS3/latest/API/sigv4-streaming.html
    //
    // returns signature, error otherwise if the signature mismatches or any other
    // error while parsing and validating.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  9. cmd/sts-datatypes.go

    	// AssumeRole action. For more information about ARNs and how to use them in
    	// policies, see IAM Identifiers (http://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html)
    	// in Using IAM.
    	//
    	// Arn is a required field
    	Arn string
    
    	// A unique identifier that contains the role ID and the role session name of
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  10. cmd/update.go

    	return
    }
    
    const (
    	// Kubernetes deployment doc link.
    	kubernetesDeploymentDoc = "https://min.io/docs/minio/kubernetes/upstream/index.html#quickstart-for-kubernetes"
    
    	// Mesos deployment doc link.
    	mesosDeploymentDoc = "https://min.io/docs/minio/kubernetes/upstream/index.html#quickstart-for-kubernetes"
    )
    
    func getDownloadURL(releaseTag string) (downloadURL string) {
    	// Check if we are in DCOS environment, return
    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