Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for filters (0.39 sec)

  1. cmd/batch-job-common-types.go

    // Validate checks if sf is a valid batch-job size filter
    func (sf BatchJobSizeFilter) Validate() error {
    	if sf.LowerBound > 0 && sf.UpperBound > 0 && sf.LowerBound >= sf.UpperBound {
    		return BatchJobYamlErr{
    			line: sf.line,
    			col:  sf.col,
    			msg:  "invalid batch-job size filter",
    		}
    	}
    	return nil
    }
    
    // BatchJobSize supports humanized byte values in yaml files type BatchJobSize uint64
    type BatchJobSize int64
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 01 21:53:26 GMT 2024
    - 7.9K bytes
    - Viewed (0)
Back to top