Class: LogsCfPlugin::ClientConfig

Inherits:
Object
  • Object
show all
Defined in:
lib/lds-cf-plugin/loggregator/client_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(loggregator_host, loggregator_port, user_token, output, trace, use_ssl = true) ⇒ ClientConfig

Returns a new instance of ClientConfig.



5
6
7
8
9
10
11
12
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 5

def initialize(loggregator_host, loggregator_port, user_token, output, trace, use_ssl = true)
  @output = output
  @loggregator_host = loggregator_host
  @loggregator_port = loggregator_port
  @user_token = user_token
  @trace = trace
  @use_ssl = use_ssl
end

Instance Attribute Details

#loggregator_hostObject (readonly)

Returns the value of attribute loggregator_host.



3
4
5
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3

def loggregator_host
  @loggregator_host
end

#loggregator_portObject (readonly)

Returns the value of attribute loggregator_port.



3
4
5
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3

def loggregator_port
  @loggregator_port
end

#outputObject (readonly)

Returns the value of attribute output.



3
4
5
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3

def output
  @output
end

#traceObject (readonly)

Returns the value of attribute trace.



3
4
5
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3

def trace
  @trace
end

#use_sslObject (readonly)

Returns the value of attribute use_ssl.



3
4
5
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3

def use_ssl
  @use_ssl
end

#user_tokenObject (readonly)

Returns the value of attribute user_token.



3
4
5
# File 'lib/lds-cf-plugin/loggregator/client_config.rb', line 3

def user_token
  @user_token
end