Search in sources :

Example 1 with LocalVolume

use of mesosphere.marathon.client.model.v2.LocalVolume in project pravega by pravega.

the class MarathonBasedService method createVolume.

Volume createVolume(final String containerPath, final String hostPath, final String mode) {
    LocalVolume v = new LocalVolume();
    v.setContainerPath(containerPath);
    v.setHostPath(hostPath);
    v.setMode(mode);
    return v;
}
Also used : LocalVolume(mesosphere.marathon.client.model.v2.LocalVolume)

Aggregations

LocalVolume (mesosphere.marathon.client.model.v2.LocalVolume)1