struct

Obsctl::Diagnostics::Check

Inherits Struct < Value < Object

One diagnostic result.

remedy is the whole point of the command: a check that reports a problem without saying what to do about it just moves the user to a search engine.

Constructors

fail(name : String, detail : String, remedy : String | Nil = nil) : self
Source
new(name : String, status : Status, detail : String, remedy : String | Nil = nil)
Source
ok(name : String, detail : String) : self
Source
warn(name : String, detail : String, remedy : String | Nil = nil) : self
Source

Instance methods

clone
Source
copy_with(name _name = @name, status _status = @status, detail _detail = @detail, remedy _remedy = @remedy)
Source
detail
name
remedy
status
to_json(json : JSON::Builder) : Nil
Source