PluginContext
Defined in: plugins/holocron-plugin-checkly/src/index.ts:44
The shared state the Checkly plugin’s capabilities and probes are built from.
Properties
Section titled “Properties”client
Section titled “client”client: () =>
object
Defined in: plugins/holocron-plugin-checkly/src/index.ts:48
Memoized client — the token is resolved on first use, not at plugin load.
Returns
Section titled “Returns”object
alertChannels
Section titled “alertChannels”alertChannels:
object
alertChannels.create
Section titled “alertChannels.create”create: (
input) =>Promise<AlertChannel>
Parameters
Section titled “Parameters”AlertChannelInput
Returns
Section titled “Returns”Promise<AlertChannel>
alertChannels.delete
Section titled “alertChannels.delete”delete: (
id) =>Promise<void>
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<void>
alertChannels.get
Section titled “alertChannels.get”get: (
id) =>Promise<AlertChannel>
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”Promise<AlertChannel>
alertChannels.list
Section titled “alertChannels.list”list: () =>
Promise<AlertChannel[]>
Returns
Section titled “Returns”Promise<AlertChannel[]>
alertChannels.subscribe
Section titled “alertChannels.subscribe”subscribe: (
id,subscription) =>Promise<AlertChannelSubscription>
Parameters
Section titled “Parameters”number
subscription
Section titled “subscription”AlertChannelSubscription
Returns
Section titled “Returns”Promise<AlertChannelSubscription>
alertChannels.update
Section titled “alertChannels.update”update: (
id,input) =>Promise<AlertChannel>
Parameters
Section titled “Parameters”number
AlertChannelInput
Returns
Section titled “Returns”Promise<AlertChannel>
checks
Section titled “checks”checks:
object
checks.create
Section titled “checks.create”create: (
input) =>Promise<ApiCheck>
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<ApiCheck>
checks.delete
Section titled “checks.delete”delete: (
id) =>Promise<void>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<void>
checks.get
Section titled “checks.get”get: (
id) =>Promise<ApiCheck>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<ApiCheck>
checks.list
Section titled “checks.list”list: (
params?) =>Promise<ApiCheck[]>
Parameters
Section titled “Parameters”params?
Section titled “params?”Returns
Section titled “Returns”Promise<ApiCheck[]>
checks.update
Section titled “checks.update”update: (
id,input) =>Promise<ApiCheck>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<ApiCheck>
checkStatuses
Section titled “checkStatuses”checkStatuses:
object
checkStatuses.get
Section titled “checkStatuses.get”get: (
checkId) =>Promise<CheckStatus>
Parameters
Section titled “Parameters”checkId
Section titled “checkId”string
Returns
Section titled “Returns”Promise<CheckStatus>
dashboards
Section titled “dashboards”dashboards:
object
dashboards.create
Section titled “dashboards.create”create: (
input) =>Promise<Dashboard>
Parameters
Section titled “Parameters”DashboardInput & object
Returns
Section titled “Returns”Promise<Dashboard>
dashboards.get
Section titled “dashboards.get”get: (
dashboardId) =>Promise<Dashboard>
Parameters
Section titled “Parameters”dashboardId
Section titled “dashboardId”string
Returns
Section titled “Returns”Promise<Dashboard>
dashboards.list
Section titled “dashboards.list”list: () =>
Promise<Dashboard[]>
Returns
Section titled “Returns”Promise<Dashboard[]>
dashboards.update
Section titled “dashboards.update”update: (
dashboardId,input) =>Promise<Dashboard>
Parameters
Section titled “Parameters”dashboardId
Section titled “dashboardId”string
Returns
Section titled “Returns”Promise<Dashboard>
heartbeats
Section titled “heartbeats”heartbeats:
object
heartbeats.create
Section titled “heartbeats.create”create: (
input) =>Promise<Heartbeat>
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<Heartbeat>
heartbeats.list
Section titled “heartbeats.list”list: (
params?) =>Promise<Heartbeat[]>
Parameters
Section titled “Parameters”params?
Section titled “params?”ListHeartbeatsParams
Returns
Section titled “Returns”Promise<Heartbeat[]>
heartbeats.listAll
Section titled “heartbeats.listAll”listAll: () =>
Promise<Heartbeat[]>
Returns
Section titled “Returns”Promise<Heartbeat[]>
heartbeats.update
Section titled “heartbeats.update”update: (
id,input) =>Promise<Heartbeat>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<Heartbeat>
statusPages
Section titled “statusPages”statusPages:
object
statusPages.components
Section titled “statusPages.components”components:
object
statusPages.components.create
Section titled “statusPages.components.create”create: (
pageId,input) =>Promise<StatusComponent>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
StatusComponentInput
Returns
Section titled “Returns”Promise<StatusComponent>
statusPages.components.list
Section titled “statusPages.components.list”list: (
pageId) =>Promise<StatusComponent[]>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
Returns
Section titled “Returns”Promise<StatusComponent[]>
statusPages.components.update
Section titled “statusPages.components.update”update: (
pageId,id,input) =>Promise<StatusComponent>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
string
StatusComponentInput
Returns
Section titled “Returns”Promise<StatusComponent>
statusPages.create
Section titled “statusPages.create”create: (
input) =>Promise<StatusPage>
Parameters
Section titled “Parameters”StatusPageInput
Returns
Section titled “Returns”Promise<StatusPage>
statusPages.customDomain
Section titled “statusPages.customDomain”customDomain:
object
statusPages.customDomain.recheck
Section titled “statusPages.customDomain.recheck”recheck: (
pageId) =>Promise<CustomDomainVerification>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
Returns
Section titled “Returns”Promise<CustomDomainVerification>
statusPages.customDomain.verification
Section titled “statusPages.customDomain.verification”verification: (
pageId) =>Promise<CustomDomainVerification>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
Returns
Section titled “Returns”Promise<CustomDomainVerification>
statusPages.get
Section titled “statusPages.get”get: (
id) =>Promise<StatusPage>
Parameters
Section titled “Parameters”string
Returns
Section titled “Returns”Promise<StatusPage>
statusPages.incidents
Section titled “statusPages.incidents”incidents:
object
statusPages.incidents.addUpdate
Section titled “statusPages.incidents.addUpdate”addUpdate: (
pageId,id,input) =>Promise<Incident>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
string
IncidentUpdateInput
Returns
Section titled “Returns”Promise<Incident>
statusPages.incidents.create
Section titled “statusPages.incidents.create”create: (
pageId,input) =>Promise<Incident>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
IncidentInput
Returns
Section titled “Returns”Promise<Incident>
statusPages.incidents.get
Section titled “statusPages.incidents.get”get: (
pageId,id) =>Promise<Incident>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
string
Returns
Section titled “Returns”Promise<Incident>
statusPages.incidents.list
Section titled “statusPages.incidents.list”list: (
pageId) =>Promise<IncidentSummary[]>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
Returns
Section titled “Returns”Promise<IncidentSummary[]>
statusPages.incidents.update
Section titled “statusPages.incidents.update”update: (
pageId,id,input) =>Promise<Incident>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
string
IncidentPatch
Returns
Section titled “Returns”Promise<Incident>
statusPages.list
Section titled “statusPages.list”list: () =>
Promise<StatusPage[]>
Returns
Section titled “Returns”Promise<StatusPage[]>
statusPages.rules
Section titled “statusPages.rules”rules:
object
statusPages.rules.create
Section titled “statusPages.rules.create”create: (
pageId,input) =>Promise<StatusRule>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
StatusRuleInput
Returns
Section titled “Returns”Promise<StatusRule>
statusPages.rules.list
Section titled “statusPages.rules.list”list: (
pageId) =>Promise<StatusRule[]>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
Returns
Section titled “Returns”Promise<StatusRule[]>
statusPages.rules.update
Section titled “statusPages.rules.update”update: (
pageId,id,input) =>Promise<StatusRule>
Parameters
Section titled “Parameters”pageId
Section titled “pageId”string
string
StatusRuleInput
Returns
Section titled “Returns”Promise<StatusRule>
statusPages.update
Section titled “statusPages.update”update: (
id,input) =>Promise<StatusPage>
Parameters
Section titled “Parameters”string
StatusPageInput
Returns
Section titled “Returns”Promise<StatusPage>
options
Section titled “options”options:
ChecklyPluginOptions
Defined in: plugins/holocron-plugin-checkly/src/index.ts:46
The options the plugin was created with.