/**
* Returns all the containers from the given Replication Controller's desiredState
*/
public static List<ManifestContainer> getContainers(ControllerDesiredState desiredState) {
if (desiredState != null) {
PodTemplate podTemplate = desiredState.getPodTemplate();
return getContainers(podTemplate);
}
return Collections.EMPTY_LIST;
}