-
Notifications
You must be signed in to change notification settings - Fork 30
/
constants.go
46 lines (34 loc) · 1.16 KB
/
constants.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
package constants
const (
// PlaceHolderPrefix is prefix for placeholders
PlaceHolderPrefix = "REPLACE_ME"
// PlaceHolderAppName placeholder for app name
PlaceHolderAppName = PlaceHolderPrefix + "_APP_NAME"
// PlaceHolderGitProvider placeholder for git provider
PlaceHolderGitProvider = PlaceHolderPrefix + "_GIT_PROVIDER"
// PlaceHolderOrg placeholder for org
PlaceHolderOrg = PlaceHolderPrefix + "_ORG"
// PlaceHolderDockerRegistryOrg placeholder for docker registry
PlaceHolderDockerRegistryOrg = PlaceHolderPrefix + "_DOCKER_REGISTRY_ORG"
MinimumMavenDeployVersion = "2.8.2"
// DeployKindKnative for knative serve based deployments
DeployKindKnative = "knative"
// DeployKindDefault for default kubernetes Deployment + Service deployment kinds
DeployKindDefault = "default"
// OptionKind to specify the kind of something (such as the kind of a deployment)
OptionKind = "kind"
// OptionCanary should we enable canary rollouts (progressive delivery)
OptionCanary = "canary"
// OptionHPA should we enable horizontal pod autoscaler for deployments
OptionHPA = "hpa"
DefaultGitIgnoreFile = `
.project
.classpath
.idea
.cache
.DS_Store
*.im?
target
work
`
)