de.gesellix.docker.client.network.ManageNetwork 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
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);
}