Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for Here (0.09 sec)

  1. cmd/warm-backend-s3.go

    		if err := gopts.SetRange(opts.startOffset, opts.startOffset+opts.length-1); err != nil {
    			return nil, s3.ToObjectError(err, object)
    		}
    	}
    	c := &minio.Core{Client: s3.client}
    	// Important to use core primitives here to pass range get options as is.
    	r, _, _, err := c.GetObject(ctx, s3.Bucket, s3.getDest(object), gopts)
    	if err != nil {
    		return nil, s3.ToObjectError(err, object)
    	}
    	return r, nil
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. internal/event/target/mqtt.go

    	return nil
    }
    
    func (target *MQTTTarget) init() error {
    	return target.initOnce.Do(target.initMQTT)
    }
    
    func (target *MQTTTarget) initMQTT() error {
    	args := target.args
    
    	// Using hex here, to make sure we avoid 23
    	// character limit on client_id according to
    	// MQTT spec.
    	clientID := fmt.Sprintf("%x", time.Now().UnixNano())
    
    	options := mqtt.NewClientOptions().
    		SetClientID(clientID).
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. cmd/warm-backend-minio.go

    	minPartSize               = 1024 * 1024 * 128 // chosen by us to be optimal for HDDs
    )
    
    // optimalPartInfo - calculate the optimal part info for a given
    // object size.
    //
    // NOTE: Assumption here is that for any object to be uploaded to any S3 compatible
    // object storage it will have the following parameters as constants.
    //
    //	maxPartsCount - 10000
    //	maxMultipartPutObjectSize - 5TiB
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 21 11:43:18 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. internal/http/transports.go

    		CipherSuites:       s.CipherSuites,
    		CurvePreferences:   s.CurvePreferences,
    		ClientSessionCache: tls.NewLRUClientSessionCache(tlsClientSessionCacheSize),
    	}
    
    	// For more details about various values used here refer
    	// https://golang.org/pkg/net/http/#Transport documentation
    	tr := &http.Transport{
    		Proxy:                 http.ProxyFromEnvironment,
    		DialContext:           dialContext,
    		MaxIdleConnsPerHost:   maxIdleConnsPerHost,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. cmd/typed-errors.go

    // error returned when more than a single policy is specified when only one is
    // expected.
    var errTooManyPolicies = errors.New("Only a single policy may be specified here.")
    
    // error returned in IAM subsystem when an external users systems is configured.
    var errIAMActionNotAllowed = errors.New("Specified IAM action is not allowed")
    
    // error returned in IAM service account
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 28 17:14:16 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. cmd/signature-v4-utils.go

    // in http://docs.aws.amazon.com/general/latest/gr/sigv4-create-canonical-request.html
    func signV4TrimAll(input string) string {
    	// Compress adjacent spaces (a space is determined by
    	// unicode.IsSpace() internally here) to one space and return
    	return strings.Join(strings.Fields(input), " ")
    }
    
    // checkMetaHeaders will check if the metadata from header/url is the same with the one from signed headers
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  7. cmd/xl-storage-format-v2-legacy.go

    				break
    			}
    		}
    		if allEmpty {
    			j.ObjectV2.PartETags = nil
    		}
    	}
    	return o, err
    }
    
    // xlMetaV2VersionHeaderV2 is a version 2 of xlMetaV2VersionHeader before EcN and EcM were added.
    type xlMetaV2VersionHeaderV2 struct {
    	*xlMetaV2VersionHeader
    }
    
    // UnmarshalMsg implements msgp.Unmarshaler
    func (z *xlMetaV2VersionHeaderV2) UnmarshalMsg(bts []byte) (o []byte, err error) {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 19 16:43:43 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. internal/kms/secret-key.go

    	Bytes     []byte
    }
    
    // UnmarshalJSON parses the given text as JSON-encoded
    // ciphertext.
    //
    // UnmarshalJSON provides backward-compatible unmarsahaling
    // of existing ciphertext. In the past, ciphertexts were
    // JSON-encoded. Now, ciphertexts are binary-encoded.
    // Therefore, there is no MarshalJSON implementation.
    func (c *ciphertext) UnmarshalJSON(text []byte) error {
    	const (
    		IVSize    = 16
    		NonceSize = 12
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 07 23:55:37 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cluster-notification.go

    	notificationEventsErrorsTotalMD     = NewCounterMD(notificationEventsErrorsTotal, "Events that were failed to be sent to the targets")
    	notificationEventsSentTotalMD       = NewCounterMD(notificationEventsSentTotal, "Total number of events sent to the targets")
    	notificationEventsSkippedTotalMD    = NewCounterMD(notificationEventsSkippedTotal, "Events that were skipped to be sent to the targets due to the in-memory queue being full")
    )
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Apr 24 04:10:35 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. internal/event/targetlist.go

    	return found
    }
    
    // TargetIDResult returns result of Remove/Send operation, sets err if
    // any for the associated TargetID
    type TargetIDResult struct {
    	// ID where the remove or send were initiated.
    	ID TargetID
    	// Stores any error while removing a target or while sending an event.
    	Err error
    }
    
    // Remove - closes and removes targets by given target IDs.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top