Skip to content

Commit

Permalink
refactoring docker
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Sep 17, 2023
1 parent e62ee2f commit f6ff21a
Showing 1 changed file with 22 additions and 50 deletions.
72 changes: 22 additions & 50 deletions src/main/resources/com/github/jlangch/venice/docker.venice
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,9 @@
"docker/rmi"
"docker/image-rm"
"docker/image-prune"
"docker/run" )
"docker/run"
"docker/images-query-by-repo"
"docker/image-ready?")
:spec { :options { :all [:optional #{true, false}]
:digests [:optional #{true, false}]
:quiet [:optional #{true, false}]
Expand Down Expand Up @@ -384,8 +386,11 @@
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-remove-by-name"
"docker/container-status-by-name"
"docker/container-exec-by-name" )
"docker/container-exec-by-name"
"docker/container-log"
"docker/container-has-log-msg" )
:spec { :options { :detach [:optional #{true, false}]
:attach [:optional #{:stdin, :stdout, :stderr}]
:publish [:optional #(and (long? %) (pos? %))]
Expand Down Expand Up @@ -1024,6 +1029,7 @@
;; - docker/container-remove-by-name
;; - docker/container-status-by-name
;; - docker/container-exec-by-name
;; - docker/container-log
;; - docker/container-has-log-msg
;; -----------------------------------------------------------------------------

Expand Down Expand Up @@ -1088,12 +1094,7 @@
""" )
:see-also '(
"docker/run"
"docker/container-exists-with-name?"
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-status-by-name"
"docker/container-exec-by-name" ) }
"docker/container-exists-with-name?" ) }

container-find-by-name [name]

Expand All @@ -1114,12 +1115,7 @@
""" )
:see-also '(
"docker/run"
"docker/container-find-by-name"
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-status-by-name"
"docker/container-exec-by-name" ) }
"docker/container-find-by-name" ) }

container-exists-with-name? [name]

Expand All @@ -1142,12 +1138,8 @@
""" )
:see-also '(
"docker/run"
"docker/container-find-by-name"
"docker/container-exists-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-status-by-name"
"docker/container-exec-by-name" ) }
"docker/container-stop-by-name" ) }

container-running-with-name? [name]

Expand All @@ -1171,13 +1163,11 @@
""" )
:see-also '(
"docker/run"
"docker/container-find-by-name"
"docker/container-exists-with-name?"
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-remove-by-name"
"docker/container-status-by-name"
"docker/container-exec-by-name" ) }
"docker/container-log" ) }

container-start-by-name [name]

Expand Down Expand Up @@ -1207,12 +1197,11 @@
""" )
:see-also '(
"docker/run"
"docker/container-find-by-name"
"docker/container-exists-with-name?"
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-remove-by-name"
"docker/container-status-by-name"
"docker/container-exec-by-name" ) }
"docker/container-log" ) }

container-stop-by-name

Expand Down Expand Up @@ -1246,10 +1235,7 @@
"docker/run"
"docker/container-find-by-name"
"docker/container-exists-with-name?"
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-status-by-name"
"docker/container-exec-by-name" ) }
"docker/container-status-by-name" ) }

container-remove-by-name [name]

Expand All @@ -1271,10 +1257,7 @@
"docker/run"
"docker/container-find-by-name"
"docker/container-exists-with-name?"
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-exec-by-name" ) }
"docker/container-remove-by-name" ) }

container-status-by-name [name]

Expand All @@ -1296,12 +1279,9 @@
""" )
:see-also '(
"docker/run"
"docker/container-find-by-name"
"docker/container-exists-with-name?"
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-status-by-name" ) }
"docker/container-exec-by-name"
"docker/container-log" ) }

container-exec-by-name [name]

Expand Down Expand Up @@ -1329,12 +1309,8 @@
""" )
:see-also '(
"docker/run"
"docker/container-exists-with-name?"
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-status-by-name"
"docker/container-exec-by-name" ) }
"docker/container-has-log-msg" ) }

container-log

Expand Down Expand Up @@ -1368,12 +1344,8 @@
""" )
:see-also '(
"docker/run"
"docker/container-exists-with-name?"
"docker/container-running-with-name?"
"docker/container-start-by-name"
"docker/container-stop-by-name"
"docker/container-status-by-name"
"docker/container-exec-by-name" ) }
"docker/container-log" ) }

container-has-log-msg

Expand Down

0 comments on commit f6ff21a

Please sign in to comment.