forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.go
34 lines (26 loc) · 978 Bytes
/
types.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
package api
import (
kapi "k8s.io/kubernetes/pkg/api"
"k8s.io/kubernetes/pkg/api/unversioned"
)
// BuildDefaultsConfig controls the default information for Builds
type BuildDefaultsConfig struct {
unversioned.TypeMeta
// GitHTTPProxy is the location of the HTTPProxy for Git source
GitHTTPProxy string
// GitHTTPSProxy is the location of the HTTPSProxy for Git source
GitHTTPSProxy string
// Env is a set of default environment variables that will be applied to the
// build if the specified variables do not exist on the build
Env []kapi.EnvVar
// SourceStrategyDefaults are default values that apply to builds using the
// source strategy.
SourceStrategyDefaults *SourceStrategyDefaultsConfig
}
// SourceStrategyDefaultsConfig contains values that apply to builds using the
// source strategy.
type SourceStrategyDefaultsConfig struct {
// Incremental indicates if s2i build strategies should perform an incremental
// build or not
Incremental *bool
}