Documentation
¶
Overview ¶
Package api is the internal version of the API.
Index ¶
- Constants
- Variables
- func DeepCopy_api_BuildDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error
- func DeepCopy_api_SourceStrategyDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error
- func Kind(kind string) schema.GroupKind
- func RegisterDeepCopies(scheme *runtime.Scheme) error
- func Resource(resource string) schema.GroupResource
- type BuildDefaultsConfig
- type SourceStrategyDefaultsConfig
Constants ¶
View Source
const BuildDefaultsPlugin = "BuildDefaults"
Variables ¶
View Source
var ( SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes) AddToScheme = SchemeBuilder.AddToScheme )
View Source
var SchemeGroupVersion = schema.GroupVersion{Group: "", Version: runtime.APIVersionInternal}
SchemeGroupVersion is group version used to register these objects
Functions ¶
func DeepCopy_api_BuildDefaultsConfig ¶
func DeepCopy_api_BuildDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_api_BuildDefaultsConfig is an autogenerated deepcopy function.
func DeepCopy_api_SourceStrategyDefaultsConfig ¶
func DeepCopy_api_SourceStrategyDefaultsConfig(in interface{}, out interface{}, c *conversion.Cloner) error
DeepCopy_api_SourceStrategyDefaultsConfig is an autogenerated deepcopy function.
func Kind ¶
Kind takes an unqualified kind and returns back a Group qualified GroupKind
func RegisterDeepCopies ¶
RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.
func Resource ¶
func Resource(resource string) schema.GroupResource
Resource takes an unqualified resource and returns back a Group qualified GroupResource
Types ¶
type BuildDefaultsConfig ¶
type BuildDefaultsConfig struct {
metav1.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
// gitNoProxy is the list of domains for which the proxy should not be used
GitNoProxy 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
// imageLabels is a list of docker labels that are applied to the resulting image.
// User can override a default label by providing a label with the same name in their
// Build/BuildConfig.
ImageLabels []buildapi.ImageLabel
// nodeSelector is a selector which must be true for the build pod to fit on a node
NodeSelector map[string]string
// annotations are annotations that will be added to the build pod
Annotations map[string]string
// resources defines resource requirements to execute the build.
Resources kapi.ResourceRequirements
}
BuildDefaultsConfig controls the default information for Builds
func (*BuildDefaultsConfig) GetObjectKind ¶
func (obj *BuildDefaultsConfig) GetObjectKind() schema.ObjectKind
Source Files
¶
- doc.go
- register.go
- types.go
- zz_generated.deepcopy.go
Directories
¶
| Path | Synopsis |
|---|---|
|
Package v1 is the v1 version of the API.
|
Package v1 is the v1 version of the API. |
Click to show internal directories.
Click to hide internal directories.