All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.gesellix.docker.client.volume.ManageVolume Maven / Gradle / Ivy

The newest version!
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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy