Liking cljdoc? Tell your friends :D

monkey.ci.oci

Oracle cloud specific functionality

Oracle cloud specific functionality
raw docstring

add-interceptorclj

(add-interceptor ctx i)

Adds the given interceptor before all other inceptors of the Martian context

Adds the given interceptor before all other inceptors of the Martian context
sourceraw docstring

add-inv-interceptorclj

(add-inv-interceptor ctx kind)
source

arch-amdclj

source

arch-armclj

source

arch-shapesclj

Architectures mapped to OCI shapes

Architectures mapped to OCI shapes
sourceraw docstring

base-work-dirclj

(base-work-dir build)

Determines the base work dir to use inside the container

Determines the base work dir to use inside the container
sourceraw docstring

checkout-dirclj

source

checkout-subdirclj

(checkout-subdir n)

Returns the path for n as a subdir of the checkout dir

Returns the path for `n` as a subdir of the checkout dir
sourceraw docstring

checkout-volclj

source

config-entryclj

(config-entry n v)

Creates an entry config for a volume, where the contents are base64 encoded.

Creates an entry config for a volume, where the contents are base64 encoded.
sourceraw docstring

credit-multiplierclj

(credit-multiplier arch cpus mem)

Calculates the credit multiplier that needs to be applied for the container instance. This varies depending on the architecture, number of cpu's and amount of memory.

Calculates the credit multiplier that needs to be applied for the container
instance.  This varies depending on the architecture, number of cpu's and 
amount of memory.
sourceraw docstring

default-archclj

source

default-cpu-countclj

source

default-memory-gbclj

source

delete-stale-instancesclj

(delete-stale-instances client cid)
source

find-mountclj

(find-mount c n)

Finds mount with given volume name in the container

Finds mount with given volume name in the container
sourceraw docstring

find-volumeclj

(find-volume ci n)

Finds volume with given name in the container instance

Finds volume with given name in the container instance
sourceraw docstring

get-full-instance-detailsclj

(get-full-instance-details client id)

Retrieves full container instance details by retrieving the container instance information, and fetching container details as well.

Retrieves full container instance details by retrieving the container instance 
information, and fetching container details as well.
sourceraw docstring

instance-configclj

(instance-config conf)

Generates a skeleton instance configuration, generated from the oci configuration.

Generates a skeleton instance configuration, generated from the oci configuration.
sourceraw docstring

invocation-interceptorclj

(invocation-interceptor kind)

A Martian interceptor that dispatches telemere events for each invocation. Useful for metrics to know how many api calls were done.

A Martian interceptor that dispatches telemere events for each invocation.  Useful
for metrics to know how many api calls were done.
sourceraw docstring

key-dirclj

source

list-active-instancesclj

(list-active-instances client cid)

Lists all active container instances for the given compartment id

Lists all active container instances for the given compartment id
sourceraw docstring

poll-for-completionclj

(poll-for-completion {:keys [get-details poll-interval post-event instance-id]
                      :as c
                      :or {poll-interval 10000 post-event (constantly true)}})

Starts an async poll loop that waits until the container instance has completed. Returns a deferred that holds the last response received.

Starts an async poll loop that waits until the container instance has completed.
Returns a deferred that holds the last response received.
sourceraw docstring

retry-fnclj

(retry-fn f)
source

run-instanceclj

(run-instance client instance-config & [{:keys [delete? exited?] :as opts}])

Creates and starts a container instance using the given config, and then waits for it to terminate. Returns a deferred that will hold the full container instance state on completion, including the container details.

The exited? option should be a function that accepts the instance id and returns a deferred with the container instance status when it exits. If not provided, a basic polling loop will be used. Not that using extensive polling may lead to 429 errors from OCI.

Creates and starts a container instance using the given config, and then
waits for it to terminate.  Returns a deferred that will hold the full container
instance state on completion, including the container details.  

The `exited?` option should be a function that accepts the instance id and returns 
a deferred with the container instance status when it exits.  If not provided, a 
basic polling loop will be used.  Not that using extensive polling may lead to 429 
errors from OCI.
sourceraw docstring

sid->tagsclj

(sid->tags sid)
source

stream-to-bucketclj

(stream-to-bucket conf in)

Pipes an input stream to a bucket object using multipart uploads. Returns a deferred that will resolve when the upload completes. That is, when the input stream closes, or an error occurs.

Pipes an input stream to a bucket object using multipart uploads.
Returns a deferred that will resolve when the upload completes.
That is, when the input stream closes, or an error occurs.
sourceraw docstring

terminated?clj

source

too-many-requests?clj

(too-many-requests? r)
source

valid-architecturesclj

source

with-retryclj

(with-retry f)

Invokes f with async retry

Invokes `f` with async retry
sourceraw docstring

work-dirclj

source

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

× close