package
1.50.0
Repository: https://github.com/bufbuild/buf.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AppendWellKnownTypeImageFileInfos appends any Well-Known Types that are not already present in the input ImageFileInfos.
BuildImage runs compilation.
CloneImage returns a deep copy of the given image.
CloneImageFile returns a deep copy of the given image file.
ImageByDir returns multiple images that have non-imports split by directory.
ImageFileInfoForModuleFileInfo returns a new ImageFileInfo for the bufmodule.FileInfo.
ImageFileInfosWithOnlyTargetsAndTargetImports returns a new slice of ImageFileInfos that only contains the non-imports (ie targets), and the files that those non-imports themselves transitively import.
ImageFileWithIsImport returns a copy of the ImageFile with the new ImageFile now marked as an import.
ImagesToCodeGeneratorRequests converts the Images to CodeGeneratorRequests.
ImageToCodeGeneratorRequest returns a new CodeGeneratorRequest for the Image.
ImageToFileDescriptorProtos returns the FileDescriptorProtos for the Image.
ImageToFileDescriptorSet returns a new FileDescriptorSet for the Image.
ImageToProtoImage returns a new ProtoImage for the Image.
ImageWithOnlyPaths returns a copy of the Image that only includes the files with the given root relative file paths or directories.
ImageWithOnlyPathsAllowNotExist returns a copy of the Image that only includes the files with the given root relative file paths.
ImageWithoutImports returns a copy of the Image without imports.
NewImage returns a new Image for the given ImageFiles.
NewImageFile returns a new ImageFile.
NewImageForCodeGeneratorRequest returns a new Image from a given CodeGeneratorRequest.
NewImageForProto returns a new Image for the given proto Image.
WithExcludeSourceCodeInfo returns a new BuildImageOption that excludes sourceCodeInfo.
WithNoParallelism turns off parallelism for a build.
WithNoReparse instructs NewImageForProto to skip the reparse step.
WithUnusedImportsComputation instructs NewImageForProto to compute unused imports for the files.

# Interfaces

Image is a buf image.
ImageFile is a Protobuf file within an image.
ImageFileInfo is the minimal interface that can be fulfilled by both an ImageFile and (with conversion) a bufmodule.FileInfo.

# Type aliases

BuildImageOption is an option for BuildImage.
NewImageForProtoOption is an option for use with NewImageForProto.