Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for func (0.03 sec)

  1. pkg/controller/cronjob/utils.go

    }
    
    // getTimeHash returns Unix Epoch Time in minutes
    func getTimeHashInMinutes(scheduledTime time.Time) int64 {
    	return scheduledTime.Unix() / 60
    }
    
    // byJobStartTime sorts a list of jobs by start timestamp, using their names as a tie breaker.
    type byJobStartTime []*batchv1.Job
    
    func (o byJobStartTime) Len() int      { return len(o) }
    func (o byJobStartTime) Swap(i, j int) { o[i], o[j] = o[j], o[i] }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 03:34:25 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. cmd/utils.go

    )
    
    // isMaxObjectSize - verify if max object size
    func isMaxObjectSize(size int64) bool {
    	return size > globalMaxObjectSize
    }
    
    // Check if part size is more than or equal to minimum allowed size.
    func isMinAllowedPartSize(size int64) bool {
    	return size >= globalMinPartSize
    }
    
    // isMaxPartNumber - Check if part ID is greater than the maximum allowed ID.
    func isMaxPartID(partID int) bool {
    	return partID > globalMaxPartID
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 22:00:34 UTC 2024
    - 31.9K bytes
    - Viewed (0)
Back to top