parser

package
v0.11.15 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2019 License: Apache-2.0 Imports: 11 Imported by: 2

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

Jump to

Keyboard shortcuts

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