dagger/dsl/check

Values

pub fn check(id id: types.Check) -> types.Check
pub fn completed(
  parent: types.Check,
  client client: types.Client,
  then handler: fn(Result(Bool, types.QueryError)) -> a,
) -> a

Whether the check completed

pub fn description(
  parent: types.Check,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

The description of the check

pub fn id(parent: types.Check) -> types.Check

A unique identifier for this Check.

pub fn name(
  parent: types.Check,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

Return the fully qualified name of the check

pub fn passed(
  parent: types.Check,
  client client: types.Client,
  then handler: fn(Result(Bool, types.QueryError)) -> a,
) -> a

Whether the check passed

pub fn path(
  parent: types.Check,
  client client: types.Client,
  then handler: fn(Result(List(String), types.QueryError)) -> a,
) -> a

The path of the check within its module

pub fn result_emoji(
  parent: types.Check,
  client client: types.Client,
  then handler: fn(Result(String, types.QueryError)) -> a,
) -> a

An emoji representing the result of the check

pub fn run(parent: types.Check) -> types.Check

Execute the check

Search Document