Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNewerNoncurrentVersions (0.08 sec)

  1. internal/bucket/lifecycle/evaluator_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package lifecycle
    
    import (
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/google/uuid"
    )
    
    func TestNewerNoncurrentVersions(t *testing.T) {
    	prepLifecycleCfg := func(tagKeys []string, retainVersions []int) Lifecycle {
    		var lc Lifecycle
    		for i := range retainVersions {
    			ruleID := fmt.Sprintf("rule-%d", i)
    			tag := Tag{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Apr 08 15:41:24 UTC 2025
    - 5K bytes
    - Viewed (0)
Back to top