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.
sourceraw docstring

create-task!clj

(create-task! payload)
source

get-context-dirsclj

(get-context-dirs)
source

get-context-pathclj

(get-context-path cn plugin-name)
source

get-plugin-configclj

(get-plugin-config plugin-name)
source

get-plugin-dirclj

(get-plugin-dir)
source

get-workdirclj

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

get-workdir-rootclj

(get-workdir-root)
source

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

setup-configclj

(setup-config c)

Pass the instance's config to plugin system.

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

setup-context-dirsclj

(setup-context-dirs plugin-dir)
source

setup-fnsclj

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

setup-plugin-dirclj

(setup-plugin-dir dir)

Set a custom plugin directory.

Set a custom plugin directory.
sourceraw 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.
sourceraw docstring

update-task!clj

(update-task! payload)
source

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

× close