de.gesellix.docker.client.volume.ManageVolume Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-client Show documentation
Show all versions of docker-client Show documentation
A Docker client for the JVM written in Groovy
package de.gesellix.docker.client.volume;
import de.gesellix.docker.client.EngineResponseContent;
import de.gesellix.docker.remote.api.Volume;
import de.gesellix.docker.remote.api.VolumeCreateOptions;
import de.gesellix.docker.remote.api.VolumeListResponse;
import de.gesellix.docker.remote.api.VolumePruneResponse;
import java.util.Map;
public interface ManageVolume {
/**
* @see #createVolume(VolumeCreateOptions)
* @deprecated use {@link #createVolume(VolumeCreateOptions)}
*/
@Deprecated
EngineResponseContent createVolume(Map config);
EngineResponseContent createVolume();
EngineResponseContent createVolume(VolumeCreateOptions volumeCreateOptions);
EngineResponseContent inspectVolume(String name);
/**
* @see #volumes(String)
* @deprecated use {@link #volumes(String)}
*/
@Deprecated
EngineResponseContent volumes(Map query);
EngineResponseContent volumes();
EngineResponseContent volumes(String filters);
/**
* @see #pruneVolumes(String)
* @deprecated use {@link #pruneVolumes(String)}
*/
@Deprecated
EngineResponseContent pruneVolumes(Map query);
EngineResponseContent pruneVolumes();
EngineResponseContent pruneVolumes(String filters);
void rmVolume(String name);
}