Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterDuplicateDescriptors ¶ added in v0.11.2
func FilterDuplicateDescriptors(descriptors []*model.DescriptorWithPath) []*model.DescriptorWithPath
func ProcessDescriptorsFromConfig ¶ added in v0.10.21
func ProcessDescriptorsFromConfig(projectConfig *model.ProjectConfig, allProjectConfigs []*model.ProjectConfig, descriptors []*descriptor.FileDescriptorProto) (*model.Project, error)
Build a 'Project' object that contains a resource for each message that: - is contained in the FileDescriptor and - is a solo kit resource (i.e. it has a field named 'metadata')
Types ¶
type ProjectMap ¶ added in v0.10.21
type ProjectMap map[*model.ProjectConfig]*model.Project
func ProcessDescriptorsFromConfigs ¶ added in v0.10.21
func ProcessDescriptorsFromConfigs(projectConfigs []*model.ProjectConfig, protoDescriptors []*descriptor.FileDescriptorProto) (ProjectMap, error)
type ProtoMessageWrapper ¶
type ProtoMessageWrapper struct { GoPackage string Message *protokit.Descriptor }
add some data we need to the regular proto message
Click to show internal directories.
Click to hide internal directories.