Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 653 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 1
    ./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 14 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 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 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/job/PurgeThumbnailJob.java

                return e.getMessage();
            }
        }
    
        public long getExpiry() {
            return expiry;
        }
    
        public PurgeThumbnailJob expiry(final long expiry) {
            if (expiry > 0) {
                this.expiry = expiry;
            }
            return this;
        }
    Java
    - Registered: Mon Apr 15 08:04:17 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  4. cmd/bucket-lifecycle_test.go

    		expectedStatus restoreObjStatus
    		expectedErr    error
    	}{
    		{
    			// valid: represents a restored object, 'pending' expiry.
    			restoreHdr: `ongoing-request="false", expiry-date="Fri, 21 Dec 2012 00:00:00 GMT"`,
    			expectedStatus: restoreObjStatus{
    				ongoing: false,
    				expiry:  time.Date(2012, 12, 21, 0, 0, 0, 0, time.UTC),
    			},
    			expectedErr: nil,
    		},
    		{
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Tue May 31 09:57:57 GMT 2022
    - 7K bytes
    - Viewed (0)
  5. internal/auth/credentials.go

    }
    
    var timeSentinel = time.Unix(0, 0).UTC()
    
    // ErrInvalidDuration invalid token expiry
    var ErrInvalidDuration = errors.New("invalid token expiry")
    
    // ExpToInt64 - convert input interface value to int64.
    func ExpToInt64(expI interface{}) (expAt int64, err error) {
    	switch exp := expI.(type) {
    	case string:
    		expAt, err = strconv.ParseInt(exp, 10, 64)
    	case float64:
    		expAt, err = int64(exp), nil
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  6. docs/sts/client-grants.go

    	}
    
    	var idpToken JWTToken
    	if err = json.NewDecoder(resp.Body).Decode(&idpToken); err != nil {
    		return nil, err
    	}
    
    	return &credentials.ClientGrantsToken{Token: idpToken.AccessToken, Expiry: idpToken.Expiry}, nil
    }
    
    func main() {
    	flag.Parse()
    	if clientID == "" || clientSecret == "" {
    		flag.PrintDefaults()
    		return
    	}
    
    	sts, err := credentials.NewSTSClientGrants(stsEndpoint, getTokenExpiry)
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Aug 19 01:35:22 GMT 2021
    - 3.3K bytes
    - Viewed (0)
  7. internal/bucket/lifecycle/lifecycle.go

    func (lc Lifecycle) eval(obj ObjectOpts, now time.Time) Event {
    	var events []Event
    	if obj.ModTime.IsZero() {
    		return Event{}
    	}
    
    	// Handle expiry of restored object; NB Restored Objects have expiry set on
    	// them as part of RestoreObject API. They aren't governed by lifecycle
    	// rules.
    	if !obj.RestoreExpires.IsZero() && now.After(obj.RestoreExpires) {
    		action := DeleteRestoredAction
    Go
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 17K bytes
    - Viewed (0)
  8. docs/bucket/lifecycle/DESIGN.md

    ### Expiry or removal events
    
    Plain Text
    - Registered: Sun Apr 14 19:28:10 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  9. 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 14 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 18:36:18 GMT 2024
    - 34.7K bytes
    - Viewed (2)
  10. src/main/java/org/codelibs/fess/app/service/JobLogService.java

            });
        }
    
        public void updateStatus() {
            final long expiry = ComponentUtil.getSystemHelper().getCurrentTimeAsLong() - expiredJobInterval;
            final List<JobLog> list = jobLogBhv.selectList(cb -> {
                cb.query().bool((must, should, mustNot, filter) -> {
                    must.setLastUpdated_LessEqual(expiry);
                    mustNot.setEndTime_Exists();
                });
            });
    Java
    - Registered: Mon Apr 15 08:04:17 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 4.2K bytes
    - Viewed (0)
Back to top