Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for BatchJobExpire (0.07 sec)

  1. cmd/batch-expire.go

    }
    
    var _ yaml.Unmarshaler = &BatchJobExpire{}
    
    // UnmarshalYAML - BatchJobExpire extends default unmarshal to extract line, col information.
    func (r *BatchJobExpire) UnmarshalYAML(val *yaml.Node) error {
    	type expireJob BatchJobExpire
    	var tmp expireJob
    	err := val.Decode(&tmp)
    	if err != nil {
    		return err
    	}
    
    	*r = BatchJobExpire(tmp)
    	r.line, r.col = val.Line, val.Column
    	return nil
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    		case madmin.BatchJobReplicate:
    			req.Replicate = &BatchJobReplicateV1{}
    		case madmin.BatchJobKeyRotate:
    			req.KeyRotate = &BatchJobKeyRotateV1{}
    		case madmin.BatchJobExpire:
    			req.Expire = &BatchJobExpire{}
    		default:
    			writeErrorResponseJSON(ctx, w, toAPIError(ctx, errors.New("job ID format unrecognized")), r.URL)
    			return
    		}
    	}
    
    	ri := &batchJobInfo{}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top