Versions in this module Expand all Collapse all v0 v0.2.0 May 29, 2018 Changes in this version type RunnerOption + func RunnerWithHarbormaster() RunnerOption v0.1.0 Apr 11, 2018 Changes in this version + type ExitError struct + Code int + Message string + func (e *ExitError) Error() string + type Runner interface + All func(args []string, disableFormat bool, disableLint bool) error + BinaryToJSON func(args []string) error + Clean func() error + Compile func(args []string) error + DescriptorProto func(args []string) error + Download func() error + FieldDescriptorProto func(args []string) error + Files func(args []string) error + Format func(args []string, overwrite bool, diffMode bool, lintMode bool) error + GRPC func(args []string, headers []string, callTimeout string, connectTimeout string, ...) error + Gen func(args []string) error + Init func(args []string, uncomment bool) error + JSONToBinary func(args []string) error + Lint func(args []string) error + ListAllLintGroups func() error + ListAllLinters func() error + ListLintGroup func(group string) error + ListLinters func() error + ProtocCommands func(args []string, genCommands bool) error + ServiceDescriptorProto func(args []string) error + Version func() error + func NewRunner(workDirPath string, input io.Reader, output io.Writer, options ...RunnerOption) Runner + type RunnerOption func(*runner) + func RunnerWithCachePath(cachePath string) RunnerOption + func RunnerWithDirMode() RunnerOption + func RunnerWithLogger(logger *zap.Logger) RunnerOption + func RunnerWithPrintFields(printFields string) RunnerOption + func RunnerWithProtocURL(protocURL string) RunnerOption