Matthias Eichstedt I did try to address your concerns in terms of a nicer looking container validation. Basically validContainer now contains validGeneralContainer, validDockerContainer and validMesosContainer. Each of those can be extended if appropriate, depending on the level of validation. The match is still needed, but should be addressed in
MGI-3388 at some point. The validation for Volume is moved to its companion object. That all reduced some redundant code. Let me know if you agree with those changes.