Did they pay for you CDL training? That is the only way they can get you into a contract, which would be anywhere from 1 year to 18 months.
If that is the case, then basically, if you leave before your contract is fulfilled, they will hit your for a bill to pay for your training.