Sha256: d033154157810679e86bcfe6c9541cbc7d98b72b6315a5cf3ca5fa9dfc90f3fd

Contents?: true

Size: 515 Bytes

Versions: 7

Compression:

Stored size: 515 Bytes

Contents

class Fluentd
  module Setting
    class OutTd
      include ActiveModel::Model
      include Common

      KEYS = [
        :match,
        :apikey, :auto_create_table, :database, :table,
        :flush_interval, :buffer_type, :buffer_path,
      ].freeze

      attr_accessor(*KEYS)

      flags :auto_create_table

      validates :match, presence: true
      validates :apikey, presence: true
      validates :auto_create_table, presence: true

      def plugin_name
        "tdlog"
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fluentd-ui-0.3.0 app/models/fluentd/setting/out_td.rb
fluentd-ui-0.2.0 app/models/fluentd/setting/out_td.rb
fluentd-ui-0.1.4 app/models/fluentd/setting/out_td.rb
fluentd-ui-0.1.3 app/models/fluentd/setting/out_td.rb
fluentd-ui-0.1.2 app/models/fluentd/setting/out_td.rb
fluentd-ui-0.1.1 app/models/fluentd/setting/out_td.rb
fluentd-ui-0.1.0 app/models/fluentd/setting/out_td.rb