Documentation
¶
Index ¶
- type Manager
- func (m *Manager) AgentID() string
- func (m *Manager) Register(ctx context.Context) error
- func (m *Manager) SetCapabilities(c *models.ProxyCapabilities)
- func (m *Manager) SetDetection(d *models.ProxyDetection)
- func (m *Manager) SetVersion(v string)
- func (m *Manager) Token() string
- func (m *Manager) WaitForAdoption(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager handles agent registration and adoption with the orchestrator.
func (*Manager) SetCapabilities ¶
func (m *Manager) SetCapabilities(c *models.ProxyCapabilities)
SetCapabilities records the backend capability matrix (§8) carried in the registration request, so the orchestrator can store it on the agent row from first contact (it is also refreshed on every heartbeat).
func (*Manager) SetDetection ¶
func (m *Manager) SetDetection(d *models.ProxyDetection)
SetDetection records the read-only proxy detection result carried in the registration request, so the orchestrator can store it on the agent row from first contact (it is also refreshed on every heartbeat).
func (*Manager) SetVersion ¶
SetVersion records the agent build version sent during registration.
Click to show internal directories.
Click to hide internal directories.