Klasse DockerService

java.lang.Object
de.dlr.proseo.monitor.microservice.DockerService

public class DockerService extends Object
Represent a docker "machine" to check status of a service
Autor:
Melchinger
  • Konstruktordetails

    • DockerService

      public DockerService(MonitorConfiguration.Docker docker)
      Instantiate the docker service
      Parameter:
      docker - A docker machine defined in monitor configuration (application.yml)
  • Methodendetails

    • getName

      public String getName()
      Gibt zurück:
      the name
    • getIp

      public String getIp()
      Gibt zurück:
      the ip
    • getPort

      public Long getPort()
      Gibt zurück:
      the port
    • getApiVersion

      public String getApiVersion()
      Gibt zurück:
      the docker
    • check

      public void check(MicroService ms, MonitorServices monitor)
      Checck whether the service is running on this docker
      Parameter:
      ms - A micro service
      monitor - The basic Monitor thread