Class: Infrawrench::AgentNamespace

Inherits:
Object
  • Object
show all
Defined in:
lib/infrawrench/client.rb,
sig/infrawrench/sdk.rbs

Overview

client.agent

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(transport) ⇒ AgentNamespace

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of AgentNamespace.

Parameters:



1018
1019
1020
1021
1022
# File 'lib/infrawrench/client.rb', line 1018

def initialize(transport)
  @transport = transport
  @claim = AgentClaimNamespace.new(@transport)
  @identity = AgentIdentityNamespace.new(@transport)
end

Instance Attribute Details

#claimAgentClaimNamespace (readonly)

Returns client.agent.claim.

Returns:



1012
1013
1014
# File 'lib/infrawrench/client.rb', line 1012

def claim
  @claim
end

#identityAgentIdentityNamespace (readonly)

Returns client.agent.identity.

Returns:



1014
1015
1016
# File 'lib/infrawrench/client.rb', line 1014

def identity
  @identity
end