Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for rotation (0.18 sec)

  1. internal/logger/logrotate.go

    	// When FileNameFunc is not specified, DefaultFilenameFunc will be used.
    	FileNameFunc func() string
    
    	// Compress specify if you want the logs to be compressed after rotation.
    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 11:38:40 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    //go:generate msgp -file $GOFILE -unexported
    
    // BatchKeyRotationType defines key rotation type
    type BatchKeyRotationType string
    
    const (
    	sses3  BatchKeyRotationType = "sse-s3"
    	ssekms BatchKeyRotationType = "sse-kms"
    )
    
    // BatchJobKeyRotateEncryption defines key rotation encryption options passed
    type BatchJobKeyRotateEncryption struct {
    	Type       BatchKeyRotationType `yaml:"type" json:"type"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/object-handlers.go

    	// - the object is encrypted using SSE-S3 and the SSE-S3 header is present
    	// - the object storage class is not changing
    	// then execute a key rotation.
    	if cpSrcDstSame && (sseCopyC && sseC) && !chStorageClass {
    		oldKey, err = ParseSSECopyCustomerRequest(r.Header, srcInfo.UserDefined)
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    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)
  4. internal/bucket/lifecycle/rule.go

    	return r.NoncurrentVersionTransition.Validate()
    }
    
    // GetPrefix - a rule can either have prefix under <rule></rule>, <filter></filter>
    // or under <filter><and></and></filter>. This method returns the prefix from the
    // location where it is available.
    func (r Rule) GetPrefix() string {
    	if p := r.Prefix.String(); p != "" {
    		return p
    	}
    	if p := r.Filter.Prefix.String(); p != "" {
    		return p
    	}
    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)
  5. cmd/object-multipart-handlers.go

    		defer globalReplicationStats.UpdateReplicaStat(bucket, actualSize)
    	}
    
    	// Get object location.
    	location := getObjectLocation(r, globalDomainNames, bucket, object)
    	// Generate complete multipart response.
    	response := generateCompleteMultpartUploadResponse(bucket, object, location, objInfo)
    	encodedSuccessResponse := encodeResponse(response)
    
    	// Write success response.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 28 17:44:56 GMT 2024
    - 39K bytes
    - Viewed (0)
  6. cmd/encryption-v1.go

    )
    
    var (
    	// AWS errors for invalid SSE-C requests.
    	errEncryptedObject                = errors.New("The object was stored using a form of SSE")
    	errInvalidSSEParameters           = errors.New("The SSE-C key for key-rotation is not correct") // special access denied
    	errKMSNotConfigured               = errors.New("KMS not configured for a server side encrypted objects")
    	errKMSKeyNotFound                 = errors.New("Unknown KMS key ID")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 36.5K bytes
    - Viewed (0)
  7. cmd/sts-handlers_test.go

    	}
    
    	assumeRole := cr.STSAssumeRole{
    		Client:      s.TestSuiteCommon.client,
    		STSEndpoint: s.endPoint,
    		Options: cr.STSAssumeRoleOptions{
    			AccessKey: "dillon",
    			SecretKey: "dillon-123",
    			Location:  "",
    		},
    	}
    
    	value, err := assumeRole.Retrieve()
    	if err != nil {
    		c.Fatalf("Expected to generate STS creds, got err: %#v", err)
    	}
    
    	// Check that the LDAP sts cred is actually working.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  8. cmd/globals.go

    	GlobalStaleUploadsCleanupInterval = time.Hour * 6 // 6 hrs.
    
    	// Refresh interval to update in-memory iam config cache.
    	globalRefreshIAMInterval = 10 * time.Minute
    
    	// Limit of location constraint XML for unauthenticated PUT bucket operations.
    	maxLocationConstraintSize = 3 * humanize.MiByte
    
    	// Maximum size of default bucket encryption configuration allowed
    	maxBucketSSEConfigSize = 1 * humanize.MiByte
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 16.5K bytes
    - Viewed (0)
  9. cmd/api-errors.go

    	},
    	ErrParseAsteriskIsNotAloneInSelectList: {
    		Code:           "ParseAsteriskIsNotAloneInSelectList",
    		Description:    "Other expressions are not allowed in the SELECT list when '*' is used without dot notation in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseCannotMixSqbAndWildcardInSelectList: {
    		Code:           "ParseCannotMixSqbAndWildcardInSelectList",
    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)
  10. cmd/auth-handler.go

    		payload, err := io.ReadAll(io.LimitReader(r.Body, maxLocationConstraintSize))
    		if err != nil {
    			authZLogIf(ctx, err, logger.ErrorKind)
    			return ErrMalformedXML
    		}
    
    		// Populate payload to extract location constraint.
    		r.Body = io.NopCloser(bytes.NewReader(payload))
    		region, s3Err = parseLocationConstraint(r)
    		if s3Err != ErrNone {
    			return s3Err
    		}
    
    		// Populate payload again to handle it in HTTP handler.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 26K bytes
    - Viewed (0)
Back to top