struct
Obsctl::Diagnostics::Check
- Obsctl::Diagnostics::Check
- Struct
- Value
- Object
Overview
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.
Defined in:
obsctl/diagnostics/check.crConstructors
- .fail(name : String, detail : String, remedy : String | Nil = nil) : self
- .new(name : String, status : Status, detail : String, remedy : String | Nil = nil)
- .ok(name : String, detail : String) : self
- .warn(name : String, detail : String, remedy : String | Nil = nil) : self
Instance Method Summary
- #clone
- #copy_with(name _name = @name, status _status = @status, detail _detail = @detail, remedy _remedy = @remedy)
- #detail : String
- #name : String
- #remedy : String | Nil
- #status : Status
- #to_json(json : JSON::Builder) : Nil
Constructor Detail
Instance Method Detail
def copy_with(name _name = @name, status _status = @status, detail _detail = @detail, remedy _remedy = @remedy)
#