Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/processes/services/ProcessesApi

Cockpit client (features), next. Source: ui/client/features/processes/services/ProcessesApi.ts.

Functions#

fetchGc()#

fetchGc(): Promise<GcReport | null>

Defined in: ui/client/features/processes/services/ProcessesApi.ts:25

-- the dry-run construct process gc report taken when the project was opened, or null when there is nothing to report (or the server could not be reached).

Returns#

Promise<GcReport | null>


fetchProcess()#

fetchProcess(id): Promise<ProcessDetail | null>

Defined in: ui/client/features/processes/services/ProcessesApi.ts:14

Parameters#

id

string

Returns#

Promise<ProcessDetail | null>


fetchProcesses()#

fetchProcesses(): Promise<ProcessSummary[] | null>

Defined in: ui/client/features/processes/services/ProcessesApi.ts:5

The process list for the current project (ui/server GET /api/processes), or null when unreachable.

Returns#

Promise<ProcessSummary[] | null>