Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Lc (0.12 sec)

  1. cmd/data-scanner_test.go

    				expired = append(expired, t.versions...)
    			}
    		}
    	}()
    	lc := lifecycle.Lifecycle{
    		Rules: []lifecycle.Rule{
    			{
    				ID:     "max-versions",
    				Status: "Enabled",
    				NoncurrentVersionExpiration: lifecycle.NoncurrentVersionExpiration{
    					NewerNoncurrentVersions: 1,
    				},
    			},
    		},
    	}
    	lcXML, err := xml.Marshal(lc)
    	if err != nil {
    		t.Fatalf("Failed to marshal lifecycle config: %v", err)
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. cmd/bucket-policy.go

    func NewPolicySys() *PolicySys {
    	return &PolicySys{}
    }
    
    func getSTSConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	m := make(map[string][]string)
    	if d := r.Form.Get("DurationSeconds"); d != "" {
    		m["DurationSeconds"] = []string{d}
    	}
    	return m
    }
    
    func getConditionValues(r *http.Request, lc string, cred auth.Credentials) map[string][]string {
    	currTime := UTCNow()
    
    	var (
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. cmd/api-headers.go

    		// https://docs.aws.amazon.com/AmazonS3/latest/API/API_HeadObject.html#API_HeadObject_ResponseSyntax
    		w.Header()[xhttp.AmzStorageClass] = []string{objInfo.TransitionedObject.Tier}
    	}
    
    	if lc, err := globalLifecycleSys.Get(objInfo.Bucket); err == nil {
    		lc.SetPredictionHeaders(w, objInfo.ToLifecycleOpts())
    	}
    
    	if v, ok := objInfo.UserDefined[ReservedMetadataPrefix+"compression"]; ok {
    		if i := strings.LastIndexByte(v, '/'); i >= 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6.9K bytes
    - Viewed (1)
Back to top