Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Dotnet = Tool{ Name: "Dotnet", Language: "C#", ExpectedRegexps: regexps(`project\.json`, `.*\.csproj`), ExpectedFiles: []string{"project.json", "app.csproj"}, }
View Source
var Golang = Tool{ Name: "Golang", Language: "go", ExpectedRegexps: regexps(`main\.go`, `Gopkg\.toml`, `glide\.yaml`), ExpectedFiles: []string{"main.go", "Gopkg.toml", "glide.yaml"}, }
View Source
var Gradle = Tool{ Name: "Gradle", Language: "java", ExpectedRegexps: regexps(`.*gradle.*`), ExpectedFiles: []string{"build.gradle", "gradlew", "gradlew.bat"}, }
View Source
var Maven = Tool{ Name: "Maven", Language: "java", ExpectedRegexps: regexps(`pom\.xml`), ExpectedFiles: []string{"pom.xml"}, }
View Source
var NodeJS = Tool{ Name: "NodeJS", Language: "javascript", ExpectedRegexps: regexps(`app\.json`, `package\.json`, `gulpfile\.js`, `Gruntfile\.js`), ExpectedFiles: []string{"app.json", "package.json", "gulpfile.js", "Gruntfile.js"}, }
View Source
var PHP = Tool{ Name: "PHP", Language: "php", ExpectedRegexps: regexps(`index\.php`, `composer\.json`), ExpectedFiles: []string{"index.php", "composer.json"}, }
View Source
var Perl = Tool{ Name: "Perl", Language: "perl", ExpectedRegexps: regexps(`index\.pl`, `cpanfile`), ExpectedFiles: []string{"index.pl", "cpanfile"}, }
View Source
var Python = Tool{ Name: "Python", Language: "python", ExpectedRegexps: regexps(`requirements\.txt`, `setup\.py`), ExpectedFiles: []string{"requirements.txt", "setup.py"}, }
View Source
var Ruby = Tool{ Name: "Ruby", Language: "ruby", ExpectedRegexps: regexps(`Gemfile`, `Rakefile`, `config\.ru`), ExpectedFiles: []string{"Gemfile", "Rakefile", "config.ru"}, }
Functions ¶
func NewDetectedBuildTool ¶
func NewDetectedBuildTool(language string, name string, detectedFiles []string) *v1alpha1.DetectedBuildType
Types ¶
Click to show internal directories.
Click to hide internal directories.