Module: Fluent::GridDBAuthParams

Included in:
Plugin::GriddbOutput
Defined in:
lib/fluent/plugin/griddb_auth.rb

Class Method Summary collapse

Class Method Details

.included(klass) ⇒ Object



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# File 'lib/fluent/plugin/griddb_auth.rb', line 7

def self.included(klass)
  klass.instance_eval {
	desc "Host to GridDB Server"
	# Endpoint URL ex. http://localhost.local/api/
	config_param :host, :string
	
	desc "Cluster name"
	# Cluster name to GridDB Server
	config_param :cluster, :string
	
	desc "Database name"
	# Database name in GridDB Server
	config_param :database, :string
	
	desc "Container name"
	# Container name in database
	config_param :container, :string
   
	desc "Username of GridDB account"
	# GridDB username account
	config_param :username, :string, :default => ''

	desc "Password of GridDB account"
	# GridDB password account
	config_param :password, :string, :default => '', :secret => true
 
	# Switch non-buffered/buffered plugin
	config_param :buffered, :bool, :default => false
  }
end