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

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

There is a newer version: 2024-09-15T19-40-00-groovy-4
Show 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