Documentation ¶
Overview ¶
Package proto provides functions to convert between protobuf and remoteagent types.
Index ¶
- func ProtobufToFlareData(agentID string, resp *pb.GetFlareFilesResponse) *remoteagentregistry.FlareData
- func ProtobufToRemoteAgentRegistration(in *pb.RegisterRemoteAgentRequest) *remoteagentregistry.RegistrationData
- func ProtobufToStatusData(agentID string, displayName string, resp *pb.GetStatusDetailsResponse) *remoteagentregistry.StatusData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProtobufToFlareData ¶
func ProtobufToFlareData(agentID string, resp *pb.GetFlareFilesResponse) *remoteagentregistry.FlareData
ProtobufToFlareData converts the protobuf representation of flare data to the internal type.
func ProtobufToRemoteAgentRegistration ¶
func ProtobufToRemoteAgentRegistration(in *pb.RegisterRemoteAgentRequest) *remoteagentregistry.RegistrationData
ProtobufToRemoteAgentRegistration converts the protobuf representation of a remote agent registration to the internal type.
func ProtobufToStatusData ¶
func ProtobufToStatusData(agentID string, displayName string, resp *pb.GetStatusDetailsResponse) *remoteagentregistry.StatusData
ProtobufToStatusData converts the protobuf representation of status data to the internal type.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.