Sha256: ecd6f758c10c534b318ddfcacf0d0bc659bb24ced83152716578847d92731031
Contents?: true
Size: 900 Bytes
Versions: 20
Compression:
Stored size: 900 Bytes
Contents
class Fluentd module Setting class InHttp include ActiveModel::Model include Common KEYS = [ :bind, :port, :body_size_limit, :keepalive_timeout, :add_http_headers, :format, :log_level ].freeze attr_accessor(*KEYS) validates :bind, presence: true validates :port, presence: true def self.initial_params { bind: "0.0.0.0", port: 8888, body_size_limit: "32m", keepalive_timeout: "10s", add_http_headers: false, format: "default", log_level: "info", } end def common_options [ :bind, :port ] end def advanced_options [ :body_size_limit, :keepalive_timeout, :add_http_headers, :format, :log_level ] end def plugin_name "http" end end end end
Version data entries
20 entries across 20 versions & 1 rubygems