Sha256: 6c421be8cfa1ae1177aeb1b059eca10165027678a126745e0a1aadb007247dc0

Contents?: true

Size: 404 Bytes

Versions: 7

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

class Sbmt::KafkaConsumer::Config::Probes::LivenessProbe < Dry::Struct
  transform_keys(&:to_sym)

  attribute :enabled, Sbmt::KafkaConsumer::Types::Bool.optional.default(true)
  attribute :path, Sbmt::KafkaConsumer::Types::Strict::String
    .optional
    .default("/liveness")
  attribute :timeout, Sbmt::KafkaConsumer::Types::Coercible::Integer.optional.default(10)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
sbmt-kafka_consumer-2.4.1 lib/sbmt/kafka_consumer/config/probes/liveness_probe.rb
sbmt-kafka_consumer-2.4.0 lib/sbmt/kafka_consumer/config/probes/liveness_probe.rb
sbmt-kafka_consumer-2.3.1 lib/sbmt/kafka_consumer/config/probes/liveness_probe.rb
sbmt-kafka_consumer-2.3.0 lib/sbmt/kafka_consumer/config/probes/liveness_probe.rb
sbmt-kafka_consumer-2.2.0 lib/sbmt/kafka_consumer/config/probes/liveness_probe.rb
sbmt-kafka_consumer-2.1.0 lib/sbmt/kafka_consumer/config/probes/liveness_probe.rb
sbmt-kafka_consumer-2.0.0 lib/sbmt/kafka_consumer/config/probes/liveness_probe.rb