proto

package
v0.0.0-...-653ea31 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package proto provides functions to convert between protobuf and remoteagent types.

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL