struct Loki::Model::Entry

Defined in:

models/entry.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(timestamp : Time | Nil, line : Nil | String, structred_metadata : Nil | Array(Loki::Model::Label), parsed : Nil | Array(Loki::Model::Label), metadata : JSON::Any = JSON::Any.new(nil)) #

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

[View source]

Instance Method Detail

def line : String | Nil #

[View source]
def parsed : Model::Labels | Nil #

[View source]
def structred_metadata : Model::Labels | Nil #

[View source]
def timestamp : Time | Nil #

[View source]
def to_json(json : JSON::Builder) #

[View source]