Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Action (0.21 sec)

  1. cmd/bucket-replication.go

    	startTime := time.Now()
    	bucket := ri.Bucket
    	object := ri.Name
    
    	// set defaults for replication action based on operation being performed - actual
    	// replication action can only be determined after stat on remote. This default is
    	// needed for updating replication metrics correctly when target is offline.
    	rAction := replicateMetadata
    
    	rinfo = replicatedTargetInfo{
    		Size:                  ri.ActualSize,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 112.2K bytes
    - Viewed (1)
  2. cmd/site-replication.go

    	// until peers are synced in site replication setup.
    	MarkDelete SRBucketDeleteOp = "MarkDelete"
    
    	// Purge deletes the .minio.sys/buckets/.deleted/<bucket> vol entry
    	Purge SRBucketDeleteOp = "Purge"
    	// NoOp no action needed
    	NoOp SRBucketDeleteOp = "NoOp"
    )
    
    // Empty returns true if this Op is not set
    func (s SRBucketDeleteOp) Empty() bool {
    	return string(s) == "" || string(s) == string(NoOp)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 184.1K bytes
    - Viewed (1)
  3. cmd/object-handlers.go

    				return
    			}
    			event := evalActionFromLifecycle(ctx, *lc, rcfg, replcfg, objInfo)
    			if event.Action.Delete() {
    				// apply whatever the expiry rule is.
    				applyExpiryRule(event, lcEventSrc_s3GetObject, objInfo)
    				if !event.Action.DeleteRestored() {
    					// If the ILM action is not on restored object return error.
    					writeErrorResponse(ctx, w, errorCodes.ToAPIErr(ErrNoSuchKey), r.URL)
    					return
    				}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 125K bytes
    - Viewed (0)
  4. cmd/metrics-v2.go

    					Help:      "Total number of object versions checked for ilm actions since server start",
    					Type:      counterMetric,
    				},
    				Value: float64(globalScannerMetrics.lifetime(scannerMetricILM)),
    			},
    		}
    		for i := range globalScannerMetrics.actions {
    			action := lifecycle.Action(i)
    			v := globalScannerMetrics.lifetimeActions(action)
    			if v == 0 {
    				continue
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  5. cmd/object-handlers_test.go

    //
    // This program is free software: you can redistribute it and/or modify
    // it under the terms of the GNU Affero General Public License as published by
    // the Free Software Foundation, either version 3 of the License, or
    // (at your option) any later version.
    //
    // This program is distributed in the hope that it will be useful
    // but WITHOUT ANY WARRANTY; without even the implied warranty of
    // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 160K bytes
    - Viewed (0)
  6. cmd/server_test.go

    func (s *TestSuiteCommon) TestBucketPolicy(c *check) {
    	// Sample bucket policy.
    	bucketPolicyBuf := `{"Version":"2012-10-17","Statement":[{"Action":["s3:GetBucketLocation","s3:ListBucket"],"Effect":"Allow","Principal":{"AWS":["*"]},"Resource":["arn:aws:s3:::%s"]},{"Action":["s3:GetObject"],"Effect":"Allow","Principal":{"AWS":["*"]},"Resource":["arn:aws:s3:::%s/this*"]}]}`
    
    	// generate a random bucket Name.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 108K bytes
    - Viewed (0)
Back to top