Documentation ¶
Index ¶
- Constants
- func AllowUnsupportedPlatforms() bool
- func CreateProjectConfig(configDir string, server string, project string) (string, error)
- func DetermineBuildSystem(projectDir string) (string, error)
- func EnsureProjectEntry(configContent string, project string) string
- func FindAndParseProjectConfig(opts interface{}) error
- func FindConfigDir() (string, error)
- func IsGradleMultiProject(projectDir string) (bool, error)
- func NotSupportedErrorMessage(tool string, platform string) string
- func ParseProjectConfig(configDir string, opts interface{}) error
- func TestTypeFileNameExtension(testType FuzzTestType) (string, bool)
- func ValidateBuildSystem(buildSystem string) error
- type Engine
- type FuzzTestType
- type GradleBuildLanguage
Constants ¶
View Source
const ( BuildSystemBazel string = "bazel" BuildSystemCMake string = "cmake" BuildSystemNodeJS string = "nodejs" BuildSystemMaven string = "maven" BuildSystemGradle string = "gradle" BuildSystemOther string = "other" )
View Source
const AllowUnsupportedPlatformsEnv = "CIFUZZ_ALLOW_UNSUPPORTED_PLATFORMS"
View Source
const ProjectConfigFile = "cifuzz.yaml"
Variables ¶
This section is empty.
Functions ¶
func AllowUnsupportedPlatforms ¶ added in v0.29.0
func AllowUnsupportedPlatforms() bool
func CreateProjectConfig ¶
CreateProjectConfig creates a new project config in the given directory
func DetermineBuildSystem ¶
func EnsureProjectEntry ¶ added in v0.26.0
func FindAndParseProjectConfig ¶ added in v0.5.0
func FindAndParseProjectConfig(opts interface{}) error
func FindConfigDir ¶ added in v0.5.0
func IsGradleMultiProject ¶ added in v0.20.0
func NotSupportedErrorMessage ¶ added in v0.28.0
func ParseProjectConfig ¶
func TestTypeFileNameExtension ¶ added in v0.19.0
func TestTypeFileNameExtension(testType FuzzTestType) (string, bool)
func ValidateBuildSystem ¶
Types ¶
type FuzzTestType ¶
type FuzzTestType string
const ( CPP FuzzTestType = "cpp" Java FuzzTestType = "java" Kotlin FuzzTestType = "kotlin" JavaScript FuzzTestType = "js" )
type GradleBuildLanguage ¶ added in v0.19.0
type GradleBuildLanguage string
const ( GradleGroovy GradleBuildLanguage = "groovy" GradleKotlin GradleBuildLanguage = "kotlin" )
func DetermineGradleBuildLanguage ¶ added in v0.19.0
func DetermineGradleBuildLanguage(projectDir string) (GradleBuildLanguage, error)
Click to show internal directories.
Click to hide internal directories.