Class: AgentCliRuntime::ProbeResult
- Inherits:
-
Data
- Object
- Data
- AgentCliRuntime::ProbeResult
- Defined in:
- lib/agent_cli_runtime/values.rb
Instance Attribute Summary collapse
-
#auth_configuration ⇒ Object
readonly
Returns the value of attribute auth_configuration.
-
#capability_evidence ⇒ Object
readonly
Returns the value of attribute capability_evidence.
-
#diagnostic ⇒ Object
readonly
Returns the value of attribute diagnostic.
-
#executable ⇒ Object
readonly
Returns the value of attribute executable.
-
#installed ⇒ Object
readonly
Returns the value of attribute installed.
-
#minimum_version ⇒ Object
readonly
Returns the value of attribute minimum_version.
-
#provider ⇒ Object
readonly
Returns the value of attribute provider.
-
#ready ⇒ Object
readonly
Returns the value of attribute ready.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(provider:, ready:, installed:, executable:, version:, minimum_version:, auth_configuration:, capability_evidence:, diagnostic:) ⇒ ProbeResult
constructor
A new instance of ProbeResult.
Constructor Details
#initialize(provider:, ready:, installed:, executable:, version:, minimum_version:, auth_configuration:, capability_evidence:, diagnostic:) ⇒ ProbeResult
Returns a new instance of ProbeResult.
166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 |
# File 'lib/agent_cli_runtime/values.rb', line 166 def initialize(provider:, ready:, installed:, executable:, version:, minimum_version:, auth_configuration:, capability_evidence:, diagnostic:) super( provider: provider.to_sym, ready: ready == true, installed: installed == true, executable: Immutable.string(executable), version: version.nil? ? nil : Immutable.string(version), minimum_version: minimum_version.nil? ? nil : Immutable.string(minimum_version), auth_configuration: auth_configuration, capability_evidence: Array(capability_evidence).freeze, diagnostic: diagnostic.nil? ? nil : Immutable.string(diagnostic) ) end |
Instance Attribute Details
#auth_configuration ⇒ Object (readonly)
Returns the value of attribute auth_configuration
162 163 164 |
# File 'lib/agent_cli_runtime/values.rb', line 162 def auth_configuration @auth_configuration end |
#capability_evidence ⇒ Object (readonly)
Returns the value of attribute capability_evidence
162 163 164 |
# File 'lib/agent_cli_runtime/values.rb', line 162 def capability_evidence @capability_evidence end |
#diagnostic ⇒ Object (readonly)
Returns the value of attribute diagnostic
162 163 164 |
# File 'lib/agent_cli_runtime/values.rb', line 162 def diagnostic @diagnostic end |
#executable ⇒ Object (readonly)
Returns the value of attribute executable
162 163 164 |
# File 'lib/agent_cli_runtime/values.rb', line 162 def executable @executable end |
#installed ⇒ Object (readonly)
Returns the value of attribute installed
162 163 164 |
# File 'lib/agent_cli_runtime/values.rb', line 162 def installed @installed end |
#minimum_version ⇒ Object (readonly)
Returns the value of attribute minimum_version
162 163 164 |
# File 'lib/agent_cli_runtime/values.rb', line 162 def minimum_version @minimum_version end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider
162 163 164 |
# File 'lib/agent_cli_runtime/values.rb', line 162 def provider @provider end |
#ready ⇒ Object (readonly)
Returns the value of attribute ready
162 163 164 |
# File 'lib/agent_cli_runtime/values.rb', line 162 def ready @ready end |
#version ⇒ Object (readonly)
Returns the value of attribute version
162 163 164 |
# File 'lib/agent_cli_runtime/values.rb', line 162 def version @version end |