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.
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 |
# File 'lib/agent_cli_runtime/values.rb', line 137 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
133 134 135 |
# File 'lib/agent_cli_runtime/values.rb', line 133 def auth_configuration @auth_configuration end |
#capability_evidence ⇒ Object (readonly)
Returns the value of attribute capability_evidence
133 134 135 |
# File 'lib/agent_cli_runtime/values.rb', line 133 def capability_evidence @capability_evidence end |
#diagnostic ⇒ Object (readonly)
Returns the value of attribute diagnostic
133 134 135 |
# File 'lib/agent_cli_runtime/values.rb', line 133 def diagnostic @diagnostic end |
#executable ⇒ Object (readonly)
Returns the value of attribute executable
133 134 135 |
# File 'lib/agent_cli_runtime/values.rb', line 133 def executable @executable end |
#installed ⇒ Object (readonly)
Returns the value of attribute installed
133 134 135 |
# File 'lib/agent_cli_runtime/values.rb', line 133 def installed @installed end |
#minimum_version ⇒ Object (readonly)
Returns the value of attribute minimum_version
133 134 135 |
# File 'lib/agent_cli_runtime/values.rb', line 133 def minimum_version @minimum_version end |
#provider ⇒ Object (readonly)
Returns the value of attribute provider
133 134 135 |
# File 'lib/agent_cli_runtime/values.rb', line 133 def provider @provider end |
#ready ⇒ Object (readonly)
Returns the value of attribute ready
133 134 135 |
# File 'lib/agent_cli_runtime/values.rb', line 133 def ready @ready end |
#version ⇒ Object (readonly)
Returns the value of attribute version
133 134 135 |
# File 'lib/agent_cli_runtime/values.rb', line 133 def version @version end |