Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/review/services/AnalysisApi

Starting and cancelling an analysis (ui/server's POST /api/review/analyze and /cancel).

Cockpit client (features), v0.8. Source: ui/client/features/review/services/AnalysisApi.ts.

Functions#

cancelAnalysis()#

cancelAnalysis(base, head, plan?): Promise<boolean>

Defined in: ui/client/features/review/services/AnalysisApi.ts:16

Cancel the live analysis of this comparison (the machine's own CANCEL; the same control as the Processes drawer's).

Parameters#

base

string

head

string

plan?

string | null

Returns#

Promise<boolean>


requestAnalysis()#

requestAnalysis(base, heads, plan?): Promise<boolean>

Defined in: ui/client/features/review/services/AnalysisApi.ts:6

Ask the server to analyse these branches against base (idempotent; the work happens off the request thread).

Parameters#

base

string

heads

string[]

plan?

string | null

Returns#

Promise<boolean>