Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for myself (0.15 sec)

  1. internal/logger/console.go

    	tagPrinted := false
    
    	// Print the error message: the following code takes care
    	// of splitting error text and always pretty printing the
    	// red banner along with the error message. Since the error
    	// message itself contains some colored text, we needed
    	// to use some ANSI control escapes to cursor color state
    	// and freely move in the screen.
    	for _, line := range strings.Split(errMsg, "\n") {
    		if len(line) == 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:57:52 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    		Host:         handlers.GetSourceIP(r),
    	})
    }
    
    // GetObjectAttributesHandles - GET Object
    // -----------
    // This operation retrieves metadata and part metadata from an object without returning the object itself.
    func (api objectAPIHandlers) GetObjectAttributesHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "GetObjectAttributes")
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    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/object-api-errors.go

    type BucketRemoteIdenticalToSource struct {
    	GenericError
    	Endpoint string
    }
    
    func (e BucketRemoteIdenticalToSource) Error() string {
    	return fmt.Sprintf("Remote service endpoint %s is self referential to current cluster", e.Endpoint)
    }
    
    // BucketRemoteAlreadyExists remote already exists for this target type.
    type BucketRemoteAlreadyExists 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)
  4. cmd/api-errors.go

    // descriptions for all the error responses.
    var errorCodes = errorCodeMap{
    	ErrInvalidCopyDest: {
    		Code:           "InvalidRequest",
    		Description:    "This copy request is illegal because it is trying to copy an object to itself without changing the object's metadata, storage class, website redirect location or encryption attributes.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidCopySource: {
    		Code:           "InvalidArgument",
    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)
  5. cmd/erasure-server-pool.go

    	if len(prefix) > 0 && maxKeys == 1 && marker == "" {
    		// Optimization for certain applications like
    		// - Cohesity
    		// - Actifio, Splunk etc.
    		// which send ListObjects requests where the actual object
    		// itself is the prefix and max-keys=1 in such scenarios
    		// we can simply verify locally if such an object exists
    		// to avoid the need for ListObjects().
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  6. cmd/erasure-object.go

    	if !dstOpts.NoAuditLog {
    		auditObjectErasureSet(ctx, dstObject, &er)
    	}
    
    	// This call shouldn't be used for anything other than metadata updates or adding self referential versions.
    	if !srcInfo.metadataOnly {
    		return oi, NotImplemented{}
    	}
    
    	if !dstOpts.NoLock {
    		lk := er.NewNSLock(dstBucket, dstObject)
    		lkctx, err := lk.GetLock(ctx, globalOperationTimeout)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 77.2K bytes
    - Viewed (2)
  7. cmd/config-current.go

    			Description:     "publish bucket notifications to NSQ endpoints",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyMySQLSubSys,
    			Description:     "publish bucket notifications to MySQL databases",
    			MultipleTargets: true,
    		},
    		config.HelpKV{
    			Key:             config.NotifyPostgresSubSys,
    			Description:     "publish bucket notifications to Postgres databases",
    			MultipleTargets: true,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  8. cmd/endpoint-ellipses.go

    	}
    	return totalSizes
    }
    
    // Parses all arguments and returns an endpointSet which is a collection
    // of endpoints following the ellipses pattern, this is what is used
    // by the object layer for initializing itself.
    func parseEndpointSet(setDriveCount uint64, args ...string) (ep endpointSet, err error) {
    	argPatterns := make([]ellipses.ArgPattern, len(args))
    	for i, arg := range args {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  9. cmd/site-replication.go

    			if !(ps.Peers[id].ReplicateILMExpiry == peer.ReplicateILMExpiry) {
    				flagEqual = false
    				break
    			}
    		}
    		if flagEqual {
    			continue
    		}
    
    		// Dont apply the self state to self
    		if dID == globalDeploymentID() {
    			continue
    		}
    
    		// Send details to other sites for healing
    		admClient, err := c.getAdminClient(ctx, dID)
    		if err != nil {
    			return wrapSRErr(err)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  10. cmd/bucket-replication.go

    				switch err.(type) {
    				case BucketRemoteIdenticalToSource:
    					return true, errorCodes.ToAPIErrWithErr(ErrBucketRemoteIdenticalToSource, fmt.Errorf("remote target endpoint %s is self referential", c.EndpointURL().String()))
    				default:
    				}
    			}
    			if c.EndpointURL().String() == clnt.EndpointURL().String() {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 112.2K bytes
    - Viewed (1)
Back to top