Skip to content

Instantly share code, notes, and snippets.

@skinnyjames
Created November 9, 2021 21:20
Show Gist options
  • Save skinnyjames/608a6c4fee10e3b85b689215dcd6feea to your computer and use it in GitHub Desktop.
Save skinnyjames/608a6c4fee10e3b85b689215dcd6feea to your computer and use it in GitHub Desktop.
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