(add-env-to-path plugin-name)
Add the env directory of a plugin into PATH variable.
Add the env directory of a plugin into PATH variable.
(create-task! payload)
(get-context-dirs)
(get-context-path cn plugin-name)
(get-plugin-config plugin-name)
(get-plugin-dir)
(get-workdir)
(get-workdir & {:keys [username uuid]})
(get-workdir-root)
(make-remote-link abspath)
Make a remote link for a local file when you need to make the local file be accessed by network, such as minio/s3/oss link.
CAUTION: The path will be returned directly When a make-remote-link function wasn't find.
Make a remote link for a local file when you need to make the local file be accessed by network, such as minio/s3/oss link. CAUTION: The path will be returned directly When a make-remote-link function wasn't find. - Why you need to set fn-make-remote-link by setup-fns? We don't know how to create a remote link in the specified environment but you know.
(plugins-dir)
Get a Path
to the TService plugins directory, creating it if needed. If it cannot be created for one reason or
another, or if we do not have write permissions for it, use a temporary directory instead.
Get a `Path` to the TService plugins directory, creating it if needed. If it cannot be created for one reason or another, or if we do not have write permissions for it, use a temporary directory instead.
(setup-config c)
Pass the instance's config to plugin system.
Pass the instance's config to plugin system.
(setup-context-dirs plugin-dir)
(setup-fns create-task-fn update-task-fn make-remote-link-fn)
(setup-plugin-dir dir)
Set a custom plugin directory.
Set a custom plugin directory.
(setup-workdir-root dir)
Set a root directory for the working directory of a plugin.
Set a root directory for the working directory of a plugin.
(update-task! payload)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close