utils

package
v0.0.0-...-c4caace Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pb2TaggerCardinality

func Pb2TaggerCardinality(pbCardinality pb.TagCardinality) (collectors.TagCardinality, error)

Pb2TaggerCardinality helper to convert protobuf cardinality to native tag cardinality.

func Pb2TaggerEntityID

func Pb2TaggerEntityID(entityID *pb.EntityId) (string, error)

Pb2TaggerEntityID helper to convert a protobuf Entity ID to its expected format.

func Tagger2PbEntityEvent

func Tagger2PbEntityEvent(event types.EntityEvent) (*pb.StreamTagsEvent, error)

Tagger2PbEntityEvent helper to convert a native EntityEvent type to its protobuf representation.

func Tagger2PbEntityID

func Tagger2PbEntityID(entityID string) (*pb.EntityId, error)

Tagger2PbEntityID helper to convert an Entity ID to its expected protobuf format.

Types

This section is empty.

Jump to

Keyboard shortcuts

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