struct Bakelite::Core::IntegrityViolation

Overview

Structured record describing a single integrity violation detected during verification.

Included Modules

Defined in:

bakelite/core/integrity_verifier.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]
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) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]
def self.new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node) #

[View source]

Instance Method Detail

def actual : String | Nil #

[View source]
def chunk_index : Int32 | Nil #

[View source]
def expected : String | Nil #

[View source]
def kind : ViolationKind #

[View source]
def message : String #

[View source]
def path : String | Nil #

[View source]
def volume_name : String | Nil #

[View source]