Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 179 for expiration (0.15 seconds)

  1. cmd/bucket-lifecycle-handlers_test.go

    			secretKey:          creds.SecretKey,
    			body:               []byte(`<LifecycleConfiguration><Rule><ID>id</ID><Filter><Prefix>logs/</Prefix><Tag><Key>Key1</Key><Value>Value1</Value></Tag></Filter><Status>Enabled</Status><Expiration><Days>365</Days></Expiration></Rule></LifecycleConfiguration>`),
    			expectedRespStatus: http.StatusBadRequest,
    			lifecycleResponse:  []byte(``),
    			errorResponse: APIErrorResponse{
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jun 10 15:50:49 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/util/transport/ResponseTest.java

            verify(mockResponse, times(1)).error();
        }
    
        @Test
        void testGetExpiration() {
            Long expiration = 123456789L;
            when(mockResponse.getExpiration()).thenReturn(expiration);
            assertEquals(expiration, mockResponse.getExpiration());
    
            // Test null expiration
            when(mockResponse.getExpiration()).thenReturn(null);
            assertNull(mockResponse.getExpiration());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  3. docs/bucket/lifecycle/README.md

    This is available only on MinIO as an extension to the Expiration feature. The following rule makes it possible to remove all versions of an object under 
    the prefix `user-uploads/` as soon as the latest object satisfies the expiration criteria. 
    
    > NOTE: If the latest object is a delete marker then filtering based on `Filter.Tags` is ignored and 
    > if the DELETE marker modTime satisfies the `Expiration.Days` then all versions of the object are 
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  4. cmd/post-policy_test.go

    )
    
    const (
    	iso8601DateFormat = "20060102T150405Z"
    )
    
    func newPostPolicyBytesV4WithContentRange(credential, bucketName, objectKey string, expiration time.Time) []byte {
    	t := UTCNow()
    	// Add the expiration date.
    	expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat))
    	// Add the bucket condition, only accept buckets equal to the one passed.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 30.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb1/smb1/DfsReferral.java

        public String path; // Path relative to tree from which this referral was thrown
        /** Whether to resolve hashes in the path */
        public boolean resolveHashes;
        /** Expiration time for this referral entry */
        public long expiration;
    
        /** The next DFS referral in the chain */
        DfsReferral next;
        /** Map containing DFS referral entries */
        Map map;
        /** The cache key for this referral */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/util/transport/Response.java

        /**
         * Default constructor for Response.
         */
        public Response() {
            // Default constructor
        }
    
        /**
         * The expiration time for this response in milliseconds.
         */
        public long expiration;
        /**
         * Flag indicating whether this response has been received.
         */
        public boolean isReceived;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 557 bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EchoResponseTest.java

            }
        }
    
        @Nested
        @DisplayName("Expiration Tests")
        class ExpirationTests {
    
            @Test
            @DisplayName("Should manage expiration time")
            void testExpiration() {
                assertNull(echoResponse.getExpiration());
    
                Long expiration = System.currentTimeMillis() + 10000L;
                echoResponse.setExpiration(expiration);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/CommonServerMessageBlockResponseTest.java

        void testSetExpiration() {
            // Given
            Long expiration = System.currentTimeMillis() + 60000L;
            doNothing().when(response).setExpiration(expiration);
    
            // When
            response.setExpiration(expiration);
    
            // Then
            verify(response).setExpiration(expiration);
        }
    
        @Test
        @DisplayName("Test Response interface methods - getException")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  9. internal/bucket/lifecycle/rule.go

    	Status              Status              `xml:"Status"`
    	Filter              Filter              `xml:"Filter,omitempty"`
    	Prefix              Prefix              `xml:"Prefix,omitempty"`
    	Expiration          Expiration          `xml:"Expiration,omitempty"`
    	Transition          Transition          `xml:"Transition,omitempty"`
    	DelMarkerExpiration DelMarkerExpiration `xml:"DelMarkerExpiration,omitempty"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 25 20:12:21 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  10. internal/config/ilm/help.go

    	// EnvILMTransitionWorkers env variable to configure number of transition workers
    	EnvILMTransitionWorkers = "MINIO_ILM_TRANSITION_WORKERS"
    	// EnvILMExpirationWorkers env variable to configure number of expiration workers
    	EnvILMExpirationWorkers = "MINIO_ILM_EXPIRATION_WORKERS"
    )
    
    var (
    	defaultHelpPostfix = func(key string) string {
    		return config.DefaultHelpPostfix(DefaultKVS, key)
    	}
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu May 30 08:14:58 GMT 2024
    - 1.8K bytes
    - Click Count (0)
Back to Top