Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for validation (0.27 sec)

  1. cmd/batch-expire.go

    	BatchJobExpireObject string = "object"
    	// BatchJobExpireDeleted - delete marker type
    	BatchJobExpireDeleted string = "deleted"
    )
    
    // Validate returns nil if ef has valid fields, validation error otherwise.
    func (ef BatchJobExpireFilter) Validate() error {
    	switch ef.Type {
    	case BatchJobExpireObject:
    	case BatchJobExpireDeleted:
    		if len(ef.Tags) > 0 || len(ef.Metadata) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
Back to top