public class VolumeUtils extends Object
| Constructor and Description |
|---|
VolumeUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
addContentToVolume(com.github.dockerjava.api.DockerClient dc,
String volumeName,
String pathInVolume,
File content) |
static boolean |
addContentToVolume(com.github.dockerjava.api.DockerClient dc,
String volumeName,
String name,
String content) |
static boolean |
createVolumeIfRequired(com.github.dockerjava.api.DockerClient dc,
String volumeName) |
static boolean |
exists(com.github.dockerjava.api.DockerClient dc,
String volumeName) |
static void |
removeVolume(com.github.dockerjava.api.DockerClient dc,
String volumeName) |
public static boolean createVolumeIfRequired(com.github.dockerjava.api.DockerClient dc,
String volumeName)
public static boolean exists(com.github.dockerjava.api.DockerClient dc,
String volumeName)
public static void removeVolume(com.github.dockerjava.api.DockerClient dc,
String volumeName)
public static boolean addContentToVolume(com.github.dockerjava.api.DockerClient dc,
String volumeName,
String pathInVolume,
File content)
Copyright © 2020–2022 Red Hat. All rights reserved.