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

de.gesellix.docker.client.service.ManageService Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy