changelog shortlog graph tags branches changeset files revisions annotate raw help

Mercurial > core / lisp/lib/pod/pkg.lisp

changeset 490: 7a7e6c273f52
parent: 7354623e5b54
author: Richard Westhaver <ellis@rwest.io>
date: Sun, 30 Jun 2024 17:54:33 -0400
permissions: -rw-r--r--
description: skel component updates
1 ;;; lib/pod/pkg.lisp --- Pod package defs
2 
3 ;; Pod is a Lisp system for interacting with container runtimes --
4 ;; i.e. Podman/Libpod.
5 
6 ;;; Commentary:
7 
8 ;; Podman supports a RESTful API which is described here:
9 ;; https://docs.podman.io/en/latest/_static/api.html
10 
11 ;; The API is the best way to interact with containers in almost all cases but
12 ;; there are a few utilities for initializing the podman server or spawning
13 ;; one in a user process when supported.
14 
15 ;; Once the podman API is up and running the functions in this library can be
16 ;; used to make requests such as starting a container or building an image.
17 
18 ;; We also provide support for composing and parsing Containerfiles from Lisp
19 ;; for easy integration into applications.
20 
21 ;;; Code:
22 (defpackage :pod
23  (:use :cl :std :cli :sb-bsd-sockets :net :dat/json)
24  (:export
25  :*podman-api-version* :*podman-exe* :*buildah-exe*
26  :*podman-local-user-socket*
27  :pod-error :podman-error :libpod-error
28  :decode-podman-response :encode-podman-request
29  :podman-request :podman-response
30  :libpod-request :libpod-request-json
31  :start-podman-service :libpod-client
32  :containerfile :*containerfile-predefined-args*
33  :containerfile-args :containerfile-path :containerfile-steps :containerfile-base
34  :with-libpod-client :*default-containerfile*))