Documentation ¶
Index ¶
- func AddArg(arg string) func(*bufArgs)
- func AddPaths(paths []string) func(*bufArgs)
- func Build(binFile string, bufConfigs ...string) error
- func BuildDir(dir, binFile string) error
- func CreateDevWorkspace(protoDirs, dependencies []string) (func() error, error)
- func Generate(binFile string, protoPluginPaths []string) error
- func GenerateDev(binFile string, protoDirs, deps, protoPluginPaths []string) (err error)
- func GetCommonProtoRepo() string
- func Lint(bufConfigs ...string) error
- func LintBin(binFile string, bufConfigs ...string) error
- func ModUpdate(dirs ...string) error
- func Run(args ...Arg) error
- func RunWithEnv(env map[string]string, args ...Arg) (err error)
- func WithLogin() func(*bufArgs)
- type Arg
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDevWorkspace ¶ added in v0.8.4
func GenerateDev ¶ added in v0.8.4
func GetCommonProtoRepo ¶ added in v0.8.4
func GetCommonProtoRepo() string
func RunWithEnv ¶ added in v0.8.5
Run runs the protoc CLI with the given environment variables.
Types ¶
Click to show internal directories.
Click to hide internal directories.