enum Obsctl::Diagnostics::Status

Overview

Severity of a single doctor check.

Warn deliberately does not fail the command: a warning describes a setup that works but is worth changing (a plaintext password, a daemon that is not installed as a service). Only Fail means obsctl cannot do what the user is asking for.

Defined in:

obsctl/diagnostics/check.cr

Enum Members

Ok = 0
Warn = 1
Fail = 2

Instance Method Summary

Instance Method Detail

def fail? #

Returns true if this enum value equals Fail


[View source]
def label : String #

[View source]
def ok? #

Returns true if this enum value equals Ok


[View source]
def warn? #

Returns true if this enum value equals Warn


[View source]