Documentation
¶
Index ¶
Constants ¶
const FullName = "AuxiliaryMetadata"
FullName is the Auxiliary Metadata message descriptor's full name. See Remote API: https://github.com/bazelbuild/remote-apis/blob/7f51b3676b5d19df726783d9a861e45d7389b5ae/build/bazel/remote/execution/v2/remote_execution.proto#L1046 It's worth noting that the backend can give this proto message any arbitrary name; however, the client side proto message should strictly use `AuxiliaryMetadata` to receive it. For example, in the unit test, the backend send the proto msg out with name `WorkerAuxiliaryMetadata`, and client receives it as `AuxiliaryMetadata`.
Variables ¶
var AuxMsgDescriptor *protoreflect.MessageDescriptor
AuxMsgDescriptor is the message descriptor for Auxiliary Metadata. This variable should be set via SetMessageDescriptor() in reproxy before logger is initialed.
Functions ¶
func FlatRawMsg ¶
FlatRawMsg decode raw bytes of a protobuf message according to the given message descriptor, returns a flatted map representation of the message.
func SetMessageDescriptor ¶
SetMessageDescriptor reads a .pb file for an auxiliary metadata, parse the file to a message descriptor, and returns the message descriptor.
Types ¶
This section is empty.