class Docr::API

Overview

Docr API client for interacting with Docker-related endpoints.

Provides access to various endpoint handlers such as images, containers, networks, volumes, system, and exec. Also includes custom exceptions for handling Docker API errors.

Defined in:

docr/api.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def client : Docr::Client #

The client instance used for making API requests.


[View source]
def containers : Docr::Endpoints::Containers #

Provides access to Docker container-related endpoints.


[View source]

Provides access to Docker exec-related endpoints.


[View source]
def images : Docr::Endpoints::Images #

Provides access to Docker image-related endpoints.


[View source]
def networks : Docr::Endpoints::Networks #

Provides access to Docker network-related endpoints.


[View source]

Provides access to Docker system-related endpoints.


[View source]
def volumes : Docr::Endpoints::Volumes #

Provides access to Docker volume-related endpoints.


[View source]