Documentation ¶
Overview ¶
Package proto provides conversions between Workloadmeta types and protobuf.
Index ¶
- func ProtobufEventFromWorkloadmetaEvent(event workloadmeta.Event) (*pb.WorkloadmetaEvent, error)
- func ProtobufFilterFromWorkloadmetaFilter(filter *workloadmeta.Filter) (*pb.WorkloadmetaFilter, error)
- func WorkloadmetaEventFromProtoEvent(protoEvent *pb.WorkloadmetaEvent) (workloadmeta.Event, error)
- func WorkloadmetaFilterFromProtoFilter(protoFilter *pb.WorkloadmetaFilter) (*workloadmeta.Filter, error)
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.
Click to show internal directories.
Click to hide internal directories.