Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 133 for expiry (0.2 sec)

  1. docs/bucket/replication/setup_ilm_expiry_replication.sh

    if [ "$flag" != "false" ]; then
    	echo "BUG: ILM expiry replication not disabled for 'siteb'"
    	exit 1
    fi
    
    ## Perform individual updates of rules to sites
    ./mc ilm edit --id "${id}" --expire-days "999" sitea/bucket
    sleep 5s
    
    ./mc ilm edit --id "${id}" --expire-days "888" siteb/bucket # when ilm expiry re-enabled, this should win
    
    ## Check re-enabling of ILM expiry rules replication
    Shell Script
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 00:31:12 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    		ongoing: false,
    		expiry:  expiry.UTC(),
    	}
    }
    
    // String returns x-amz-restore compatible representation of r.
    func (r restoreObjStatus) String() string {
    	if r.Ongoing() {
    		return `ongoing-request="true"`
    	}
    	return fmt.Sprintf(`ongoing-request="false", expiry-date="%s"`, r.expiry.Format(http.TimeFormat))
    }
    
    // Expiry returns expiry of restored object and true if restore-object has completed.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 33.1K bytes
    - Viewed (0)
  3. cmd/sts-handlers.go

    		return
    	}
    
    	// Expiry is set as minimum of requested value and value allowed by auth
    	// plugin.
    	expiry := res.Success.MaxValiditySeconds
    	if durationParam != "" && requestedDuration < expiry {
    		expiry = requestedDuration
    	}
    
    	parentUser := "custom:" + res.Success.User
    
    	// metadata map
    	claims[expClaim] = UTCNow().Add(time.Duration(expiry) * time.Second).Unix()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  4. cmd/site-replication.go

    	}
    
    	mapClaims := claims.Map()
    	expiry, err := auth.ExpToInt64(mapClaims["exp"])
    	if err != nil {
    		return fmt.Errorf("Expiry claim was not found: %v: %w", mapClaims, err)
    	}
    
    	cred := auth.Credentials{
    		AccessKey:    stsCred.AccessKey,
    		SecretKey:    stsCred.SecretKey,
    		Expiration:   time.Unix(expiry, 0).UTC(),
    		SessionToken: stsCred.SessionToken,
    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)
  5. cmd/batch-expire.go

    	"github.com/minio/pkg/v2/wildcard"
    	"github.com/minio/pkg/v2/workers"
    	"gopkg.in/yaml.v3"
    )
    
    // expire: # Expire objects that match a condition
    //   apiVersion: v1
    //   bucket: mybucket # Bucket where this batch job will expire matching objects from
    //   prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below.
    //   rules:
    //     - type: object  # regular objects with zero or more older versions
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  6. cmd/postpolicyform.go

    func checkPostPolicy(formValues http.Header, postPolicyForm PostPolicyForm) error {
    	// Check if policy document expiry date is still not reached
    	if !postPolicyForm.Expiration.After(UTCNow()) {
    		return fmt.Errorf("Invalid according to Policy: Policy expired")
    	}
    	// check all formValues appear in postPolicyForm or return error. #https://github.com/minio/minio/issues/17391
    	checkHeader := map[string][]string{}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:54 GMT 2024
    - 12.2K bytes
    - Viewed (0)
  7. cmd/erasure-multipart.go

    func (er erasureObjects) cleanupStaleUploads(ctx context.Context, expiry time.Duration) {
    	// run multiple cleanup's local to this server.
    	var wg sync.WaitGroup
    	for _, disk := range er.getLocalDisks() {
    		if disk != nil {
    			wg.Add(1)
    			go func(disk StorageAPI) {
    				defer wg.Done()
    				er.cleanupStaleUploadsOnDisk(ctx, disk, expiry)
    			}(disk)
    		}
    	}
    	wg.Wait()
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 43K bytes
    - Viewed (0)
  8. cmd/jwt.go

    	"github.com/minio/pkg/v2/policy"
    )
    
    const (
    	jwtAlgorithm = "Bearer"
    
    	// Default JWT token for web handlers is one day.
    	defaultJWTExpiry = 24 * time.Hour
    
    	// Inter-node JWT token expiry is 15 minutes.
    	defaultInterNodeJWTExpiry = 15 * time.Minute
    )
    
    var (
    	errInvalidAccessKeyID = errors.New("The access key ID you provided does not exist in our records")
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:45:14 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. cmd/admin-handlers-site-replication.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    	// Report the ILMExpiryStats only if at least one site has replication of ILM expiry enabled
    	var replicateILMExpiry bool
    	for _, site := range info.Sites {
    		if site.ReplicateILMExpiry {
    			replicateILMExpiry = true
    			break
    		}
    	}
    	if !replicateILMExpiry {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 09:40:39 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  10. cmd/data-scanner.go

    	xioutil.SafeClose(d.cycle)
    	d.factor = factor
    	d.maxSleep = maxWait
    	d.cycle = make(chan struct{})
    	return nil
    }
    
    const (
    	// ILMExpiry - audit trail for ILM expiry
    	ILMExpiry = "ilm:expiry"
    	// ILMFreeVersionDelete - audit trail for ILM free-version delete
    	ILMFreeVersionDelete = "ilm:free-version-delete"
    	// ILMTransition - audit trail for ILM transitioning.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 22 17:49:30 GMT 2024
    - 47.4K bytes
    - Viewed (0)
Back to top