Documentation ¶
Overview ¶
Package remoteagentregistry provides an integration point for remote agents to register and be able to report their status and emit flare data
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Component ¶
type Component interface { RegisterRemoteAgent(req *RegistrationData) (uint32, error) GetRegisteredAgents() []*RegisteredAgent GetRegisteredAgentStatuses() []*StatusData }
Component is the component type.
type RegisteredAgent ¶
RegisteredAgent contains the information about a registered remote agent
type RegistrationData ¶
type RegistrationData struct { AgentID string DisplayName string APIEndpoint string AuthToken string }
RegistrationData contains the registration information for a remote agent
type StatusData ¶
type StatusData struct { AgentID string DisplayName string FailureReason string MainSection StatusSection NamedSections map[string]StatusSection }
StatusData contains the status data for a remote agent
type StatusSection ¶
StatusSection is a map of key-value pairs that represent a section of the status data
Click to show internal directories.
Click to hide internal directories.