forked from openshift/origin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
types.go
21 lines (16 loc) · 825 Bytes
/
types.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package v1
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 `json:",inline"`
// GitHTTPProxy is the location of the HTTPProxy for Git source
GitHTTPProxy string `json:"gitHTTPProxy,omitempty",description:"location of the git http proxy"`
// GitHTTPSProxy is the location of the HTTPSProxy for Git source
GitHTTPSProxy string `json:"gitHTTPSProxy,omitempty",description:"location of the git https proxy"`
// 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 `json:"env,omitempty",description:"default environment variable values to add to builds"`
}