Documentation ¶
Index ¶
- func GetFileDescriptorSets(workDirPath string, dirPath string) (protoc.FileDescriptorSets, error)
- func PrintFileDescriptorSetsJSON(fileDescriptorSets []*descriptor.FileDescriptorSet) error
- func PrintPackageSetJSON(packageSet *reflectv1.PackageSet) error
- func RequireGetFileDescriptorSets(t *testing.T, workDirPath string, dirPath string) protoc.FileDescriptorSets
- func RequirePrintFileDescriptorSetsJSON(t *testing.T, fileDescriptorSets []*descriptor.FileDescriptorSet)
- func RequirePrintPackageSetJSON(t *testing.T, packageSet *reflectv1.PackageSet)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileDescriptorSets ¶
func GetFileDescriptorSets(workDirPath string, dirPath string) (protoc.FileDescriptorSets, error)
GetFileDescriptorSets gets the FileDescriptorSets that result from compiling the given dirPath.
func PrintFileDescriptorSetsJSON ¶
func PrintFileDescriptorSetsJSON(fileDescriptorSets []*descriptor.FileDescriptorSet) error
PrintFileDescriptorSetsJSON prints the FileDescriptorSets to stdout.
func PrintPackageSetJSON ¶
func PrintPackageSetJSON(packageSet *reflectv1.PackageSet) error
PrintPackageSetJSON prints the PackageSet to stdout.
func RequireGetFileDescriptorSets ¶
func RequireGetFileDescriptorSets(t *testing.T, workDirPath string, dirPath string) protoc.FileDescriptorSets
RequireGetFileDescriptorSets calls GetDescriptorFileSets with require calls.
func RequirePrintFileDescriptorSetsJSON ¶
func RequirePrintFileDescriptorSetsJSON(t *testing.T, fileDescriptorSets []*descriptor.FileDescriptorSet)
RequirePrintFileDescriptorSetsJSON calls PrintFileDescriptorSetsJSON with require calls.
func RequirePrintPackageSetJSON ¶
func RequirePrintPackageSetJSON(t *testing.T, packageSet *reflectv1.PackageSet)
RequirePrintPackageSetJSON calls PrintPackageSetJSON with require calls.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.