Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 240 for Lock (0.18 sec)

  1. internal/bucket/object/lock/lock.go

    	AmzObjectLockRetainUntilDate     = "X-Amz-Object-Lock-Retain-Until-Date"
    	AmzObjectLockMode                = "X-Amz-Object-Lock-Mode"
    	AmzObjectLockLegalHold           = "X-Amz-Object-Lock-Legal-Hold"
    )
    
    var (
    	// ErrMalformedBucketObjectConfig -indicates that the bucket object lock config is malformed
    	ErrMalformedBucketObjectConfig = errors.New("invalid bucket object lock config")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. internal/bucket/object/lock/lock_test.go

    				"x-amz-object-lock-mode":              "governance",
    				"x-amz-object-lock-retain-until-date": "2020-02-01",
    			},
    			expected:        map[string]string{},
    			filterRetention: true,
    			filterLegalHold: true,
    		},
    		{
    			metadata: map[string]string{
    				"x-amz-object-lock-legal-hold":        "on",
    				"x-amz-object-lock-mode":              "governance",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  3. cmd/bucket-object-lock.go

    					return ObjectLocked{}
    				}
    
    				if !ret.RetainUntilDate.Before(t) {
    					return ObjectLocked{}
    				}
    				return nil
    			}
    			// https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock-overview.html#object-lock-retention-modes
    			// If you try to delete objects protected by governance mode and have s3:BypassGovernanceRetention, the operation will succeed.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 13.2K bytes
    - Viewed (0)
  4. requirements_lock_3_11.txt

    dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 12 04:38:53 GMT 2024
    - 43.8K bytes
    - Viewed (0)
  5. requirements_lock_3_10.txt

    dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 12 04:38:53 GMT 2024
    - 43.8K bytes
    - Viewed (0)
  6. requirements_lock_3_12.txt

    dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 12 04:38:53 GMT 2024
    - 44.4K bytes
    - Viewed (0)
  7. requirements_lock_3_9.txt

    dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 1712896733 +0000
    Plain Text
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Fri Apr 12 04:38:53 GMT 2024
    - 44.2K bytes
    - Viewed (0)
  8. internal/kms/kes.go

    func (c *kesClient) Metrics(ctx context.Context) (kes.Metric, error) {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	return c.client.Metrics(ctx)
    }
    
    // Version retrieves version information
    func (c *kesClient) Version(ctx context.Context) (string, error) {
    	c.lock.RLock()
    	defer c.lock.RUnlock()
    
    	return c.client.Version(ctx)
    }
    
    // APIs retrieves a list of supported API endpoints
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Apr 16 15:43:39 GMT 2024
    - 14.9K bytes
    - Viewed (0)
  9. internal/dsync/drwmutex.go

    	}
    }
    
    // Lock holds a write lock on dm.
    //
    // If the lock is already in use, the calling go routine
    // blocks until the mutex is available.
    func (dm *DRWMutex) Lock(id, source string) {
    	isReadLock := false
    	dm.lockBlocking(context.Background(), nil, id, source, isReadLock, Options{
    		Timeout: drwMutexInfinite,
    	})
    }
    
    // Options lock options.
    type Options struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  10. cmd/local-locker.go

    	TimeLastRefresh time.Time // Timestamp for last lock refresh.
    	Source          string    // Contains line, function and filename requesting the lock.
    	Group           bool      // indicates if it was a group lock.
    	Owner           string    // Owner represents the UUID of the owner who originally requested the lock.
    	Quorum          int       // Quorum represents the quorum required for this lock to be active.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 19 22:54:46 GMT 2024
    - 10.6K bytes
    - Viewed (0)
Back to top