Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RangeFields ¶
func RangeFields(m protoreflect.MessageDescriptor, f func(p protopath.Path, field protoreflect.FieldDescriptor))
RangeFields performs a depth-first traversal over fields in message m, calling f for each. It terminates when all fields have been traversed.
func RangeResourceDescriptors ¶
func RangeResourceDescriptors( file protoreflect.FileDescriptor, f func(protoreflect.MessageDescriptor, *annotations.ResourceDescriptor), )
RangeResourceDescriptors traverses over resource descriptors in file, calling f for each. If the resource descriptor does not belong to a message, the corresponding parameter will be nil.
func RangeResourceReferences ¶
func RangeResourceReferences( m protoreflect.MessageDescriptor, f func(protopath.Path, protoreflect.FieldDescriptor, *annotations.ResourceReference), )
RangeResourceReferences performs a depth-first traversal over fields in message m, calling f for each field with a resource reference annotation. It terminates when all fields have been traversed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.