Created
April 10, 2019 12:14
-
-
Save alirezameskin/b91f14b53f86342eab594d6768579101 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sealed trait DockerOperation[A] | |
| case class Pull(image:String) extends DockerOperation[String] | |
| case class Run(image:String, command:String*) extends DockerOperation[String] | |
| case class Exec(containerId:String, command:String*) extends DockerOperation[String] | |
| case class Kill(containerId:String) extends DockerOperation[Unit] | |
| case class Remove(containerId:String) extends DockerOperation[Unit] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment