Documentation
¶
Index ¶
- func CIFuzzExecutablePath(binDir string) string
- func ExtractBundle(targetDir string, bundle *embed.FS) error
- func FindProjectDir() (string, error)
- func PrintPathInstructions(binDir string)
- type InstallationBundler
- func (i *InstallationBundler) BuildCIFuzz() error
- func (i *InstallationBundler) BuildCIFuzzAndDeps() error
- func (i *InstallationBundler) BuildMinijail() error
- func (i *InstallationBundler) BuildProcessWrapper() error
- func (i *InstallationBundler) Cleanup()
- func (i *InstallationBundler) CopyCMakeIntegration() error
- func (i *InstallationBundler) Lock() error
- func (i *InstallationBundler) Unlock() error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CIFuzzExecutablePath ¶
func ExtractBundle ¶
ExtractBundle extracts all installation files from bundle into targetDir and registers the CMake package
func FindProjectDir ¶
func PrintPathInstructions ¶
func PrintPathInstructions(binDir string)
Types ¶
type InstallationBundler ¶
type InstallationBundler struct { Options // contains filtered or unexported fields }
func NewInstallationBundler ¶
func NewInstallationBundler(opts Options) (*InstallationBundler, error)
func (*InstallationBundler) BuildCIFuzz ¶
func (i *InstallationBundler) BuildCIFuzz() error
func (*InstallationBundler) BuildCIFuzzAndDeps ¶
func (i *InstallationBundler) BuildCIFuzzAndDeps() error
func (*InstallationBundler) BuildMinijail ¶
func (i *InstallationBundler) BuildMinijail() error
func (*InstallationBundler) BuildProcessWrapper ¶
func (i *InstallationBundler) BuildProcessWrapper() error
func (*InstallationBundler) Cleanup ¶
func (i *InstallationBundler) Cleanup()
func (*InstallationBundler) CopyCMakeIntegration ¶
func (i *InstallationBundler) CopyCMakeIntegration() error
CopyCMakeIntegration copies the CMake integration to shareDir. Directories are created as needed.
func (*InstallationBundler) Lock ¶
func (i *InstallationBundler) 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 (*InstallationBundler) Unlock ¶
func (i *InstallationBundler) Unlock() error
Unlock releases the file lock to allow other installer instances to run.
Click to show internal directories.
Click to hide internal directories.