class Fluent::Plugin::AzureStorageGen2Output::Compressor
Attributes
buffer_type[R]
log[R]
Public Class Methods
new(opts = {})
click to toggle source
Calls superclass method
# File lib/fluent/plugin/out_azurestorage_gen2.rb, line 663 def initialize(opts = {}) super() @buffer_type = opts[:buffer_type] @log = opts[:log] end
Public Instance Methods
compress(chunk, tmp)
click to toggle source
# File lib/fluent/plugin/out_azurestorage_gen2.rb, line 681 def compress(chunk, tmp) end
configure(conf)
click to toggle source
Calls superclass method
# File lib/fluent/plugin/out_azurestorage_gen2.rb, line 671 def configure(conf) super end
content_type()
click to toggle source
# File lib/fluent/plugin/out_azurestorage_gen2.rb, line 678 def content_type end
ext()
click to toggle source
# File lib/fluent/plugin/out_azurestorage_gen2.rb, line 675 def ext end
Private Instance Methods
check_command(command, algo = nil)
click to toggle source
# File lib/fluent/plugin/out_azurestorage_gen2.rb, line 685 def check_command(command, algo = nil) require 'open3' algo = command if algo.nil? begin Open3.capture3("#{command} -V") rescue Errno::ENOENT raise Fluent::ConfigError, "'#{command}' utility must be in PATH for #{algo} compression" end end