builder

package
v0.32.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CIFuzzExecutablePath

func CIFuzzExecutablePath(binDir string) string

func FindProjectDir

func FindProjectDir() (string, error)

Types

type CIFuzzBuilder

type CIFuzzBuilder struct {
	Options
	// contains filtered or unexported fields
}

func NewCIFuzzBuilder

func NewCIFuzzBuilder(opts Options) (*CIFuzzBuilder, error)

func (*CIFuzzBuilder) BuildCIFuzz

func (i *CIFuzzBuilder) BuildCIFuzz() error

func (*CIFuzzBuilder) BuildCIFuzzAndDeps

func (i *CIFuzzBuilder) BuildCIFuzzAndDeps() error

func (*CIFuzzBuilder) BuildMinijail

func (i *CIFuzzBuilder) BuildMinijail() error

func (*CIFuzzBuilder) BuildProcessWrapper

func (i *CIFuzzBuilder) BuildProcessWrapper() error

func (*CIFuzzBuilder) Cleanup

func (i *CIFuzzBuilder) Cleanup()

func (*CIFuzzBuilder) CopyFiles added in v0.13.0

func (i *CIFuzzBuilder) CopyFiles() error

CopyFiles copies all files which don't need to built to the target directory.

func (*CIFuzzBuilder) Lock

func (i *CIFuzzBuilder) Lock() error

Lock acquires a file lock to make sure that only one instance of the installer is executed at the same time. Note that this function does not provide thread-safety for using the same installer instance multiple times.

func (*CIFuzzBuilder) Unlock

func (i *CIFuzzBuilder) Unlock() error

Unlock releases the file lock to allow other installer instances to run.

type Options

type Options struct {
	Version   string
	TargetDir string
	GOOS      string
	GOARCH    string
}

Jump to

Keyboard shortcuts

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