HostKit.Monitor.Check (host_kit v0.1.0-beta.0)

Copy Markdown View Source

Declarative monitoring check metadata.

Summary

Types

t()

@type t() :: %HostKit.Monitor.Check{
  clean: boolean() | nil,
  expect: keyword(),
  meta: map(),
  name: atom() | String.t(),
  port: non_neg_integer() | nil,
  resource_id: term(),
  severity: atom(),
  target: String.t() | nil,
  task: String.t() | nil,
  type: atom()
}

Functions

new(attrs)

@spec new(map() | keyword()) :: t()