bundler

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 24, 2022 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bundler

type Bundler struct {
	Opts *Opts
}

func NewBundler

func NewBundler(opts *Opts) *Bundler

func (*Bundler) Bundle

func (b *Bundler) Bundle() error

type Opts

type Opts struct {
	BuildSystem    string        `mapstructure:"build-system"`
	NumBuildJobs   uint          `mapstructure:"build-jobs"`
	Dictionary     string        `mapstructure:"dict"`
	EngineArgs     []string      `mapstructure:"engine-args"`
	FuzzTestArgs   []string      `mapstructure:"fuzz-test-args"`
	SeedCorpusDirs []string      `mapstructure:"seed-corpus-dirs"`
	Timeout        time.Duration `mapstructure:"timeout"`
	ProjectDir     string        `mapstructure:"project-dir"`
	Branch         string
	Commit         string

	// Fields which are not configurable via the config file, by setting
	// mapstructure:"-"
	OutputPath string    `mapstructure:"-"`
	FuzzTests  []string  `mapstructure:"-"`
	Stdout     io.Writer `mapstructure:"-"`
	Stderr     io.Writer `mapstructure:"-"`
}

func (*Opts) Validate

func (opts *Opts) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL