Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
loki-client
main
Loki
Client
Config
ClientError
Direction
Model
Cache
Caches
Chunk
Entry
IndexStatsResponse
Ingester
Label
LabelResponse
Labels
LabelSet
Matrix
Metric
Querier
QueryResponse
QueryResponseData
ResultType
ResultValue
SamplePair
SampleStream
Scalar
SeriesResponse
Stats
Status
Store
Stream
Streams
Summary
ValueType
Vector
Vectors
ProxyConfig
Generated using Crystal 1.14.0
2024-11-26 09:37:42 UTC
struct
Loki::
Model::
Label
Loki::Model::Label
Struct
Value
Object
Included Modules
JSON::Serializable
Defined in:
models/labels.cr
Constructors
.new
(name : String, value : String)
.new
(pull : JSON::PullParser)
Instance Method Summary
#clone
#copy_with
(name _name = @name, value _value = @value)
#name
: String
#value
: String
Constructor Detail
def self.
new
(name : String, value : String)
#
[
View source
]
def self.
new
(pull : JSON::PullParser)
#
[
View source
]
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(name _name = @name, value _value = @value)
#
[
View source
]
def
name
: String
#
def
value
: String
#