Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BufConfigModuleV2 ¶ added in v0.7.0
type BufConfigModuleV2 struct {
Path string `yaml:"path"`
}
type BufConfigV1V2 ¶ added in v0.7.0
type BufConfigV1V2 struct { Version string `yaml:"version,omitempty"` Name string `yaml:"name,omitempty"` Modules []BufConfigModuleV2 `yaml:"modules,omitempty"` Deps []string `yaml:"deps,omitempty"` }
type BufLockDepV1V2 ¶ added in v0.7.0
type BufLockV1V2 ¶ added in v0.7.0
type BufLockV1V2 struct { Version string `yaml:"version,omitempty"` Deps []BufLockDepV1V2 `yaml:"deps,omitempty"` }
type Option ¶
func BufConfig ¶
BufConfig reads the config file and fetches the file descriptor set from buf.build. Supported versions are v1 and v2.
func BufDir ¶
BufWork reads the work file and fetches the file descriptor set from buf.build. Supported versions are v1 and v2.
type Resolver ¶
type Resolver struct {
// contains filtered or unexported fields
}
func (*Resolver) FindFileByPath ¶
func (r *Resolver) FindFileByPath(path string) (protocompile.SearchResult, error)
Click to show internal directories.
Click to hide internal directories.