inspect::NodeHealth

Summary

Constructors and Destructors

NodeHealth(::inspect::Node *parent_node)
NodeHealth(::inspect::Node *parent_node, const std::function< zx_time_t()> & clock_fn)
NodeHealth(NodeHealth &&)
NodeHealth(const NodeHealth &)

Public functions

Ok()
void
SetStatus(const std::string & status, const std::string & message)
void
StartingUp()
void
StartingUp(const std::string & message)
void
Unhealthy(const std::string & message)
void
operator=(NodeHealth &&)=default
operator=(const NodeHealth &)=delete

Public functions

NodeHealth

 NodeHealth(
  ::inspect::Node *parent_node
)

NodeHealth

 NodeHealth(
  ::inspect::Node *parent_node,
  const std::function< zx_time_t()> & clock_fn
)

NodeHealth

 NodeHealth(
  NodeHealth &&
)=default

NodeHealth

 NodeHealth(
  const NodeHealth &
)=delete

Ok

void Ok()

SetStatus

void SetStatus(
  const std::string & status,
  const std::string & message
)

StartingUp

void StartingUp()

StartingUp

void StartingUp(
  const std::string & message
)

Unhealthy

void Unhealthy(
  const std::string & message
)

operator=

NodeHealth & operator=(
  NodeHealth &&
)=default

operator=

NodeHealth & operator=(
  const NodeHealth &
)=delete