Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for type (2.88 sec)

  1. 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)
  2. cmd/bucket-targets.go

    			target.Secure == (ep.Scheme == "https") &&
    			target.Type == madmin.ReplicationService {
    			return target.Arn
    		}
    	}
    	return ""
    }
    
    // generate ARN that is unique to this target type
    func generateARN(t *madmin.BucketTarget, deplID string) string {
    	uuid := deplID
    	if uuid == "" {
    		uuid = mustGetUUID()
    	}
    	arn := madmin.ARN{
    		Type:   t.Type,
    		ID:     uuid,
    		Region: t.Region,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  3. internal/event/name.go

    import (
    	"encoding/json"
    	"encoding/xml"
    )
    
    // Name - event type enum.
    // Refer http://docs.aws.amazon.com/AmazonS3/latest/dev/NotificationHowTo.html#notification-how-to-event-types-and-destinations
    // for most basic values we have since extend this and its not really much applicable other than a reference point.
    // "s3:Replication:OperationCompletedReplication" is a MinIO extension.
    type Name int
    
    // Values of event Name
    const (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  4. internal/logger/console.go

    // ExitFunc is called by Fatal() class functions, by default it calls os.Exit()
    var ExitFunc = os.Exit
    
    // Logger interface describes the methods that need to be implemented to satisfy the interface requirements.
    type Logger interface {
    	json(msg string, args ...interface{})
    	quiet(msg string, args ...interface{})
    	pretty(msg string, args ...interface{})
    }
    
    func consoleLog(console Logger, msg string, args ...interface{}) {
    	switch {
    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)
  5. internal/bucket/lifecycle/rule.go

    package lifecycle
    
    import (
    	"bytes"
    	"encoding/xml"
    )
    
    // Status represents lifecycle configuration status
    type Status string
    
    // Supported status types
    const (
    	Enabled  Status = "Enabled"
    	Disabled Status = "Disabled"
    )
    
    // Rule - a rule for lifecycle configuration.
    type Rule struct {
    	XMLName             xml.Name            `xml:"Rule"`
    	ID                  string              `xml:"ID,omitempty"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/api-errors.go

    	RangeRequested   string `xml:"RangeRequested,omitempty" json:"RangeRequested,omitempty"`
    }
    
    // APIErrorCode type of error status.
    type APIErrorCode int
    
    //go:generate stringer -type=APIErrorCode -trimprefix=Err $GOFILE
    
    // Error codes, non exhaustive list - http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html
    const (
    	ErrNone APIErrorCode = iota
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (6)
  7. cmd/erasure-server-pool.go

    	setDriveCounts := make([]int, len(z.serverPools))
    	for i := range z.serverPools {
    		setDriveCounts[i] = z.serverPools[i].SetDriveCount()
    	}
    	return setDriveCounts
    }
    
    type serverPoolsAvailableSpace []poolAvailableSpace
    
    type poolAvailableSpace struct {
    	Index      int
    	Available  uint64 // in bytes
    	MaxUsedPct int    // Used disk percentage of most filled disk, rounded down.
    }
    
    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)
  8. cmd/object-handlers.go

    	if err != nil {
    		writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    		return
    	}
    
    	getObjectInfo := objectAPI.GetObjectInfo
    
    	// Check for auth type to return S3 compatible error.
    	// type to return the correct error (NoSuchKey vs AccessDenied)
    	if s3Error := checkRequestAuthType(ctx, r, policy.GetObjectAction, bucket, object); s3Error != ErrNone {
    		if getRequestAuthType(r) == authTypeAnonymous {
    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)
  9. cmd/erasure-object.go

    			// and SSE-S3 is specified do not preserve
    			// the incoming etag.
    			userDefined["etag"] = opts.PreserveETag
    		}
    	}
    
    	// Guess content-type from the extension if possible.
    	if userDefined["content-type"] == "" {
    		userDefined["content-type"] = mimedb.TypeByExtension(path.Ext(object))
    	}
    
    	// if storageClass is standard no need to save it as part of metadata.
    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)
  10. cmd/erasure-server-pool-decom.go

    			}
    		}(setIdx)
    	}
    	wk.Wait()
    	return nil
    }
    
    //msgp:ignore decomMetrics
    type decomMetrics struct{}
    
    var globalDecommissionMetrics decomMetrics
    
    //msgp:ignore decomMetric
    //go:generate stringer -type=decomMetric -trimprefix=decomMetric $GOFILE
    type decomMetric uint8
    
    const (
    	decomMetricDecommissionBucket decomMetric = iota
    	decomMetricDecommissionObject
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
Back to top