Module: Fluent::Plugin::MongoAuthParams
- Included in:
- MongoStorage
- Defined in:
- lib/fluent/plugin/mongo_auth.rb
Class Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/fluent/plugin/mongo_auth.rb', line 4 def self.included(klass) klass.instance_eval { desc "MongoDB user" config_param :user, :string, default: nil desc "MongoDB password" config_param :password, :string, default: nil, secret: true desc "MongoDB authentication database" config_param :auth_source, :string, default: nil } end |