de.gesellix.docker.client.service.ManageService 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.service;
import de.gesellix.docker.client.EngineResponseContent;
import de.gesellix.docker.remote.api.Service;
import de.gesellix.docker.remote.api.ServiceCreateRequest;
import de.gesellix.docker.remote.api.ServiceCreateResponse;
import de.gesellix.docker.remote.api.ServiceUpdateRequest;
import de.gesellix.docker.remote.api.ServiceUpdateResponse;
import de.gesellix.docker.remote.api.Task;
import java.util.List;
import java.util.Map;
public interface ManageService {
EngineResponseContent createService(ServiceCreateRequest serviceSpec);
EngineResponseContent createService(ServiceCreateRequest serviceSpec, String encodedRegistryAuth);
EngineResponseContent inspectService(String name);
EngineResponseContent> services(Map query);
EngineResponseContent> services();
EngineResponseContent> services(String filters);
EngineResponseContent> services(String filters, Boolean status);
EngineResponseContent> tasksOfService(String service);
EngineResponseContent> tasksOfService(String service, Map query);
void rmService(String name);
EngineResponseContent scaleService(String name, int replicas);
EngineResponseContent updateService(String name, int version, String rollback);
EngineResponseContent updateService(String name, int version, String rollback, String registryAuthFrom);
EngineResponseContent updateService(String name, int version, String rollback, String registryAuthFrom, String encodedRegistryAuth);
EngineResponseContent updateService(String name, int version, ServiceUpdateRequest serviceSpec);
EngineResponseContent updateService(String name, int version, ServiceUpdateRequest serviceSpec, String registryAuthFrom);
EngineResponseContent updateService(String name, int version, ServiceUpdateRequest serviceSpec, String registryAuthFrom, String encodedRegistryAuth);
}