/
const.go
69 lines (57 loc) · 1.39 KB
/
const.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
package types
const (
ArtifactJSONSchemaVersion = 1
BlobJSONSchemaVersion = 2
)
const (
// Programming language dependencies
Bundler = "bundler"
GemSpec = "gemspec"
Cargo = "cargo"
Composer = "composer"
Npm = "npm"
NuGet = "nuget"
DotNetCore = "dotnet-core"
Pip = "pip"
Pipenv = "pipenv"
Poetry = "poetry"
PythonPkg = "python-pkg"
NodePkg = "node-pkg"
Yarn = "yarn"
Pnpm = "pnpm"
Jar = "jar"
Pom = "pom"
GradleLock = "gradle-lock"
GoBinary = "gobinary"
GoModule = "gomod"
JavaScript = "javascript"
RustBinary = "rustbinary"
// Config files
YAML = "yaml"
JSON = "json"
Dockerfile = "dockerfile"
Terraform = "terraform"
CloudFormation = "cloudformation"
Kubernetes = "kubernetes"
Ansible = "ansible"
Helm = "helm"
Rbac = "rbac"
Cloud = "cloud"
// Licensing
License = "license"
// Language-specific file names
NuGetPkgsLock = "packages.lock.json"
NuGetPkgsConfig = "packages.config"
GoMod = "go.mod"
GoSum = "go.sum"
MavenPom = "pom.xml"
NpmPkgLock = "package-lock.json"
YarnLock = "yarn.lock"
PnpmLock = "pnpm-lock.yaml"
ComposerLock = "composer.lock"
PipRequirements = "requirements.txt"
PipfileLock = "Pipfile.lock"
PoetryLock = "poetry.lock"
GemfileLock = "Gemfile.lock"
CargoLock = "Cargo.lock"
)