Liking cljdoc? Tell your friends :D

clj-k8s.batch


delete-jobclj

(delete-job n)
(delete-job n {:keys [namespace] :or {namespace (c/default-ns)} :as opts})

Deletes a job

Deletes a job
sourceraw docstring

failed?clj

(failed? {:keys [status]})

Returns true if the job failed

Returns true if the job failed
sourceraw docstring

get-jobclj

(get-job n)
(get-job n {:keys [namespace] :or {namespace (c/default-ns)} :as opts})

Fetches the specified job or returns nil if not found

Fetches the specified job or returns nil if not found
sourceraw docstring

job-podsclj

(job-pods n)
(job-pods n opts)

Fetches all of the pods belonging to a specific job

Fetches all of the pods belonging to a specific job
sourceraw docstring

list-jobsclj

(list-jobs)
(list-jobs
  {:keys [namespace all-namespaces] :or {namespace (c/default-ns)} :as opts})

List or watch jobs

List or watch jobs
sourceraw docstring

running?clj

(running? {:keys [status]})

Returns true if the job is still running

Returns true if the job is still running
sourceraw docstring

submit-jobclj

(submit-job spec)
(submit-job spec opts)

Submits a job for execution

Submits a job for execution
sourceraw docstring

succeeded?clj

(succeeded? {:keys [status]})

Returns true if the job was successful

Returns true if the job was successful
sourceraw docstring

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

× close