class Docr::Endpoints::Containers

Defined in:

endpoints/containers.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(client : Docr::Client) #

[View source]

Instance Method Detail

def changes(id : String) : Array(Docr::Types::ContainerChangeResponseItem) #

[View source]
def client : Docr::Client #

[View source]

[View source]
def delete(id : String, volumes = false, force = false, link = false) #

[View source]
def inspect(id : String) : Docr::Types::ContainerInspectResponse #

[View source]
def kill(id : String, signal = "SIGKILL") #

[View source]
def list(all : Bool = false, limit : Int32 | Nil = nil, size : Bool = false, filters = Hash(String, Array(String)).new) : Array(Docr::Types::ContainerSummary) #

[View source]
def logs(id : String, follow = false, stdout = false, stderr = false, since = 0, _until = 0, timestamps = false, tail = "all") #

[View source]
def pause(id : String) #

[View source]
def restart(id : String) #

[View source]
def start(id : String) #

[View source]
def stop(id : String) #

[View source]
def top(id : String, ps_args = "-ef") : Docr::Types::ContainerTopResponse #

[View source]
def unpause(id : String) #

[View source]
def wait(id : String, condition = "not-running") : Docr::Types::ContainerWaitResponse #

[View source]