Liking cljdoc? Tell your friends :D
Clojure only.

hive-compose.pipeline.restart

Recycling a section's services in place. Unlike down/stop, a restart takes nothing away from another active section that needs the service, so it runs even when the service is shared: a container whose process died inside (a dev server under a file watcher) is recycled through the tool instead of by hand.

Recycling a section's services in place. Unlike down/stop, a restart takes
nothing away from another active section that needs the service, so it
runs even when the service is shared: a container whose process died
inside (a dev server under a file watcher) is recycled through the tool
instead of by hand.
raw docstring

restart-profile!clj

(restart-profile! ctx p recreate?)

Restart the services p names in place, or recreate them when recreate?. Their own dependencies are not touched. Services: the ones p names, else the active entry's, else its depends_on closure. The active map is unchanged; an active p has its idle clock reset. The caller resolves p through ops/effective-subject (the holding section's inputs) and remembers a recreate's call env on that section (ops/remember-call-env!); an in-place restart recreates nothing, so its env is not remembered. A profile with no compose project has no service to recycle and asks docker nothing: :compose/programs-only (down and up recycle its programs).

Restart the services `p` names in place, or recreate them when `recreate?`.
Their own dependencies are not touched. Services: the ones `p` names, else
the active entry's, else its depends_on closure. The active map is
unchanged; an active `p` has its idle clock reset. The caller resolves
`p` through `ops/effective-subject` (the holding section's inputs) and
remembers a recreate's call env on that section (`ops/remember-call-env!`);
an in-place restart recreates nothing, so its env is not remembered. A
profile with no compose project has no service to recycle and asks docker
nothing: :compose/programs-only (down and up recycle its programs).
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close