Package io.fathom.cloud.compute.scheduler.LxcConfigBuilder

Examples of io.fathom.cloud.compute.scheduler.LxcConfigBuilder.Volume


            hostFilesystem.copyImageToRootfs(container.imageId, rootfsPath);

            for (VolumeType volumeType : new VolumeType[] { VolumeType.Ephemeral, VolumeType.Persistent }) {
                File path = hostFilesystem.createVolume(volumeType, containerId);

                Volume volume = new Volume();
                volume.hostPath = path.getAbsolutePath();
                volume.instancePath = "/volumes/" + volumeType.name().toLowerCase();
                container.lxcConfig.volumes.add(volume);
            }
View Full Code Here

TOP

Related Classes of io.fathom.cloud.compute.scheduler.LxcConfigBuilder.Volume

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.