Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 289 for Tata (0.72 sec)

  1. internal/event/target/webhook.go

    	if err != nil {
    		return err
    	}
    	key := eventData.S3.Bucket.Name + "/" + objectName
    
    	data, err := json.Marshal(event.Log{EventName: eventData.EventName, Key: key, Records: []event.Event{eventData}})
    	if err != nil {
    		return err
    	}
    
    	req, err := http.NewRequest(http.MethodPost, target.args.Endpoint.String(), bytes.NewReader(data))
    	if err != nil {
    		return err
    	}
    
    	// Verify if the authToken already contains
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 20 22:40:07 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	if update {
    		if globalCacheConfig.MatchesSize(objInfo.Size) {
    			buf = bytebufferpool.Get()
    			defer bytebufferpool.Put(buf)
    		}
    		defer func() {
    			var data []byte
    			if buf != nil {
    				data = buf.Bytes()
    			}
    
    			asize, err := objInfo.GetActualSize()
    			if err != nil {
    				asize = objInfo.Size
    			}
    
    			globalCacheConfig.Set(&cache.ObjectInfo{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  3. cmd/signature-v4-utils.go

    		owner = false
    	}
    
    	return cred, owner, ErrNone
    }
    
    // sumHMAC calculate hmac between two input byte array.
    func sumHMAC(key []byte, data []byte) []byte {
    	hash := hmac.New(sha256.New, key)
    	hash.Write(data)
    	return hash.Sum(nil)
    }
    
    // extractSignedHeaders extract signed headers from Authorization header
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
  4. internal/grid/README.md

    and furthermore provides reuse of the structs used for the request and response.
    
    Note that Responses sent for serialization are automatically reused for similar requests.
    If the response contains shared data it will cause issues, since each unique response is reused.
    To disable this behavior, use `(SingleHandler).WithSharedResponse()` to disable it.
    
    ## Streaming Requests
    
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    	},
    	ErrCastFailed: {
    		Code:           "CastFailed",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCast: {
    		Code:           "InvalidCast",
    		Description:    "Attempt to convert from one data type to another using CAST failed in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  6. Dockerfile.release.old_cpu

    COPY --from=build /go/bin/cur* /usr/bin/
    
    COPY CREDITS /licenses/CREDITS
    COPY LICENSE /licenses/LICENSE
    COPY dockerscripts/docker-entrypoint.sh /usr/bin/docker-entrypoint.sh
    
    EXPOSE 9000
    VOLUME ["/data"]
    
    ENTRYPOINT ["/usr/bin/docker-entrypoint.sh"]
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 30 09:41:56 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  7. internal/hash/checksum.go

    	return c.Is(ChecksumTrailing)
    }
    
    // NewChecksumFromData returns a new checksum from specified algorithm and base64 encoded value.
    func NewChecksumFromData(t ChecksumType, data []byte) *Checksum {
    	if !t.IsSet() {
    		return nil
    	}
    	h := t.Hasher()
    	h.Write(data)
    	raw := h.Sum(nil)
    	c := Checksum{Type: t, Encoded: base64.StdEncoding.EncodeToString(raw), Raw: raw}
    	if !c.Valid() {
    		return nil
    	}
    	return &c
    }
    
    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)
  8. internal/event/target/kafka.go

    	}
    
    	key := eventData.S3.Bucket.Name + "/" + objectName
    	data, err := json.Marshal(event.Log{EventName: eventData.EventName, Key: key, Records: []event.Event{eventData}})
    	if err != nil {
    		return nil, err
    	}
    
    	return &sarama.ProducerMessage{
    		Topic: target.args.Topic,
    		Key:   sarama.StringEncoder(key),
    		Value: sarama.ByteEncoder(data),
    	}, nil
    }
    
    // Close - closes underneath kafka connection.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 13K bytes
    - Viewed (0)
  9. internal/config/etcd/etcd.go

    	}
    
    	cfg.Enabled = true
    	cfg.DialTimeout = defaultDialTimeout
    	cfg.DialKeepAliveTime = defaultDialKeepAlive
    	// Disable etcd client SDK logging, etcd client
    	// incorrectly starts logging in unexpected data
    	// format.
    	cfg.LogConfig = &zap.Config{
    		Level:    zap.NewAtomicLevelAt(zap.FatalLevel),
    		Encoding: "console",
    	}
    	cfg.Endpoints = etcdEndpoints
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. cmd/metrics.go

    	// Service not initialized yet
    	if objLayer == nil {
    		return
    	}
    
    	dataUsageInfo, err := loadDataUsageFromBackend(GlobalContext, objLayer)
    	if err != nil {
    		return
    	}
    	// data usage has not captured any data yet.
    	if dataUsageInfo.LastUpdate.IsZero() {
    		return
    	}
    
    	for bucket, usageInfo := range dataUsageInfo.BucketsUsage {
    		stat := globalReplicationStats.getLatestReplicationStats(bucket)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
Back to top