Sha256: 1f13fcdf319d87812ca9939e2512d899518c2496915e5756328c625d9778cf32

Contents?: true

Size: 507 Bytes

Versions: 28

Compression:

Stored size: 507 Bytes

Contents

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

      KEYS = [
        :port, :bind, :tag, :types
      ].freeze

      attr_accessor(*KEYS)

      validates :tag, presence: true

      def self.initial_params
        {
          bind: "0.0.0.0",
          port: 5140,
        }
      end

      def common_options
        [
          :tag, :bind, :port, :types,
        ]
      end

      def advanced_options
        []
      end
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
fluentd-ui-1.0.0.alpha.2 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-1.0.0.alpha.1 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.4.5 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.4.4 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.4.3 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.4.2 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.4.1 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.4.0 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.21 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.20 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.19 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.18 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.17 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.16 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.15 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.14 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.13 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.12 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.11 app/models/fluentd/setting/in_syslog.rb
fluentd-ui-0.3.10 app/models/fluentd/setting/in_syslog.rb