Liking cljdoc? Tell your friends :D

monkey.ci.containers.docker

Functions for running build jobs using Docker api.

Functions for running build jobs using Docker api.
raw docstring

api-versionclj

source

attach-containerclj

(attach-container client id)

Attaches to given container. Returns a socket that can be used to communicate with it.

Attaches to given container.  Returns a socket that can be used to communicate with it.
sourceraw docstring

container-logsclj

(container-logs client id & [opts])

Attaches to the container in order to read logs

Attaches to the container in order to read logs
sourceraw docstring

container-optsclj

(container-opts rt)
source

create-containerclj

(create-container client name config)

Creates a container with given name and configuration. client must be for category :containers.

Creates a container with given name and configuration.  `client` must
be for category `:containers`.
sourceraw docstring

default-connclj

source

delete-containerclj

(delete-container client id)
source

inspect-containerclj

(inspect-container client id)
source

list-containersclj

(list-containers client args)
source

make-clientclj

(make-client category & [conn])

Creates a client for given category using the specified connection settings

Creates a client for given category using the specified connection settings
sourceraw docstring

parse-log-streamclj

(parse-log-stream s)

Given a Docker input stream, parses it in to lines and returns it as a lazy seq of parsed maps, containing the stream type, size and message.

Given a Docker input stream, parses it in to lines and returns it as
a lazy seq of parsed maps, containing the stream type, size and message.
sourceraw docstring

pull-imageclj

(pull-image client url)

Pulls image from given url. Requires a client for category :images.

Pulls image from given url.  Requires a client for category `:images`.
sourceraw docstring

run-containerclj

(run-container c name config)

Utility function that creates and starts a container, and then reads the logs and returns them as a seq of strings.

Utility function that creates and starts a container, and then reads the logs
and returns them as a seq of strings.
sourceraw docstring

start-containerclj

(start-container client id)

Starts the container, returns the output as a stream

Starts the container, returns the output as a stream
sourceraw docstring

stop-containerclj

(stop-container client id)

Stops the container

Stops the container
sourceraw docstring

stream-typesclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close