Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BatchJobType (0.1 sec)

  1. cmd/batch-handlers.go

    func (j BatchJobRequest) Type() madmin.BatchJobType {
    	switch {
    	case j.Replicate != nil:
    		return madmin.BatchJobReplicate
    	case j.KeyRotate != nil:
    		return madmin.BatchJobKeyRotate
    	case j.Expire != nil:
    		return madmin.BatchJobExpire
    	}
    	return madmin.BatchJobType("unknown")
    }
    
    // Validate validates the current job, used by 'save()' before
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 56K bytes
    - Viewed (0)
Back to top