Liking cljdoc? Tell your friends :D

tservice-core.plugins.env


add-env-to-pathclj

(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.
raw docstring

create-task!clj

(create-task! payload)

get-context-dirsclj

(get-context-dirs)

get-context-pathclj

(get-context-path cn plugin-name)

get-plugin-configclj

(get-plugin-config plugin-name)

get-plugin-dirclj

(get-plugin-dir)

get-workdirclj

(get-workdir)
(get-workdir & {:keys [username uuid]})

get-workdir-rootclj

(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.

  • 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.
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.
raw docstring

plugins-dirclj

(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.
raw docstring

setup-configclj

(setup-config c)

Pass the instance's config to plugin system.

Pass the instance's config to plugin system.
raw docstring

setup-context-dirsclj

(setup-context-dirs plugin-dir)

setup-fnsclj

(setup-fns create-task-fn update-task-fn make-remote-link-fn)

setup-plugin-dirclj

(setup-plugin-dir dir)

Set a custom plugin directory.

Set a custom plugin directory.
raw docstring

setup-workdir-rootclj

(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.
raw docstring

update-task!clj

(update-task! payload)

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

× close