Module: Fluent::GCS
- Defined in:
- lib/fluent/plugin/gcs/object_creator.rb
Defined Under Namespace
Classes: GZipObjectCreator, JSONObjectCreator, ObjectCreator, TextObjectCreator
Class Method Summary collapse
Class Method Details
.discovered_object_creator(store_as, transcoding: nil) ⇒ Object
6 7 8 9 10 11 12 13 14 15 |
# File 'lib/fluent/plugin/gcs/object_creator.rb', line 6 def self.discovered_object_creator(store_as, transcoding: nil) case store_as when :gzip Fluent::GCS::GZipObjectCreator.new(transcoding) when :json Fluent::GCS::JSONObjectCreator.new when :text Fluent::GCS::TextObjectCreator.new end end |