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

de.gesellix.docker.client.network.ManageNetwork Maven / Gradle / Ivy

The newest version!
package de.gesellix.docker.client.network;

import de.gesellix.docker.client.EngineResponseContent;
import de.gesellix.docker.remote.api.Network;
import de.gesellix.docker.remote.api.NetworkCreateRequest;
import de.gesellix.docker.remote.api.NetworkCreateResponse;
import de.gesellix.docker.remote.api.NetworkPruneResponse;

import java.util.List;
import java.util.Map;

public interface ManageNetwork {

  void connectNetwork(String network, String container);

  void disconnectNetwork(String network, String container);

  /**
   * @see #createNetwork(NetworkCreateRequest)
   * @deprecated use {@link #createNetwork(NetworkCreateRequest)}
   */
  @Deprecated
  EngineResponseContent createNetwork(String name, Map config);

  EngineResponseContent createNetwork(String name);

  EngineResponseContent createNetwork(NetworkCreateRequest networkCreateRequest);

  EngineResponseContent inspectNetwork(String name);

  /**
   * @see #networks(String)
   * @deprecated use {@link #networks(String)}
   */
  @Deprecated
  EngineResponseContent> networks(Map query);

  EngineResponseContent> networks();

  EngineResponseContent> networks(String filters);

  /**
   * @see #pruneNetworks(String)
   * @deprecated use {@link #pruneNetworks(String)}
   */
  @Deprecated
  EngineResponseContent pruneNetworks(Map query);

  EngineResponseContent pruneNetworks();

  EngineResponseContent pruneNetworks(String filters);

  void rmNetwork(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy