struct
Bakelite::Core::IntegrityViolation
- Bakelite::Core::IntegrityViolation
- Struct
- Value
- Object
Overview
Structured record describing a single integrity violation detected during verification.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
bakelite/core/integrity_verifier.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(kind : ViolationKind, message : String, path : String | Nil = nil, volume_name : String | Nil = nil, expected : String | Nil = nil, actual : String | Nil = nil, chunk_index : Int32 | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
Instance Method Summary
- #actual : String | Nil
- #chunk_index : Int32 | Nil
- #expected : String | Nil
- #kind : ViolationKind
- #message : String
- #path : String | Nil
- #volume_name : String | Nil
Constructor Detail
def self.new(kind : ViolationKind, message : String, path : String | Nil = nil, volume_name : String | Nil = nil, expected : String | Nil = nil, actual : String | Nil = nil, chunk_index : Int32 | Nil = nil)
#
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)
#