Created
November 9, 2021 21:20
-
-
Save skinnyjames/608a6c4fee10e3b85b689215dcd6feea to your computer and use it in GitHub Desktop.
This file contains 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
module Boxy | |
def self.create | |
end | |
def self.remove(container : AbstractContainer) | |
end | |
def self.containers : Array(AbstractContainer) | |
end | |
abstract class AbstractContainer | |
abstract def start | |
abstract def stop | |
abstract def inspect | |
abstract def restart | |
abstract def kill | |
abstract def update | |
abstract def rename | |
abstract def pause | |
abstract def unpause | |
abstract def wait | |
end | |
class Docker < AbstractContainer | |
end | |
class Podman < AbstractContainer | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment