proto

package
v0.0.0-...-d598917 Latest Latest
Warning

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

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

Documentation

Overview

Package proto provides conversions between Workloadmeta types and protobuf.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProtobufEventFromWorkloadmetaEvent

func ProtobufEventFromWorkloadmetaEvent(event workloadmeta.Event) (*pb.WorkloadmetaEvent, error)

ProtobufEventFromWorkloadmetaEvent converts the given workloadmeta.Event into protobuf

func ProtobufFilterFromWorkloadmetaFilter

func ProtobufFilterFromWorkloadmetaFilter(filter *workloadmeta.Filter) (*pb.WorkloadmetaFilter, error)

ProtobufFilterFromWorkloadmetaFilter converts the given workloadmeta.Filter into protobuf

func WorkloadmetaEventFromProtoEvent

func WorkloadmetaEventFromProtoEvent(protoEvent *pb.WorkloadmetaEvent) (workloadmeta.Event, error)

WorkloadmetaEventFromProtoEvent converts the given protobuf workloadmeta event into a workloadmeta.Event

func WorkloadmetaFilterFromProtoFilter

func WorkloadmetaFilterFromProtoFilter(protoFilter *pb.WorkloadmetaFilter) (*workloadmeta.Filter, error)

WorkloadmetaFilterFromProtoFilter converts the given protobuf filter into a workloadmeta.Filter

Types

This section is empty.

Jump to

Keyboard shortcuts

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