Sha256: ddb51e6b09014d428520767c07c22a50b8f6835ea1210dd22e9ba523cc9470b9

Contents?: true

Size: 668 Bytes

Versions: 127

Compression:

Stored size: 668 Bytes

Contents

# encoding: utf-8
require_relative "scaffold"

# This module function should be used when gems or
# x-pack defines modules in their folder structures.
module LogStash module Modules module Util
  def self.register_local_modules(path)
    modules_path = ::File.join(path, "modules")
    ::Dir.foreach(modules_path) do |item|
      # Ignore unix relative path ids
      next if item == '.' or item == '..'
      # Ignore non-directories
      next if !::File.directory?(::File.join(modules_path, ::File::Separator, item))
      LogStash::PLUGIN_REGISTRY.add(:modules, item, Scaffold.new(item, ::File.join(modules_path, item, "configuration")))
    end
  end
end end end

Version data entries

127 entries across 127 versions & 5 rubygems

Version Path
logstash-core-6.8.23-java lib/logstash/modules/util.rb
logstash-core-6.8.22-java lib/logstash/modules/util.rb
logstash-core-6.8.21-java lib/logstash/modules/util.rb
logstash-core-6.8.20-java lib/logstash/modules/util.rb
logstash-output-scalyr-0.2.1.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-core-6.8.19-java lib/logstash/modules/util.rb
logstash-output-scalyr-0.2.0 vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-output-scalyr-0.2.0.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.26.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.25.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.24.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.23.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.22.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.21.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.20.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-core-6.8.18-java lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.19.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-core-6.8.17-java lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.18.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb
logstash-output-scalyr-0.1.17.beta vendor/bundle/jruby/2.5.0/gems/logstash-core-5.6.4-java/lib/logstash/modules/util.rb