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

de.gesellix.docker.client.node.ManageNode Maven / Gradle / Ivy

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

import de.gesellix.docker.client.EngineResponseContent;
import de.gesellix.docker.remote.api.Node;
import de.gesellix.docker.remote.api.NodeSpec;
import de.gesellix.docker.remote.api.Task;

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

public interface ManageNode {

  EngineResponseContent inspectNode(String name);

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

  EngineResponseContent> nodes();

  EngineResponseContent> nodes(String filters);

  void promoteNodes(String[] node);

  void demoteNodes(String[] node);

  void rmNode(String name);

  void updateNode(String name, long version, NodeSpec nodeSpec);

  EngineResponseContent> tasksOnNode(String node);

  EngineResponseContent> tasksOnNode(String node, Map query);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy