Job Components: `register-apis`
Table of contents
Functions
Functions
getAssetPath
▸ getAssetPath(assetDirs
, assets
, name
): Promise
<string
>
Parameters
Name | Type |
---|---|
assetDirs | string [] |
assets | string [] |
name | string |
Returns
Promise
<string
>
Defined in
packages/job-components/src/register-apis.ts:21
getClient
▸ getClient(context
, config
, type
): any
Parameters
Name | Type |
---|---|
context | Context |
config | GetClientConfig |
type | string |
Returns
any
Defined in
packages/job-components/src/register-apis.ts:65
getClientAsync
▸ getClientAsync(context
, config
, type
): Promise
<any
>
Parameters
Name | Type |
---|---|
context | Context |
config | GetClientConfig |
type | string |
Returns
Promise
<any
>
Defined in
packages/job-components/src/register-apis.ts:89
getOpConfig
▸ getOpConfig(job
, name
): OpConfig
| undefined
Get the first opConfig from an operation name
Parameters
Name | Type |
---|---|
job | ValidatedJobConfig |
name | string |
Returns
OpConfig
| undefined
Defined in
packages/job-components/src/register-apis.ts:16
registerApis
▸ registerApis(context
, job
, assetIds?
): void
Parameters
Name | Type | |
---|---|---|
context | Context | |
job | ValidatedJobConfig \ | ExecutionConfig |
assetIds? | string [] |
Returns
void