v1

package
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2017 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package v1 is the v1 version of the API.

Package v1 is a generated protocol buffer package.

It is generated from these files:
	github.com/openshift/origin/pkg/build/api/v1/generated.proto

It has these top-level messages:
	BinaryBuildRequestOptions
	BinaryBuildSource
	Build
	BuildConfig
	BuildConfigList
	BuildConfigSpec
	BuildConfigStatus
	BuildList
	BuildLog
	BuildLogOptions
	BuildOutput
	BuildPostCommitSpec
	BuildRequest
	BuildSource
	BuildSpec
	BuildStatus
	BuildStrategy
	BuildTriggerCause
	BuildTriggerPolicy
	CommonSpec
	CustomBuildStrategy
	DockerBuildStrategy
	GenericWebHookCause
	GenericWebHookEvent
	GitBuildSource
	GitHubWebHookCause
	GitInfo
	GitSourceRevision
	ImageChangeCause
	ImageChangeTrigger
	ImageLabel
	ImageSource
	ImageSourcePath
	JenkinsPipelineBuildStrategy
	OptionalNodeSelector
	ProxyConfig
	SecretBuildSource
	SecretSpec
	SourceBuildStrategy
	SourceControlUser
	SourceRevision
	WebHookTrigger

Index

Constants

View Source
const GroupName = ""

Variables

View Source
var (
	ErrInvalidLengthGenerated = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated   = fmt.Errorf("proto: integer overflow")
)
View Source
var (
	SchemeBuilder = runtime.NewSchemeBuilder(addKnownTypes, addConversionFuncs, addDefaultingFuncs)
	AddToScheme   = SchemeBuilder.AddToScheme
)
View Source
var SchemeGroupVersion = unversioned.GroupVersion{Group: GroupName, Version: "v1"}

SchemeGroupVersion is group version used to register these objects

Functions

func Convert_api_BinaryBuildRequestOptions_To_v1_BinaryBuildRequestOptions added in v1.3.0

func Convert_api_BinaryBuildRequestOptions_To_v1_BinaryBuildRequestOptions(in *api.BinaryBuildRequestOptions, out *BinaryBuildRequestOptions, s conversion.Scope) error

func Convert_api_BinaryBuildSource_To_v1_BinaryBuildSource added in v1.3.0

func Convert_api_BinaryBuildSource_To_v1_BinaryBuildSource(in *api.BinaryBuildSource, out *BinaryBuildSource, s conversion.Scope) error

func Convert_api_BuildConfigList_To_v1_BuildConfigList added in v1.3.0

func Convert_api_BuildConfigList_To_v1_BuildConfigList(in *api.BuildConfigList, out *BuildConfigList, s conversion.Scope) error

func Convert_api_BuildConfigSpec_To_v1_BuildConfigSpec added in v1.3.0

func Convert_api_BuildConfigSpec_To_v1_BuildConfigSpec(in *api.BuildConfigSpec, out *BuildConfigSpec, s conversion.Scope) error

func Convert_api_BuildConfigStatus_To_v1_BuildConfigStatus added in v1.3.0

func Convert_api_BuildConfigStatus_To_v1_BuildConfigStatus(in *api.BuildConfigStatus, out *BuildConfigStatus, s conversion.Scope) error

func Convert_api_BuildConfig_To_v1_BuildConfig added in v1.3.0

func Convert_api_BuildConfig_To_v1_BuildConfig(in *api.BuildConfig, out *BuildConfig, s conversion.Scope) error

func Convert_api_BuildList_To_v1_BuildList added in v1.3.0

func Convert_api_BuildList_To_v1_BuildList(in *api.BuildList, out *BuildList, s conversion.Scope) error

func Convert_api_BuildLogOptions_To_v1_BuildLogOptions added in v1.3.0

func Convert_api_BuildLogOptions_To_v1_BuildLogOptions(in *api.BuildLogOptions, out *BuildLogOptions, s conversion.Scope) error

func Convert_api_BuildLog_To_v1_BuildLog added in v1.3.0

func Convert_api_BuildLog_To_v1_BuildLog(in *api.BuildLog, out *BuildLog, s conversion.Scope) error

func Convert_api_BuildOutput_To_v1_BuildOutput added in v1.3.0

func Convert_api_BuildOutput_To_v1_BuildOutput(in *api.BuildOutput, out *BuildOutput, s conversion.Scope) error

func Convert_api_BuildPostCommitSpec_To_v1_BuildPostCommitSpec added in v1.3.0

func Convert_api_BuildPostCommitSpec_To_v1_BuildPostCommitSpec(in *api.BuildPostCommitSpec, out *BuildPostCommitSpec, s conversion.Scope) error

func Convert_api_BuildRequest_To_v1_BuildRequest added in v1.3.0

func Convert_api_BuildRequest_To_v1_BuildRequest(in *api.BuildRequest, out *BuildRequest, s conversion.Scope) error

func Convert_api_BuildSource_To_v1_BuildSource added in v1.3.0

func Convert_api_BuildSource_To_v1_BuildSource(in *newer.BuildSource, out *BuildSource, s conversion.Scope) error

func Convert_api_BuildSpec_To_v1_BuildSpec added in v1.3.0

func Convert_api_BuildSpec_To_v1_BuildSpec(in *api.BuildSpec, out *BuildSpec, s conversion.Scope) error

func Convert_api_BuildStatus_To_v1_BuildStatus added in v1.3.0

func Convert_api_BuildStatus_To_v1_BuildStatus(in *api.BuildStatus, out *BuildStatus, s conversion.Scope) error

func Convert_api_BuildStrategy_To_v1_BuildStrategy added in v1.3.0

func Convert_api_BuildStrategy_To_v1_BuildStrategy(in *newer.BuildStrategy, out *BuildStrategy, s conversion.Scope) error

func Convert_api_BuildTriggerCause_To_v1_BuildTriggerCause added in v1.3.0

func Convert_api_BuildTriggerCause_To_v1_BuildTriggerCause(in *api.BuildTriggerCause, out *BuildTriggerCause, s conversion.Scope) error

func Convert_api_BuildTriggerPolicy_To_v1_BuildTriggerPolicy added in v1.3.0

func Convert_api_BuildTriggerPolicy_To_v1_BuildTriggerPolicy(in *api.BuildTriggerPolicy, out *BuildTriggerPolicy, s conversion.Scope) error

func Convert_api_Build_To_v1_Build added in v1.3.0

func Convert_api_Build_To_v1_Build(in *api.Build, out *Build, s conversion.Scope) error

func Convert_api_CommonSpec_To_v1_CommonSpec added in v1.3.0

func Convert_api_CommonSpec_To_v1_CommonSpec(in *api.CommonSpec, out *CommonSpec, s conversion.Scope) error

func Convert_api_CustomBuildStrategy_To_v1_CustomBuildStrategy added in v1.3.0

func Convert_api_CustomBuildStrategy_To_v1_CustomBuildStrategy(in *api.CustomBuildStrategy, out *CustomBuildStrategy, s conversion.Scope) error

func Convert_api_DockerBuildStrategy_To_v1_DockerBuildStrategy added in v1.3.0

func Convert_api_DockerBuildStrategy_To_v1_DockerBuildStrategy(in *api.DockerBuildStrategy, out *DockerBuildStrategy, s conversion.Scope) error

func Convert_api_GenericWebHookCause_To_v1_GenericWebHookCause added in v1.3.0

func Convert_api_GenericWebHookCause_To_v1_GenericWebHookCause(in *api.GenericWebHookCause, out *GenericWebHookCause, s conversion.Scope) error

func Convert_api_GenericWebHookEvent_To_v1_GenericWebHookEvent added in v1.4.0

func Convert_api_GenericWebHookEvent_To_v1_GenericWebHookEvent(in *api.GenericWebHookEvent, out *GenericWebHookEvent, s conversion.Scope) error

func Convert_api_GitBuildSource_To_v1_GitBuildSource added in v1.3.0

func Convert_api_GitBuildSource_To_v1_GitBuildSource(in *api.GitBuildSource, out *GitBuildSource, s conversion.Scope) error

func Convert_api_GitHubWebHookCause_To_v1_GitHubWebHookCause added in v1.3.0

func Convert_api_GitHubWebHookCause_To_v1_GitHubWebHookCause(in *api.GitHubWebHookCause, out *GitHubWebHookCause, s conversion.Scope) error

func Convert_api_GitInfo_To_v1_GitInfo added in v1.4.0

func Convert_api_GitInfo_To_v1_GitInfo(in *api.GitInfo, out *GitInfo, s conversion.Scope) error

func Convert_api_GitSourceRevision_To_v1_GitSourceRevision added in v1.3.0

func Convert_api_GitSourceRevision_To_v1_GitSourceRevision(in *api.GitSourceRevision, out *GitSourceRevision, s conversion.Scope) error

func Convert_api_ImageChangeCause_To_v1_ImageChangeCause added in v1.3.0

func Convert_api_ImageChangeCause_To_v1_ImageChangeCause(in *api.ImageChangeCause, out *ImageChangeCause, s conversion.Scope) error

func Convert_api_ImageChangeTrigger_To_v1_ImageChangeTrigger added in v1.3.0

func Convert_api_ImageChangeTrigger_To_v1_ImageChangeTrigger(in *api.ImageChangeTrigger, out *ImageChangeTrigger, s conversion.Scope) error

func Convert_api_ImageLabel_To_v1_ImageLabel added in v1.4.0

func Convert_api_ImageLabel_To_v1_ImageLabel(in *api.ImageLabel, out *ImageLabel, s conversion.Scope) error

func Convert_api_ImageSourcePath_To_v1_ImageSourcePath added in v1.3.0

func Convert_api_ImageSourcePath_To_v1_ImageSourcePath(in *api.ImageSourcePath, out *ImageSourcePath, s conversion.Scope) error

func Convert_api_ImageSource_To_v1_ImageSource added in v1.3.0

func Convert_api_ImageSource_To_v1_ImageSource(in *api.ImageSource, out *ImageSource, s conversion.Scope) error

func Convert_api_JenkinsPipelineBuildStrategy_To_v1_JenkinsPipelineBuildStrategy added in v1.3.0

func Convert_api_JenkinsPipelineBuildStrategy_To_v1_JenkinsPipelineBuildStrategy(in *api.JenkinsPipelineBuildStrategy, out *JenkinsPipelineBuildStrategy, s conversion.Scope) error

func Convert_api_ProxyConfig_To_v1_ProxyConfig added in v1.4.0

func Convert_api_ProxyConfig_To_v1_ProxyConfig(in *api.ProxyConfig, out *ProxyConfig, s conversion.Scope) error

func Convert_api_SecretBuildSource_To_v1_SecretBuildSource added in v1.3.0

func Convert_api_SecretBuildSource_To_v1_SecretBuildSource(in *api.SecretBuildSource, out *SecretBuildSource, s conversion.Scope) error

func Convert_api_SecretSpec_To_v1_SecretSpec added in v1.3.0

func Convert_api_SecretSpec_To_v1_SecretSpec(in *api.SecretSpec, out *SecretSpec, s conversion.Scope) error

func Convert_api_SourceBuildStrategy_To_v1_SourceBuildStrategy added in v1.3.0

func Convert_api_SourceBuildStrategy_To_v1_SourceBuildStrategy(in *api.SourceBuildStrategy, out *SourceBuildStrategy, s conversion.Scope) error

func Convert_api_SourceControlUser_To_v1_SourceControlUser added in v1.3.0

func Convert_api_SourceControlUser_To_v1_SourceControlUser(in *api.SourceControlUser, out *SourceControlUser, s conversion.Scope) error

func Convert_api_SourceRevision_To_v1_SourceRevision added in v1.3.0

func Convert_api_SourceRevision_To_v1_SourceRevision(in *newer.SourceRevision, out *SourceRevision, s conversion.Scope) error

func Convert_api_WebHookTrigger_To_v1_WebHookTrigger added in v1.3.0

func Convert_api_WebHookTrigger_To_v1_WebHookTrigger(in *api.WebHookTrigger, out *WebHookTrigger, s conversion.Scope) error

func Convert_v1_BinaryBuildRequestOptions_To_api_BinaryBuildRequestOptions added in v1.3.0

func Convert_v1_BinaryBuildRequestOptions_To_api_BinaryBuildRequestOptions(in *BinaryBuildRequestOptions, out *api.BinaryBuildRequestOptions, s conversion.Scope) error

func Convert_v1_BinaryBuildSource_To_api_BinaryBuildSource added in v1.3.0

func Convert_v1_BinaryBuildSource_To_api_BinaryBuildSource(in *BinaryBuildSource, out *api.BinaryBuildSource, s conversion.Scope) error

func Convert_v1_BuildConfigList_To_api_BuildConfigList added in v1.3.0

func Convert_v1_BuildConfigList_To_api_BuildConfigList(in *BuildConfigList, out *api.BuildConfigList, s conversion.Scope) error

func Convert_v1_BuildConfigSpec_To_api_BuildConfigSpec added in v1.3.0

func Convert_v1_BuildConfigSpec_To_api_BuildConfigSpec(in *BuildConfigSpec, out *api.BuildConfigSpec, s conversion.Scope) error

func Convert_v1_BuildConfigStatus_To_api_BuildConfigStatus added in v1.3.0

func Convert_v1_BuildConfigStatus_To_api_BuildConfigStatus(in *BuildConfigStatus, out *api.BuildConfigStatus, s conversion.Scope) error

func Convert_v1_BuildConfig_To_api_BuildConfig added in v1.3.0

func Convert_v1_BuildConfig_To_api_BuildConfig(in *BuildConfig, out *newer.BuildConfig, s conversion.Scope) error

func Convert_v1_BuildList_To_api_BuildList added in v1.3.0

func Convert_v1_BuildList_To_api_BuildList(in *BuildList, out *api.BuildList, s conversion.Scope) error

func Convert_v1_BuildLogOptions_To_api_BuildLogOptions added in v1.3.0

func Convert_v1_BuildLogOptions_To_api_BuildLogOptions(in *BuildLogOptions, out *api.BuildLogOptions, s conversion.Scope) error

func Convert_v1_BuildLog_To_api_BuildLog added in v1.3.0

func Convert_v1_BuildLog_To_api_BuildLog(in *BuildLog, out *api.BuildLog, s conversion.Scope) error

func Convert_v1_BuildOutput_To_api_BuildOutput added in v1.3.0

func Convert_v1_BuildOutput_To_api_BuildOutput(in *BuildOutput, out *newer.BuildOutput, s conversion.Scope) error

func Convert_v1_BuildPostCommitSpec_To_api_BuildPostCommitSpec added in v1.3.0

func Convert_v1_BuildPostCommitSpec_To_api_BuildPostCommitSpec(in *BuildPostCommitSpec, out *api.BuildPostCommitSpec, s conversion.Scope) error

func Convert_v1_BuildRequest_To_api_BuildRequest added in v1.3.0

func Convert_v1_BuildRequest_To_api_BuildRequest(in *BuildRequest, out *api.BuildRequest, s conversion.Scope) error

func Convert_v1_BuildSource_To_api_BuildSource added in v1.3.0

func Convert_v1_BuildSource_To_api_BuildSource(in *BuildSource, out *api.BuildSource, s conversion.Scope) error

func Convert_v1_BuildSpec_To_api_BuildSpec added in v1.3.0

func Convert_v1_BuildSpec_To_api_BuildSpec(in *BuildSpec, out *api.BuildSpec, s conversion.Scope) error

func Convert_v1_BuildStatus_To_api_BuildStatus added in v1.3.0

func Convert_v1_BuildStatus_To_api_BuildStatus(in *BuildStatus, out *api.BuildStatus, s conversion.Scope) error

func Convert_v1_BuildStrategy_To_api_BuildStrategy added in v1.3.0

func Convert_v1_BuildStrategy_To_api_BuildStrategy(in *BuildStrategy, out *api.BuildStrategy, s conversion.Scope) error

func Convert_v1_BuildTriggerCause_To_api_BuildTriggerCause added in v1.3.0

func Convert_v1_BuildTriggerCause_To_api_BuildTriggerCause(in *BuildTriggerCause, out *api.BuildTriggerCause, s conversion.Scope) error

func Convert_v1_BuildTriggerPolicy_To_api_BuildTriggerPolicy added in v1.3.0

func Convert_v1_BuildTriggerPolicy_To_api_BuildTriggerPolicy(in *BuildTriggerPolicy, out *newer.BuildTriggerPolicy, s conversion.Scope) error

func Convert_v1_Build_To_api_Build added in v1.3.0

func Convert_v1_Build_To_api_Build(in *Build, out *api.Build, s conversion.Scope) error

func Convert_v1_CommonSpec_To_api_CommonSpec added in v1.3.0

func Convert_v1_CommonSpec_To_api_CommonSpec(in *CommonSpec, out *api.CommonSpec, s conversion.Scope) error

func Convert_v1_CustomBuildStrategy_To_api_CustomBuildStrategy added in v1.3.0

func Convert_v1_CustomBuildStrategy_To_api_CustomBuildStrategy(in *CustomBuildStrategy, out *newer.CustomBuildStrategy, s conversion.Scope) error

func Convert_v1_DockerBuildStrategy_To_api_DockerBuildStrategy added in v1.3.0

func Convert_v1_DockerBuildStrategy_To_api_DockerBuildStrategy(in *DockerBuildStrategy, out *newer.DockerBuildStrategy, s conversion.Scope) error

func Convert_v1_GenericWebHookCause_To_api_GenericWebHookCause added in v1.3.0

func Convert_v1_GenericWebHookCause_To_api_GenericWebHookCause(in *GenericWebHookCause, out *api.GenericWebHookCause, s conversion.Scope) error

func Convert_v1_GenericWebHookEvent_To_api_GenericWebHookEvent added in v1.3.0

func Convert_v1_GenericWebHookEvent_To_api_GenericWebHookEvent(in *GenericWebHookEvent, out *api.GenericWebHookEvent, s conversion.Scope) error

func Convert_v1_GitBuildSource_To_api_GitBuildSource added in v1.3.0

func Convert_v1_GitBuildSource_To_api_GitBuildSource(in *GitBuildSource, out *api.GitBuildSource, s conversion.Scope) error

func Convert_v1_GitHubWebHookCause_To_api_GitHubWebHookCause added in v1.3.0

func Convert_v1_GitHubWebHookCause_To_api_GitHubWebHookCause(in *GitHubWebHookCause, out *api.GitHubWebHookCause, s conversion.Scope) error

func Convert_v1_GitInfo_To_api_GitInfo added in v1.3.0

func Convert_v1_GitInfo_To_api_GitInfo(in *GitInfo, out *api.GitInfo, s conversion.Scope) error

func Convert_v1_GitSourceRevision_To_api_GitSourceRevision added in v1.3.0

func Convert_v1_GitSourceRevision_To_api_GitSourceRevision(in *GitSourceRevision, out *api.GitSourceRevision, s conversion.Scope) error

func Convert_v1_ImageChangeCause_To_api_ImageChangeCause added in v1.3.0

func Convert_v1_ImageChangeCause_To_api_ImageChangeCause(in *ImageChangeCause, out *api.ImageChangeCause, s conversion.Scope) error

func Convert_v1_ImageChangeTrigger_To_api_ImageChangeTrigger added in v1.3.0

func Convert_v1_ImageChangeTrigger_To_api_ImageChangeTrigger(in *ImageChangeTrigger, out *api.ImageChangeTrigger, s conversion.Scope) error

func Convert_v1_ImageLabel_To_api_ImageLabel added in v1.4.0

func Convert_v1_ImageLabel_To_api_ImageLabel(in *ImageLabel, out *api.ImageLabel, s conversion.Scope) error

func Convert_v1_ImageSourcePath_To_api_ImageSourcePath added in v1.3.0

func Convert_v1_ImageSourcePath_To_api_ImageSourcePath(in *ImageSourcePath, out *api.ImageSourcePath, s conversion.Scope) error

func Convert_v1_ImageSource_To_api_ImageSource added in v1.3.0

func Convert_v1_ImageSource_To_api_ImageSource(in *ImageSource, out *api.ImageSource, s conversion.Scope) error

func Convert_v1_JenkinsPipelineBuildStrategy_To_api_JenkinsPipelineBuildStrategy added in v1.3.0

func Convert_v1_JenkinsPipelineBuildStrategy_To_api_JenkinsPipelineBuildStrategy(in *JenkinsPipelineBuildStrategy, out *api.JenkinsPipelineBuildStrategy, s conversion.Scope) error

func Convert_v1_ProxyConfig_To_api_ProxyConfig added in v1.4.0

func Convert_v1_ProxyConfig_To_api_ProxyConfig(in *ProxyConfig, out *api.ProxyConfig, s conversion.Scope) error

func Convert_v1_SecretBuildSource_To_api_SecretBuildSource added in v1.3.0

func Convert_v1_SecretBuildSource_To_api_SecretBuildSource(in *SecretBuildSource, out *api.SecretBuildSource, s conversion.Scope) error

func Convert_v1_SecretSpec_To_api_SecretSpec added in v1.3.0

func Convert_v1_SecretSpec_To_api_SecretSpec(in *SecretSpec, out *api.SecretSpec, s conversion.Scope) error

func Convert_v1_SourceBuildStrategy_To_api_SourceBuildStrategy added in v1.3.0

func Convert_v1_SourceBuildStrategy_To_api_SourceBuildStrategy(in *SourceBuildStrategy, out *newer.SourceBuildStrategy, s conversion.Scope) error

func Convert_v1_SourceControlUser_To_api_SourceControlUser added in v1.3.0

func Convert_v1_SourceControlUser_To_api_SourceControlUser(in *SourceControlUser, out *api.SourceControlUser, s conversion.Scope) error

func Convert_v1_SourceRevision_To_api_SourceRevision added in v1.3.0

func Convert_v1_SourceRevision_To_api_SourceRevision(in *SourceRevision, out *api.SourceRevision, s conversion.Scope) error

func Convert_v1_WebHookTrigger_To_api_WebHookTrigger added in v1.3.0

func Convert_v1_WebHookTrigger_To_api_WebHookTrigger(in *WebHookTrigger, out *api.WebHookTrigger, s conversion.Scope) error

func DeepCopy_v1_BinaryBuildRequestOptions added in v1.3.0

func DeepCopy_v1_BinaryBuildRequestOptions(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BinaryBuildSource added in v1.3.0

func DeepCopy_v1_BinaryBuildSource(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_Build added in v1.3.0

func DeepCopy_v1_Build(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildConfig added in v1.3.0

func DeepCopy_v1_BuildConfig(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildConfigList added in v1.3.0

func DeepCopy_v1_BuildConfigList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildConfigSpec added in v1.3.0

func DeepCopy_v1_BuildConfigSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildConfigStatus added in v1.3.0

func DeepCopy_v1_BuildConfigStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildList added in v1.3.0

func DeepCopy_v1_BuildList(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildLog added in v1.3.0

func DeepCopy_v1_BuildLog(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildLogOptions added in v1.3.0

func DeepCopy_v1_BuildLogOptions(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildOutput added in v1.3.0

func DeepCopy_v1_BuildOutput(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildPostCommitSpec added in v1.3.0

func DeepCopy_v1_BuildPostCommitSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildRequest added in v1.3.0

func DeepCopy_v1_BuildRequest(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildSource added in v1.3.0

func DeepCopy_v1_BuildSource(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildSpec added in v1.3.0

func DeepCopy_v1_BuildSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildStatus added in v1.3.0

func DeepCopy_v1_BuildStatus(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildStrategy added in v1.3.0

func DeepCopy_v1_BuildStrategy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildTriggerCause added in v1.3.0

func DeepCopy_v1_BuildTriggerCause(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_BuildTriggerPolicy added in v1.3.0

func DeepCopy_v1_BuildTriggerPolicy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_CommonSpec added in v1.3.0

func DeepCopy_v1_CommonSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_CustomBuildStrategy added in v1.3.0

func DeepCopy_v1_CustomBuildStrategy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_DockerBuildStrategy added in v1.3.0

func DeepCopy_v1_DockerBuildStrategy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_GenericWebHookCause added in v1.3.0

func DeepCopy_v1_GenericWebHookCause(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_GenericWebHookEvent added in v1.3.0

func DeepCopy_v1_GenericWebHookEvent(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_GitBuildSource added in v1.3.0

func DeepCopy_v1_GitBuildSource(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_GitHubWebHookCause added in v1.3.0

func DeepCopy_v1_GitHubWebHookCause(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_GitInfo added in v1.3.0

func DeepCopy_v1_GitInfo(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_GitSourceRevision added in v1.3.0

func DeepCopy_v1_GitSourceRevision(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ImageChangeCause added in v1.3.0

func DeepCopy_v1_ImageChangeCause(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ImageChangeTrigger added in v1.3.0

func DeepCopy_v1_ImageChangeTrigger(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ImageLabel added in v1.4.0

func DeepCopy_v1_ImageLabel(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ImageSource added in v1.3.0

func DeepCopy_v1_ImageSource(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ImageSourcePath added in v1.3.0

func DeepCopy_v1_ImageSourcePath(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_JenkinsPipelineBuildStrategy added in v1.3.0

func DeepCopy_v1_JenkinsPipelineBuildStrategy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_ProxyConfig added in v1.4.0

func DeepCopy_v1_ProxyConfig(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SecretBuildSource added in v1.3.0

func DeepCopy_v1_SecretBuildSource(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SecretSpec added in v1.3.0

func DeepCopy_v1_SecretSpec(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SourceBuildStrategy added in v1.3.0

func DeepCopy_v1_SourceBuildStrategy(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SourceControlUser added in v1.3.0

func DeepCopy_v1_SourceControlUser(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_SourceRevision added in v1.3.0

func DeepCopy_v1_SourceRevision(in interface{}, out interface{}, c *conversion.Cloner) error

func DeepCopy_v1_WebHookTrigger added in v1.3.0

func DeepCopy_v1_WebHookTrigger(in interface{}, out interface{}, c *conversion.Cloner) error

func RegisterConversions added in v1.4.0

func RegisterConversions(scheme *runtime.Scheme) error

RegisterConversions adds conversion functions to the given scheme. Public to allow building arbitrary schemes.

func RegisterDeepCopies added in v1.4.0

func RegisterDeepCopies(scheme *runtime.Scheme) error

RegisterDeepCopies adds deep-copy functions to the given scheme. Public to allow building arbitrary schemes.

func SetDefaults_BuildConfigSpec added in v1.3.0

func SetDefaults_BuildConfigSpec(config *BuildConfigSpec)

func SetDefaults_BuildSource added in v1.3.0

func SetDefaults_BuildSource(source *BuildSource)

func SetDefaults_BuildStrategy added in v1.3.0

func SetDefaults_BuildStrategy(strategy *BuildStrategy)

func SetDefaults_BuildTriggerPolicy added in v1.3.0

func SetDefaults_BuildTriggerPolicy(obj *BuildTriggerPolicy)

func SetDefaults_CustomBuildStrategy added in v1.3.0

func SetDefaults_CustomBuildStrategy(obj *CustomBuildStrategy)

func SetDefaults_DockerBuildStrategy added in v1.3.0

func SetDefaults_DockerBuildStrategy(obj *DockerBuildStrategy)

func SetDefaults_SourceBuildStrategy added in v1.3.0

func SetDefaults_SourceBuildStrategy(obj *SourceBuildStrategy)

Types

type BinaryBuildRequestOptions added in v1.0.7

type BinaryBuildRequestOptions struct {
	unversioned.TypeMeta `json:",inline"`
	// metadata for BinaryBuildRequestOptions.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// asFile determines if the binary should be created as a file within the source rather than extracted as an archive
	AsFile string `json:"asFile,omitempty" protobuf:"bytes,2,opt,name=asFile"`

	// revision.commit is the value identifying a specific commit
	Commit string `json:"revision.commit,omitempty" protobuf:"bytes,3,opt,name=revisionCommit"`

	// revision.message is the description of a specific commit
	Message string `json:"revision.message,omitempty" protobuf:"bytes,4,opt,name=revisionMessage"`

	// revision.authorName of the source control user
	AuthorName string `json:"revision.authorName,omitempty" protobuf:"bytes,5,opt,name=revisionAuthorName"`

	// revision.authorEmail of the source control user
	AuthorEmail string `json:"revision.authorEmail,omitempty" protobuf:"bytes,6,opt,name=revisionAuthorEmail"`

	// revision.committerName of the source control user
	CommitterName string `json:"revision.committerName,omitempty" protobuf:"bytes,7,opt,name=revisionCommitterName"`

	// revision.committerEmail of the source control user
	CommitterEmail string `json:"revision.committerEmail,omitempty" protobuf:"bytes,8,opt,name=revisionCommitterEmail"`
}

BinaryBuildRequestOptions are the options required to fully speficy a binary build request

func (*BinaryBuildRequestOptions) Descriptor added in v1.4.0

func (*BinaryBuildRequestOptions) Descriptor() ([]byte, []int)

func (*BinaryBuildRequestOptions) GetObjectKind added in v1.1.3

func (obj *BinaryBuildRequestOptions) GetObjectKind() unversioned.ObjectKind

func (*BinaryBuildRequestOptions) Marshal added in v1.3.0

func (m *BinaryBuildRequestOptions) Marshal() (data []byte, err error)

func (*BinaryBuildRequestOptions) MarshalTo added in v1.3.0

func (m *BinaryBuildRequestOptions) MarshalTo(data []byte) (int, error)

func (*BinaryBuildRequestOptions) ProtoMessage added in v1.3.0

func (*BinaryBuildRequestOptions) ProtoMessage()

func (*BinaryBuildRequestOptions) Reset added in v1.3.0

func (m *BinaryBuildRequestOptions) Reset()

func (*BinaryBuildRequestOptions) Size added in v1.3.0

func (m *BinaryBuildRequestOptions) Size() (n int)

func (*BinaryBuildRequestOptions) String added in v1.3.0

func (this *BinaryBuildRequestOptions) String() string

func (BinaryBuildRequestOptions) SwaggerDoc added in v1.1.4

func (BinaryBuildRequestOptions) SwaggerDoc() map[string]string

func (*BinaryBuildRequestOptions) Unmarshal added in v1.3.0

func (m *BinaryBuildRequestOptions) Unmarshal(data []byte) error

type BinaryBuildSource added in v1.0.7

type BinaryBuildSource struct {
	// asFile indicates that the provided binary input should be considered a single file
	// within the build input. For example, specifying "webapp.war" would place the provided
	// binary as `/webapp.war` for the builder. If left empty, the Docker and Source build
	// strategies assume this file is a zip, tar, or tar.gz file and extract it as the source.
	// The custom strategy receives this binary as standard input. This filename may not
	// contain slashes or be '..' or '.'.
	AsFile string `json:"asFile,omitempty" protobuf:"bytes,1,opt,name=asFile"`
}

BinaryBuildSource describes a binary file to be used for the Docker and Source build strategies, where the file will be extracted and used as the build source.

func (*BinaryBuildSource) Descriptor added in v1.4.0

func (*BinaryBuildSource) Descriptor() ([]byte, []int)

func (*BinaryBuildSource) Marshal added in v1.3.0

func (m *BinaryBuildSource) Marshal() (data []byte, err error)

func (*BinaryBuildSource) MarshalTo added in v1.3.0

func (m *BinaryBuildSource) MarshalTo(data []byte) (int, error)

func (*BinaryBuildSource) ProtoMessage added in v1.3.0

func (*BinaryBuildSource) ProtoMessage()

func (*BinaryBuildSource) Reset added in v1.3.0

func (m *BinaryBuildSource) Reset()

func (*BinaryBuildSource) Size added in v1.3.0

func (m *BinaryBuildSource) Size() (n int)

func (*BinaryBuildSource) String added in v1.3.0

func (this *BinaryBuildSource) String() string

func (BinaryBuildSource) SwaggerDoc added in v1.1.4

func (BinaryBuildSource) SwaggerDoc() map[string]string

func (*BinaryBuildSource) Unmarshal added in v1.3.0

func (m *BinaryBuildSource) Unmarshal(data []byte) error

type Build

type Build struct {
	unversioned.TypeMeta `json:",inline"`
	// Standard object's metadata.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// spec is all the inputs used to execute the build.
	Spec BuildSpec `json:"spec,omitempty" protobuf:"bytes,2,opt,name=spec"`

	// status is the current status of the build.
	Status BuildStatus `json:"status,omitempty" protobuf:"bytes,3,opt,name=status"`
}

Build encapsulates the inputs needed to produce a new deployable image, as well as the status of the execution and a reference to the Pod which executed the build.

func (*Build) Descriptor added in v1.4.0

func (*Build) Descriptor() ([]byte, []int)

func (*Build) GetObjectKind added in v1.1.3

func (obj *Build) GetObjectKind() unversioned.ObjectKind

func (*Build) Marshal added in v1.3.0

func (m *Build) Marshal() (data []byte, err error)

func (*Build) MarshalTo added in v1.3.0

func (m *Build) MarshalTo(data []byte) (int, error)

func (*Build) ProtoMessage added in v1.3.0

func (*Build) ProtoMessage()

func (*Build) Reset added in v1.3.0

func (m *Build) Reset()

func (*Build) Size added in v1.3.0

func (m *Build) Size() (n int)

func (*Build) String added in v1.3.0

func (this *Build) String() string

func (Build) SwaggerDoc added in v1.1.4

func (Build) SwaggerDoc() map[string]string

func (*Build) Unmarshal added in v1.3.0

func (m *Build) Unmarshal(data []byte) error

type BuildConfig

type BuildConfig struct {
	unversioned.TypeMeta `json:",inline"`
	// metadata for BuildConfig.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// spec holds all the input necessary to produce a new build, and the conditions when
	// to trigger them.
	Spec BuildConfigSpec `json:"spec" protobuf:"bytes,2,opt,name=spec"`
	// status holds any relevant information about a build config
	Status BuildConfigStatus `json:"status" protobuf:"bytes,3,opt,name=status"`
}

Build configurations define a build process for new Docker images. There are three types of builds possible - a Docker build using a Dockerfile, a Source-to-Image build that uses a specially prepared base image that accepts source code that it can make runnable, and a custom build that can run // arbitrary Docker images as a base and accept the build parameters. Builds run on the cluster and on completion are pushed to the Docker registry specified in the "output" section. A build can be triggered via a webhook, when the base image changes, or when a user manually requests a new build be // created.

Each build created by a build configuration is numbered and refers back to its parent configuration. Multiple builds can be triggered at once. Builds that do not have "output" set can be used to test code or run a verification build.

func (*BuildConfig) Descriptor added in v1.4.0

func (*BuildConfig) Descriptor() ([]byte, []int)

func (*BuildConfig) GetObjectKind added in v1.1.3

func (obj *BuildConfig) GetObjectKind() unversioned.ObjectKind

func (*BuildConfig) Marshal added in v1.3.0

func (m *BuildConfig) Marshal() (data []byte, err error)

func (*BuildConfig) MarshalTo added in v1.3.0

func (m *BuildConfig) MarshalTo(data []byte) (int, error)

func (*BuildConfig) ProtoMessage added in v1.3.0

func (*BuildConfig) ProtoMessage()

func (*BuildConfig) Reset added in v1.3.0

func (m *BuildConfig) Reset()

func (*BuildConfig) Size added in v1.3.0

func (m *BuildConfig) Size() (n int)

func (*BuildConfig) String added in v1.3.0

func (this *BuildConfig) String() string

func (BuildConfig) SwaggerDoc added in v1.1.4

func (BuildConfig) SwaggerDoc() map[string]string

func (*BuildConfig) Unmarshal added in v1.3.0

func (m *BuildConfig) Unmarshal(data []byte) error

type BuildConfigList

type BuildConfigList struct {
	unversioned.TypeMeta `json:",inline"`
	// metadata for BuildConfigList.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// items is a list of build configs
	Items []BuildConfig `json:"items" protobuf:"bytes,2,rep,name=items"`
}

BuildConfigList is a collection of BuildConfigs.

func (*BuildConfigList) Descriptor added in v1.4.0

func (*BuildConfigList) Descriptor() ([]byte, []int)

func (*BuildConfigList) GetObjectKind added in v1.1.3

func (obj *BuildConfigList) GetObjectKind() unversioned.ObjectKind

func (*BuildConfigList) Marshal added in v1.3.0

func (m *BuildConfigList) Marshal() (data []byte, err error)

func (*BuildConfigList) MarshalTo added in v1.3.0

func (m *BuildConfigList) MarshalTo(data []byte) (int, error)

func (*BuildConfigList) ProtoMessage added in v1.3.0

func (*BuildConfigList) ProtoMessage()

func (*BuildConfigList) Reset added in v1.3.0

func (m *BuildConfigList) Reset()

func (*BuildConfigList) Size added in v1.3.0

func (m *BuildConfigList) Size() (n int)

func (*BuildConfigList) String added in v1.3.0

func (this *BuildConfigList) String() string

func (BuildConfigList) SwaggerDoc added in v1.1.4

func (BuildConfigList) SwaggerDoc() map[string]string

func (*BuildConfigList) Unmarshal added in v1.3.0

func (m *BuildConfigList) Unmarshal(data []byte) error

type BuildConfigSpec

type BuildConfigSpec struct {

	//triggers determine how new Builds can be launched from a BuildConfig. If
	//no triggers are defined, a new build can only occur as a result of an
	//explicit client build creation.
	Triggers []BuildTriggerPolicy `json:"triggers" protobuf:"bytes,1,rep,name=triggers"`

	// RunPolicy describes how the new build created from this build
	// configuration will be scheduled for execution.
	// This is optional, if not specified we default to "Serial".
	RunPolicy BuildRunPolicy `json:"runPolicy,omitempty" protobuf:"bytes,2,opt,name=runPolicy,casttype=BuildRunPolicy"`

	// CommonSpec is the desired build specification
	CommonSpec `json:",inline" protobuf:"bytes,3,opt,name=commonSpec"`
}

BuildConfigSpec describes when and how builds are created

func (*BuildConfigSpec) Descriptor added in v1.4.0

func (*BuildConfigSpec) Descriptor() ([]byte, []int)

func (*BuildConfigSpec) Marshal added in v1.3.0

func (m *BuildConfigSpec) Marshal() (data []byte, err error)

func (*BuildConfigSpec) MarshalTo added in v1.3.0

func (m *BuildConfigSpec) MarshalTo(data []byte) (int, error)

func (*BuildConfigSpec) ProtoMessage added in v1.3.0

func (*BuildConfigSpec) ProtoMessage()

func (*BuildConfigSpec) Reset added in v1.3.0

func (m *BuildConfigSpec) Reset()

func (*BuildConfigSpec) Size added in v1.3.0

func (m *BuildConfigSpec) Size() (n int)

func (*BuildConfigSpec) String added in v1.3.0

func (this *BuildConfigSpec) String() string

func (BuildConfigSpec) SwaggerDoc added in v1.1.4

func (BuildConfigSpec) SwaggerDoc() map[string]string

func (*BuildConfigSpec) Unmarshal added in v1.3.0

func (m *BuildConfigSpec) Unmarshal(data []byte) error

type BuildConfigStatus

type BuildConfigStatus struct {
	// lastVersion is used to inform about number of last triggered build.
	LastVersion int64 `json:"lastVersion" protobuf:"varint,1,opt,name=lastVersion"`
}

BuildConfigStatus contains current state of the build config object.

func (*BuildConfigStatus) Descriptor added in v1.4.0

func (*BuildConfigStatus) Descriptor() ([]byte, []int)

func (*BuildConfigStatus) Marshal added in v1.3.0

func (m *BuildConfigStatus) Marshal() (data []byte, err error)

func (*BuildConfigStatus) MarshalTo added in v1.3.0

func (m *BuildConfigStatus) MarshalTo(data []byte) (int, error)

func (*BuildConfigStatus) ProtoMessage added in v1.3.0

func (*BuildConfigStatus) ProtoMessage()

func (*BuildConfigStatus) Reset added in v1.3.0

func (m *BuildConfigStatus) Reset()

func (*BuildConfigStatus) Size added in v1.3.0

func (m *BuildConfigStatus) Size() (n int)

func (*BuildConfigStatus) String added in v1.3.0

func (this *BuildConfigStatus) String() string

func (BuildConfigStatus) SwaggerDoc added in v1.1.4

func (BuildConfigStatus) SwaggerDoc() map[string]string

func (*BuildConfigStatus) Unmarshal added in v1.3.0

func (m *BuildConfigStatus) Unmarshal(data []byte) error

type BuildList

type BuildList struct {
	unversioned.TypeMeta `json:",inline"`
	// metadata for BuildList.
	unversioned.ListMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// items is a list of builds
	Items []Build `json:"items" protobuf:"bytes,2,rep,name=items"`
}

BuildList is a collection of Builds.

func (*BuildList) Descriptor added in v1.4.0

func (*BuildList) Descriptor() ([]byte, []int)

func (*BuildList) GetObjectKind added in v1.1.3

func (obj *BuildList) GetObjectKind() unversioned.ObjectKind

func (*BuildList) Marshal added in v1.3.0

func (m *BuildList) Marshal() (data []byte, err error)

func (*BuildList) MarshalTo added in v1.3.0

func (m *BuildList) MarshalTo(data []byte) (int, error)

func (*BuildList) ProtoMessage added in v1.3.0

func (*BuildList) ProtoMessage()

func (*BuildList) Reset added in v1.3.0

func (m *BuildList) Reset()

func (*BuildList) Size added in v1.3.0

func (m *BuildList) Size() (n int)

func (*BuildList) String added in v1.3.0

func (this *BuildList) String() string

func (BuildList) SwaggerDoc added in v1.1.4

func (BuildList) SwaggerDoc() map[string]string

func (*BuildList) Unmarshal added in v1.3.0

func (m *BuildList) Unmarshal(data []byte) error

type BuildLog

type BuildLog struct {
	unversioned.TypeMeta `json:",inline"`
}

BuildLog is the (unused) resource associated with the build log redirector

func (*BuildLog) Descriptor added in v1.4.0

func (*BuildLog) Descriptor() ([]byte, []int)

func (*BuildLog) GetObjectKind added in v1.1.3

func (obj *BuildLog) GetObjectKind() unversioned.ObjectKind

func (*BuildLog) Marshal added in v1.3.0

func (m *BuildLog) Marshal() (data []byte, err error)

func (*BuildLog) MarshalTo added in v1.3.0

func (m *BuildLog) MarshalTo(data []byte) (int, error)

func (*BuildLog) ProtoMessage added in v1.3.0

func (*BuildLog) ProtoMessage()

func (*BuildLog) Reset added in v1.3.0

func (m *BuildLog) Reset()

func (*BuildLog) Size added in v1.3.0

func (m *BuildLog) Size() (n int)

func (*BuildLog) String added in v1.3.0

func (this *BuildLog) String() string

func (BuildLog) SwaggerDoc added in v1.1.4

func (BuildLog) SwaggerDoc() map[string]string

func (*BuildLog) Unmarshal added in v1.3.0

func (m *BuildLog) Unmarshal(data []byte) error

type BuildLogOptions

type BuildLogOptions struct {
	unversioned.TypeMeta `json:",inline"`

	// cointainer for which to stream logs. Defaults to only container if there is one container in the pod.
	Container string `json:"container,omitempty" protobuf:"bytes,1,opt,name=container"`
	// follow if true indicates that the build log should be streamed until
	// the build terminates.
	Follow bool `json:"follow,omitempty" protobuf:"varint,2,opt,name=follow"`
	// previous returns previous build logs. Defaults to false.
	Previous bool `json:"previous,omitempty" protobuf:"varint,3,opt,name=previous"`
	// sinceSeconds is a relative time in seconds before the current time from which to show logs. If this value
	// precedes the time a pod was started, only logs since the pod start will be returned.
	// If this value is in the future, no logs will be returned.
	// Only one of sinceSeconds or sinceTime may be specified.
	SinceSeconds *int64 `json:"sinceSeconds,omitempty" protobuf:"varint,4,opt,name=sinceSeconds"`
	// sinceTime is an RFC3339 timestamp from which to show logs. If this value
	// precedes the time a pod was started, only logs since the pod start will be returned.
	// If this value is in the future, no logs will be returned.
	// Only one of sinceSeconds or sinceTime may be specified.
	SinceTime *unversioned.Time `json:"sinceTime,omitempty" protobuf:"bytes,5,opt,name=sinceTime"`
	// timestamps, If true, add an RFC3339 or RFC3339Nano timestamp at the beginning of every line
	// of log output. Defaults to false.
	Timestamps bool `json:"timestamps,omitempty" protobuf:"varint,6,opt,name=timestamps"`
	// tailLines, If set, is the number of lines from the end of the logs to show. If not specified,
	// logs are shown from the creation of the container or sinceSeconds or sinceTime
	TailLines *int64 `json:"tailLines,omitempty" protobuf:"varint,7,opt,name=tailLines"`
	// limitBytes, If set, is the number of bytes to read from the server before terminating the
	// log output. This may not display a complete final line of logging, and may return
	// slightly more or slightly less than the specified limit.
	LimitBytes *int64 `json:"limitBytes,omitempty" protobuf:"varint,8,opt,name=limitBytes"`

	// noWait if true causes the call to return immediately even if the build
	// is not available yet. Otherwise the server will wait until the build has started.
	// TODO: Fix the tag to 'noWait' in v2
	NoWait bool `json:"nowait,omitempty" protobuf:"varint,9,opt,name=nowait"`

	// version of the build for which to view logs.
	Version *int64 `json:"version,omitempty" protobuf:"varint,10,opt,name=version"`
}

BuildLogOptions is the REST options for a build log

func (*BuildLogOptions) Descriptor added in v1.4.0

func (*BuildLogOptions) Descriptor() ([]byte, []int)

func (*BuildLogOptions) GetObjectKind added in v1.1.3

func (obj *BuildLogOptions) GetObjectKind() unversioned.ObjectKind

func (*BuildLogOptions) Marshal added in v1.3.0

func (m *BuildLogOptions) Marshal() (data []byte, err error)

func (*BuildLogOptions) MarshalTo added in v1.3.0

func (m *BuildLogOptions) MarshalTo(data []byte) (int, error)

func (*BuildLogOptions) ProtoMessage added in v1.3.0

func (*BuildLogOptions) ProtoMessage()

func (*BuildLogOptions) Reset added in v1.3.0

func (m *BuildLogOptions) Reset()

func (*BuildLogOptions) Size added in v1.3.0

func (m *BuildLogOptions) Size() (n int)

func (*BuildLogOptions) String added in v1.3.0

func (this *BuildLogOptions) String() string

func (BuildLogOptions) SwaggerDoc added in v1.1.4

func (BuildLogOptions) SwaggerDoc() map[string]string

func (*BuildLogOptions) Unmarshal added in v1.3.0

func (m *BuildLogOptions) Unmarshal(data []byte) error

type BuildOutput

type BuildOutput struct {
	// to defines an optional location to push the output of this build to.
	// Kind must be one of 'ImageStreamTag' or 'DockerImage'.
	// This value will be used to look up a Docker image repository to push to.
	// In the case of an ImageStreamTag, the ImageStreamTag will be looked for in the namespace of
	// the build unless Namespace is specified.
	To *kapi.ObjectReference `json:"to,omitempty" protobuf:"bytes,1,opt,name=to"`

	// PushSecret is the name of a Secret that would be used for setting
	// up the authentication for executing the Docker push to authentication
	// enabled Docker Registry (or Docker Hub).
	PushSecret *kapi.LocalObjectReference `json:"pushSecret,omitempty" protobuf:"bytes,2,opt,name=pushSecret"`

	// imageLabels define a list of labels that are applied to the resulting image. If there
	// are multiple labels with the same name then the last one in the list is used.
	ImageLabels []ImageLabel `json:"imageLabels,omitempty" protobuf:"bytes,3,rep,name=imageLabels"`
}

BuildOutput is input to a build strategy and describes the Docker image that the strategy should produce.

func (*BuildOutput) Descriptor added in v1.4.0

func (*BuildOutput) Descriptor() ([]byte, []int)

func (*BuildOutput) Marshal added in v1.3.0

func (m *BuildOutput) Marshal() (data []byte, err error)

func (*BuildOutput) MarshalTo added in v1.3.0

func (m *BuildOutput) MarshalTo(data []byte) (int, error)

func (*BuildOutput) ProtoMessage added in v1.3.0

func (*BuildOutput) ProtoMessage()

func (*BuildOutput) Reset added in v1.3.0

func (m *BuildOutput) Reset()

func (*BuildOutput) Size added in v1.3.0

func (m *BuildOutput) Size() (n int)

func (*BuildOutput) String added in v1.3.0

func (this *BuildOutput) String() string

func (BuildOutput) SwaggerDoc added in v1.1.4

func (BuildOutput) SwaggerDoc() map[string]string

func (*BuildOutput) Unmarshal added in v1.3.0

func (m *BuildOutput) Unmarshal(data []byte) error

type BuildPhase

type BuildPhase string

BuildPhase represents the status of a build at a point in time.

const (
	// BuildPhaseNew is automatically assigned to a newly created build.
	BuildPhaseNew BuildPhase = "New"

	// BuildPhasePending indicates that a pod name has been assigned and a build is
	// about to start running.
	BuildPhasePending BuildPhase = "Pending"

	// BuildPhaseRunning indicates that a pod has been created and a build is running.
	BuildPhaseRunning BuildPhase = "Running"

	// BuildPhaseComplete indicates that a build has been successful.
	BuildPhaseComplete BuildPhase = "Complete"

	// BuildPhaseFailed indicates that a build has executed and failed.
	BuildPhaseFailed BuildPhase = "Failed"

	// BuildPhaseError indicates that an error prevented the build from executing.
	BuildPhaseError BuildPhase = "Error"

	// BuildPhaseCancelled indicates that a running/pending build was stopped from executing.
	BuildPhaseCancelled BuildPhase = "Cancelled"
)

Valid values for BuildPhase.

type BuildPostCommitSpec added in v1.1.3

type BuildPostCommitSpec struct {
	// command is the command to run. It may not be specified with Script.
	// This might be needed if the image doesn't have `/bin/sh`, or if you
	// do not want to use a shell. In all other cases, using Script might be
	// more convenient.
	Command []string `json:"command,omitempty" protobuf:"bytes,1,rep,name=command"`
	// args is a list of arguments that are provided to either Command,
	// Script or the Docker image's default entrypoint. The arguments are
	// placed immediately after the command to be run.
	Args []string `json:"args,omitempty" protobuf:"bytes,2,rep,name=args"`
	// script is a shell script to be run with `/bin/sh -ic`. It may not be
	// specified with Command. Use Script when a shell script is appropriate
	// to execute the post build hook, for example for running unit tests
	// with `rake test`. If you need control over the image entrypoint, or
	// if the image does not have `/bin/sh`, use Command and/or Args.
	// The `-i` flag is needed to support CentOS and RHEL images that use
	// Software Collections (SCL), in order to have the appropriate
	// collections enabled in the shell. E.g., in the Ruby image, this is
	// necessary to make `ruby`, `bundle` and other binaries available in
	// the PATH.
	Script string `json:"script,omitempty" protobuf:"bytes,3,opt,name=script"`
}

A BuildPostCommitSpec holds a build post commit hook specification. The hook executes a command in a temporary container running the build output image, immediately after the last layer of the image is committed and before the image is pushed to a registry. The command is executed with the current working directory ($PWD) set to the image's WORKDIR.

The build will be marked as failed if the hook execution fails. It will fail if the script or command return a non-zero exit code, or if there is any other error related to starting the temporary container.

There are five different ways to configure the hook. As an example, all forms below are equivalent and will execute `rake test --verbose`.

1. Shell script:

   "postCommit": {
     "script": "rake test --verbose",
   }

The above is a convenient form which is equivalent to:

   "postCommit": {
     "command": ["/bin/sh", "-ic"],
     "args":    ["rake test --verbose"]
   }

2. A command as the image entrypoint:

   "postCommit": {
     "commit": ["rake", "test", "--verbose"]
   }

Command overrides the image entrypoint in the exec form, as documented in
Docker: https://docs.docker.com/engine/reference/builder/#entrypoint.

3. Pass arguments to the default entrypoint:

       "postCommit": {
		      "args": ["rake", "test", "--verbose"]
	      }

    This form is only useful if the image entrypoint can handle arguments.

4. Shell script with arguments:

   "postCommit": {
     "script": "rake test $1",
     "args":   ["--verbose"]
   }

This form is useful if you need to pass arguments that would otherwise be
hard to quote properly in the shell script. In the script, $0 will be
"/bin/sh" and $1, $2, etc, are the positional arguments from Args.

5. Command with arguments:

   "postCommit": {
     "command": ["rake", "test"],
     "args":    ["--verbose"]
   }

This form is equivalent to appending the arguments to the Command slice.

It is invalid to provide both Script and Command simultaneously. If none of the fields are specified, the hook is not executed.

func (*BuildPostCommitSpec) Descriptor added in v1.4.0

func (*BuildPostCommitSpec) Descriptor() ([]byte, []int)

func (*BuildPostCommitSpec) Marshal added in v1.3.0

func (m *BuildPostCommitSpec) Marshal() (data []byte, err error)

func (*BuildPostCommitSpec) MarshalTo added in v1.3.0

func (m *BuildPostCommitSpec) MarshalTo(data []byte) (int, error)

func (*BuildPostCommitSpec) ProtoMessage added in v1.3.0

func (*BuildPostCommitSpec) ProtoMessage()

func (*BuildPostCommitSpec) Reset added in v1.3.0

func (m *BuildPostCommitSpec) Reset()

func (*BuildPostCommitSpec) Size added in v1.3.0

func (m *BuildPostCommitSpec) Size() (n int)

func (*BuildPostCommitSpec) String added in v1.3.0

func (this *BuildPostCommitSpec) String() string

func (BuildPostCommitSpec) SwaggerDoc added in v1.1.4

func (BuildPostCommitSpec) SwaggerDoc() map[string]string

func (*BuildPostCommitSpec) Unmarshal added in v1.3.0

func (m *BuildPostCommitSpec) Unmarshal(data []byte) error

type BuildRequest

type BuildRequest struct {
	unversioned.TypeMeta `json:",inline"`
	// metadata for BuildRequest.
	kapi.ObjectMeta `json:"metadata,omitempty" protobuf:"bytes,1,opt,name=metadata"`

	// revision is the information from the source for a specific repo snapshot.
	Revision *SourceRevision `json:"revision,omitempty" protobuf:"bytes,2,opt,name=revision"`

	// triggeredByImage is the Image that triggered this build.
	TriggeredByImage *kapi.ObjectReference `json:"triggeredByImage,omitempty" protobuf:"bytes,3,opt,name=triggeredByImage"`

	// from is the reference to the ImageStreamTag that triggered the build.
	From *kapi.ObjectReference `json:"from,omitempty" protobuf:"bytes,4,opt,name=from"`

	// binary indicates a request to build from a binary provided to the builder
	Binary *BinaryBuildSource `json:"binary,omitempty" protobuf:"bytes,5,opt,name=binary"`

	// lastVersion (optional) is the LastVersion of the BuildConfig that was used
	// to generate the build. If the BuildConfig in the generator doesn't match, a build will
	// not be generated.
	LastVersion *int64 `json:"lastVersion,omitempty" protobuf:"varint,6,opt,name=lastVersion"`

	// env contains additional environment variables you want to pass into a builder container
	Env []kapi.EnvVar `json:"env,omitempty" protobuf:"bytes,7,rep,name=env"`

	// triggeredBy describes which triggers started the most recent update to the
	// build configuration and contains information about those triggers.
	TriggeredBy []BuildTriggerCause `json:"triggeredBy" protobuf:"bytes,8,rep,name=triggeredBy"`
}

BuildRequest is the resource used to pass parameters to build generator

func (*BuildRequest) Descriptor added in v1.4.0

func (*BuildRequest) Descriptor() ([]byte, []int)

func (*BuildRequest) GetObjectKind added in v1.1.3

func (obj *BuildRequest) GetObjectKind() unversioned.ObjectKind

func (*BuildRequest) Marshal added in v1.3.0

func (m *BuildRequest) Marshal() (data []byte, err error)

func (*BuildRequest) MarshalTo added in v1.3.0

func (m *BuildRequest) MarshalTo(data []byte) (int, error)

func (*BuildRequest) ProtoMessage added in v1.3.0

func (*BuildRequest) ProtoMessage()

func (*BuildRequest) Reset added in v1.3.0

func (m *BuildRequest) Reset()

func (*BuildRequest) Size added in v1.3.0

func (m *BuildRequest) Size() (n int)

func (*BuildRequest) String added in v1.3.0

func (this *BuildRequest) String() string

func (BuildRequest) SwaggerDoc added in v1.1.4

func (BuildRequest) SwaggerDoc() map[string]string

func (*BuildRequest) Unmarshal added in v1.3.0

func (m *BuildRequest) Unmarshal(data []byte) error

type BuildRunPolicy added in v1.3.0

type BuildRunPolicy string

BuildRunPolicy defines the behaviour of how the new builds are executed from the existing build configuration.

const (
	// BuildRunPolicyParallel schedules new builds immediately after they are
	// created. Builds will be executed in parallel.
	BuildRunPolicyParallel BuildRunPolicy = "Parallel"

	// BuildRunPolicySerial schedules new builds to execute in a sequence as
	// they are created. Every build gets queued up and will execute when the
	// previous build completes. This is the default policy.
	BuildRunPolicySerial BuildRunPolicy = "Serial"

	// BuildRunPolicySerialLatestOnly schedules only the latest build to execute,
	// cancelling all the previously queued build.
	BuildRunPolicySerialLatestOnly BuildRunPolicy = "SerialLatestOnly"
)

type BuildSource

type BuildSource struct {
	// type of build input to accept
	// +k8s:conversion-gen=false
	Type BuildSourceType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=BuildSourceType"`

	// binary builds accept a binary as their input. The binary is generally assumed to be a tar,
	// gzipped tar, or zip file depending on the strategy. For Docker builds, this is the build
	// context and an optional Dockerfile may be specified to override any Dockerfile in the
	// build context. For Source builds, this is assumed to be an archive as described above. For
	// Source and Docker builds, if binary.asFile is set the build will receive a directory with
	// a single file. contextDir may be used when an archive is provided. Custom builds will
	// receive this binary as input on STDIN.
	Binary *BinaryBuildSource `json:"binary,omitempty" protobuf:"bytes,2,opt,name=binary"`

	// dockerfile is the raw contents of a Dockerfile which should be built. When this option is
	// specified, the FROM may be modified based on your strategy base image and additional ENV
	// stanzas from your strategy environment will be added after the FROM, but before the rest
	// of your Dockerfile stanzas. The Dockerfile source type may be used with other options like
	// git - in those cases the Git repo will have any innate Dockerfile replaced in the context
	// dir.
	Dockerfile *string `json:"dockerfile,omitempty" protobuf:"bytes,3,opt,name=dockerfile"`

	// git contains optional information about git build source
	Git *GitBuildSource `json:"git,omitempty" protobuf:"bytes,4,opt,name=git"`

	// images describes a set of images to be used to provide source for the build
	Images []ImageSource `json:"images,omitempty" protobuf:"bytes,5,rep,name=images"`

	// contextDir specifies the sub-directory where the source code for the application exists.
	// This allows to have buildable sources in directory other than root of
	// repository.
	ContextDir string `json:"contextDir,omitempty" protobuf:"bytes,6,opt,name=contextDir"`

	// sourceSecret is the name of a Secret that would be used for setting
	// up the authentication for cloning private repository.
	// The secret contains valid credentials for remote repository, where the
	// data's key represent the authentication method to be used and value is
	// the base64 encoded credentials. Supported auth methods are: ssh-privatekey.
	SourceSecret *kapi.LocalObjectReference `json:"sourceSecret,omitempty" protobuf:"bytes,7,opt,name=sourceSecret"`

	// secrets represents a list of secrets and their destinations that will
	// be used only for the build.
	Secrets []SecretBuildSource `json:"secrets,omitempty" protobuf:"bytes,8,rep,name=secrets"`
}

BuildSource is the SCM used for the build.

func (*BuildSource) Descriptor added in v1.4.0

func (*BuildSource) Descriptor() ([]byte, []int)

func (*BuildSource) Marshal added in v1.3.0

func (m *BuildSource) Marshal() (data []byte, err error)

func (*BuildSource) MarshalTo added in v1.3.0

func (m *BuildSource) MarshalTo(data []byte) (int, error)

func (*BuildSource) ProtoMessage added in v1.3.0

func (*BuildSource) ProtoMessage()

func (*BuildSource) Reset added in v1.3.0

func (m *BuildSource) Reset()

func (*BuildSource) Size added in v1.3.0

func (m *BuildSource) Size() (n int)

func (*BuildSource) String added in v1.3.0

func (this *BuildSource) String() string

func (BuildSource) SwaggerDoc added in v1.1.4

func (BuildSource) SwaggerDoc() map[string]string

func (*BuildSource) Unmarshal added in v1.3.0

func (m *BuildSource) Unmarshal(data []byte) error

type BuildSourceType

type BuildSourceType string

BuildSourceType is the type of SCM used.

const (
	//BuildSourceGit instructs a build to use a Git source control repository as the build input.
	BuildSourceGit BuildSourceType = "Git"
	// BuildSourceDockerfile uses a Dockerfile as the start of a build
	BuildSourceDockerfile BuildSourceType = "Dockerfile"
	// BuildSourceBinary indicates the build will accept a Binary file as input.
	BuildSourceBinary BuildSourceType = "Binary"
	// BuildSourceImage indicates the build will accept an image as input
	BuildSourceImage BuildSourceType = "Image"
	// BuildSourceNone indicates the build has no predefined input (only valid for Source and Custom Strategies)
	BuildSourceNone BuildSourceType = "None"
)

Valid values for BuildSourceType.

type BuildSpec

type BuildSpec struct {
	// CommonSpec is the information that represents a build
	CommonSpec `json:",inline" protobuf:"bytes,1,opt,name=commonSpec"`

	// triggeredBy describes which triggers started the most recent update to the
	// build configuration and contains information about those triggers.
	TriggeredBy []BuildTriggerCause `json:"triggeredBy" protobuf:"bytes,2,rep,name=triggeredBy"`
}

BuildSpec has the information to represent a build and also additional information about a build

func (*BuildSpec) Descriptor added in v1.4.0

func (*BuildSpec) Descriptor() ([]byte, []int)

func (*BuildSpec) Marshal added in v1.3.0

func (m *BuildSpec) Marshal() (data []byte, err error)

func (*BuildSpec) MarshalTo added in v1.3.0

func (m *BuildSpec) MarshalTo(data []byte) (int, error)

func (*BuildSpec) ProtoMessage added in v1.3.0

func (*BuildSpec) ProtoMessage()

func (*BuildSpec) Reset added in v1.3.0

func (m *BuildSpec) Reset()

func (*BuildSpec) Size added in v1.3.0

func (m *BuildSpec) Size() (n int)

func (*BuildSpec) String added in v1.3.0

func (this *BuildSpec) String() string

func (BuildSpec) SwaggerDoc added in v1.1.4

func (BuildSpec) SwaggerDoc() map[string]string

func (*BuildSpec) Unmarshal added in v1.3.0

func (m *BuildSpec) Unmarshal(data []byte) error

type BuildStatus

type BuildStatus struct {
	// phase is the point in the build lifecycle.
	Phase BuildPhase `json:"phase" protobuf:"bytes,1,opt,name=phase,casttype=BuildPhase"`

	// cancelled describes if a cancel event was triggered for the build.
	Cancelled bool `json:"cancelled,omitempty" protobuf:"varint,2,opt,name=cancelled"`

	// reason is a brief CamelCase string that describes any failure and is meant for machine parsing and tidy display in the CLI.
	Reason StatusReason `json:"reason,omitempty" protobuf:"bytes,3,opt,name=reason,casttype=StatusReason"`

	// message is a human-readable message indicating details about why the build has this status.
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`

	// startTimestamp is a timestamp representing the server time when this Build started
	// running in a Pod.
	// It is represented in RFC3339 form and is in UTC.
	StartTimestamp *unversioned.Time `json:"startTimestamp,omitempty" protobuf:"bytes,5,opt,name=startTimestamp"`

	// completionTimestamp is a timestamp representing the server time when this Build was
	// finished, whether that build failed or succeeded.  It reflects the time at which
	// the Pod running the Build terminated.
	// It is represented in RFC3339 form and is in UTC.
	CompletionTimestamp *unversioned.Time `json:"completionTimestamp,omitempty" protobuf:"bytes,6,opt,name=completionTimestamp"`

	// duration contains time.Duration object describing build time.
	Duration time.Duration `json:"duration,omitempty" protobuf:"varint,7,opt,name=duration,casttype=time.Duration"`

	// outputDockerImageReference contains a reference to the Docker image that
	// will be built by this build. Its value is computed from
	// Build.Spec.Output.To, and should include the registry address, so that
	// it can be used to push and pull the image.
	OutputDockerImageReference string `json:"outputDockerImageReference,omitempty" protobuf:"bytes,8,opt,name=outputDockerImageReference"`

	// config is an ObjectReference to the BuildConfig this Build is based on.
	Config *kapi.ObjectReference `json:"config,omitempty" protobuf:"bytes,9,opt,name=config"`
}

BuildStatus contains the status of a build

func (*BuildStatus) Descriptor added in v1.4.0

func (*BuildStatus) Descriptor() ([]byte, []int)

func (*BuildStatus) Marshal added in v1.3.0

func (m *BuildStatus) Marshal() (data []byte, err error)

func (*BuildStatus) MarshalTo added in v1.3.0

func (m *BuildStatus) MarshalTo(data []byte) (int, error)

func (*BuildStatus) ProtoMessage added in v1.3.0

func (*BuildStatus) ProtoMessage()

func (*BuildStatus) Reset added in v1.3.0

func (m *BuildStatus) Reset()

func (*BuildStatus) Size added in v1.3.0

func (m *BuildStatus) Size() (n int)

func (*BuildStatus) String added in v1.3.0

func (this *BuildStatus) String() string

func (BuildStatus) SwaggerDoc added in v1.1.4

func (BuildStatus) SwaggerDoc() map[string]string

func (*BuildStatus) Unmarshal added in v1.3.0

func (m *BuildStatus) Unmarshal(data []byte) error

type BuildStrategy

type BuildStrategy struct {
	// type is the kind of build strategy.
	// +k8s:conversion-gen=false
	Type BuildStrategyType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=BuildStrategyType"`

	// dockerStrategy holds the parameters to the Docker build strategy.
	DockerStrategy *DockerBuildStrategy `json:"dockerStrategy,omitempty" protobuf:"bytes,2,opt,name=dockerStrategy"`

	// sourceStrategy holds the parameters to the Source build strategy.
	SourceStrategy *SourceBuildStrategy `json:"sourceStrategy,omitempty" protobuf:"bytes,3,opt,name=sourceStrategy"`

	// customStrategy holds the parameters to the Custom build strategy
	CustomStrategy *CustomBuildStrategy `json:"customStrategy,omitempty" protobuf:"bytes,4,opt,name=customStrategy"`

	// JenkinsPipelineStrategy holds the parameters to the Jenkins Pipeline build strategy.
	// This strategy is in tech preview.
	JenkinsPipelineStrategy *JenkinsPipelineBuildStrategy `json:"jenkinsPipelineStrategy,omitempty" protobuf:"bytes,5,opt,name=jenkinsPipelineStrategy"`
}

BuildStrategy contains the details of how to perform a build.

func (*BuildStrategy) Descriptor added in v1.4.0

func (*BuildStrategy) Descriptor() ([]byte, []int)

func (*BuildStrategy) Marshal added in v1.3.0

func (m *BuildStrategy) Marshal() (data []byte, err error)

func (*BuildStrategy) MarshalTo added in v1.3.0

func (m *BuildStrategy) MarshalTo(data []byte) (int, error)

func (*BuildStrategy) ProtoMessage added in v1.3.0

func (*BuildStrategy) ProtoMessage()

func (*BuildStrategy) Reset added in v1.3.0

func (m *BuildStrategy) Reset()

func (*BuildStrategy) Size added in v1.3.0

func (m *BuildStrategy) Size() (n int)

func (*BuildStrategy) String added in v1.3.0

func (this *BuildStrategy) String() string

func (BuildStrategy) SwaggerDoc added in v1.1.4

func (BuildStrategy) SwaggerDoc() map[string]string

func (*BuildStrategy) Unmarshal added in v1.3.0

func (m *BuildStrategy) Unmarshal(data []byte) error

type BuildStrategyType

type BuildStrategyType string

BuildStrategyType describes a particular way of performing a build.

const (
	// DockerBuildStrategyType performs builds using a Dockerfile.
	DockerBuildStrategyType BuildStrategyType = "Docker"

	// SourceBuildStrategyType performs builds build using Source To Images with a Git repository
	// and a builder image.
	SourceBuildStrategyType BuildStrategyType = "Source"

	// CustomBuildStrategyType performs builds using custom builder Docker image.
	CustomBuildStrategyType BuildStrategyType = "Custom"

	// JenkinsPipelineBuildStrategyType indicates the build will run via Jenkine Pipeline.
	JenkinsPipelineBuildStrategyType BuildStrategyType = "JenkinsPipeline"
)

Valid values for BuildStrategyType.

type BuildTriggerCause added in v1.3.0

type BuildTriggerCause struct {
	// message is used to store a human readable message for why the build was
	// triggered. E.g.: "Manually triggered by user", "Configuration change",etc.
	Message string `json:"message,omitempty" protobuf:"bytes,1,opt,name=message"`

	// genericWebHook holds data about a builds generic webhook trigger.
	GenericWebHook *GenericWebHookCause `json:"genericWebHook,omitempty" protobuf:"bytes,2,opt,name=genericWebHook"`

	// gitHubWebHook represents data for a GitHub webhook that fired a
	//specific build.
	GitHubWebHook *GitHubWebHookCause `json:"githubWebHook,omitempty" protobuf:"bytes,3,opt,name=githubWebHook"`

	// imageChangeBuild stores information about an imagechange event
	// that triggered a new build.
	ImageChangeBuild *ImageChangeCause `json:"imageChangeBuild,omitempty" protobuf:"bytes,4,opt,name=imageChangeBuild"`
}

BuildTriggerCause holds information about a triggered build. It is used for displaying build trigger data for each build and build configuration in oc describe. It is also used to describe which triggers led to the most recent update in the build configuration.

func (*BuildTriggerCause) Descriptor added in v1.4.0

func (*BuildTriggerCause) Descriptor() ([]byte, []int)

func (*BuildTriggerCause) Marshal added in v1.3.0

func (m *BuildTriggerCause) Marshal() (data []byte, err error)

func (*BuildTriggerCause) MarshalTo added in v1.3.0

func (m *BuildTriggerCause) MarshalTo(data []byte) (int, error)

func (*BuildTriggerCause) ProtoMessage added in v1.3.0

func (*BuildTriggerCause) ProtoMessage()

func (*BuildTriggerCause) Reset added in v1.3.0

func (m *BuildTriggerCause) Reset()

func (*BuildTriggerCause) Size added in v1.3.0

func (m *BuildTriggerCause) Size() (n int)

func (*BuildTriggerCause) String added in v1.3.0

func (this *BuildTriggerCause) String() string

func (BuildTriggerCause) SwaggerDoc added in v1.3.0

func (BuildTriggerCause) SwaggerDoc() map[string]string

func (*BuildTriggerCause) Unmarshal added in v1.3.0

func (m *BuildTriggerCause) Unmarshal(data []byte) error

type BuildTriggerPolicy

type BuildTriggerPolicy struct {
	// type is the type of build trigger
	Type BuildTriggerType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=BuildTriggerType"`

	// github contains the parameters for a GitHub webhook type of trigger
	GitHubWebHook *WebHookTrigger `json:"github,omitempty" protobuf:"bytes,2,opt,name=github"`

	// generic contains the parameters for a Generic webhook type of trigger
	GenericWebHook *WebHookTrigger `json:"generic,omitempty" protobuf:"bytes,3,opt,name=generic"`

	// imageChange contains parameters for an ImageChange type of trigger
	ImageChange *ImageChangeTrigger `json:"imageChange,omitempty" protobuf:"bytes,4,opt,name=imageChange"`
}

BuildTriggerPolicy describes a policy for a single trigger that results in a new Build.

func (*BuildTriggerPolicy) Descriptor added in v1.4.0

func (*BuildTriggerPolicy) Descriptor() ([]byte, []int)

func (*BuildTriggerPolicy) Marshal added in v1.3.0

func (m *BuildTriggerPolicy) Marshal() (data []byte, err error)

func (*BuildTriggerPolicy) MarshalTo added in v1.3.0

func (m *BuildTriggerPolicy) MarshalTo(data []byte) (int, error)

func (*BuildTriggerPolicy) ProtoMessage added in v1.3.0

func (*BuildTriggerPolicy) ProtoMessage()

func (*BuildTriggerPolicy) Reset added in v1.3.0

func (m *BuildTriggerPolicy) Reset()

func (*BuildTriggerPolicy) Size added in v1.3.0

func (m *BuildTriggerPolicy) Size() (n int)

func (*BuildTriggerPolicy) String added in v1.3.0

func (this *BuildTriggerPolicy) String() string

func (BuildTriggerPolicy) SwaggerDoc added in v1.1.4

func (BuildTriggerPolicy) SwaggerDoc() map[string]string

func (*BuildTriggerPolicy) Unmarshal added in v1.3.0

func (m *BuildTriggerPolicy) Unmarshal(data []byte) error

type BuildTriggerType

type BuildTriggerType string

BuildTriggerType refers to a specific BuildTriggerPolicy implementation.

const (
	// GitHubWebHookBuildTriggerType represents a trigger that launches builds on
	// GitHub webhook invocations
	GitHubWebHookBuildTriggerType           BuildTriggerType = "GitHub"
	GitHubWebHookBuildTriggerTypeDeprecated BuildTriggerType = "github"

	// GenericWebHookBuildTriggerType represents a trigger that launches builds on
	// generic webhook invocations
	GenericWebHookBuildTriggerType           BuildTriggerType = "Generic"
	GenericWebHookBuildTriggerTypeDeprecated BuildTriggerType = "generic"

	// ImageChangeBuildTriggerType represents a trigger that launches builds on
	// availability of a new version of an image
	ImageChangeBuildTriggerType           BuildTriggerType = "ImageChange"
	ImageChangeBuildTriggerTypeDeprecated BuildTriggerType = "imageChange"

	// ConfigChangeBuildTriggerType will trigger a build on an initial build config creation
	// WARNING: In the future the behavior will change to trigger a build on any config change
	ConfigChangeBuildTriggerType BuildTriggerType = "ConfigChange"
)

type CommonSpec added in v1.3.0

type CommonSpec struct {
	// serviceAccount is the name of the ServiceAccount to use to run the pod
	// created by this build.
	// The pod will be allowed to use secrets referenced by the ServiceAccount
	ServiceAccount string `json:"serviceAccount,omitempty" protobuf:"bytes,1,opt,name=serviceAccount"`

	// source describes the SCM in use.
	Source BuildSource `json:"source,omitempty" protobuf:"bytes,2,opt,name=source"`

	// revision is the information from the source for a specific repo snapshot.
	// This is optional.
	Revision *SourceRevision `json:"revision,omitempty" protobuf:"bytes,3,opt,name=revision"`

	// strategy defines how to perform a build.
	Strategy BuildStrategy `json:"strategy" protobuf:"bytes,4,opt,name=strategy"`

	// output describes the Docker image the Strategy should produce.
	Output BuildOutput `json:"output,omitempty" protobuf:"bytes,5,opt,name=output"`

	// resources computes resource requirements to execute the build.
	Resources kapi.ResourceRequirements `json:"resources,omitempty" protobuf:"bytes,6,opt,name=resources"`

	// postCommit is a build hook executed after the build output image is
	// committed, before it is pushed to a registry.
	PostCommit BuildPostCommitSpec `json:"postCommit,omitempty" protobuf:"bytes,7,opt,name=postCommit"`

	// completionDeadlineSeconds is an optional duration in seconds, counted from
	// the time when a build pod gets scheduled in the system, that the build may
	// be active on a node before the system actively tries to terminate the
	// build; value must be positive integer
	CompletionDeadlineSeconds *int64 `json:"completionDeadlineSeconds,omitempty" protobuf:"varint,8,opt,name=completionDeadlineSeconds"`

	// nodeSelector is a selector which must be true for the build pod to fit on a node
	// If nil, it can be overridden by default build nodeselector values for the cluster.
	// If set to an empty map or a map with any values, default build nodeselector values
	// are ignored.
	NodeSelector OptionalNodeSelector `json:"nodeSelector" protobuf:"bytes,9,name=nodeSelector"`
}

CommonSpec encapsulates all the inputs necessary to represent a build.

func (*CommonSpec) Descriptor added in v1.4.0

func (*CommonSpec) Descriptor() ([]byte, []int)

func (*CommonSpec) Marshal added in v1.3.0

func (m *CommonSpec) Marshal() (data []byte, err error)

func (*CommonSpec) MarshalTo added in v1.3.0

func (m *CommonSpec) MarshalTo(data []byte) (int, error)

func (*CommonSpec) ProtoMessage added in v1.3.0

func (*CommonSpec) ProtoMessage()

func (*CommonSpec) Reset added in v1.3.0

func (m *CommonSpec) Reset()

func (*CommonSpec) Size added in v1.3.0

func (m *CommonSpec) Size() (n int)

func (*CommonSpec) String added in v1.3.0

func (this *CommonSpec) String() string

func (CommonSpec) SwaggerDoc added in v1.3.0

func (CommonSpec) SwaggerDoc() map[string]string

func (*CommonSpec) Unmarshal added in v1.3.0

func (m *CommonSpec) Unmarshal(data []byte) error

type CustomBuildStrategy

type CustomBuildStrategy struct {
	// from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which
	// the docker image should be pulled
	From kapi.ObjectReference `json:"from" protobuf:"bytes,1,opt,name=from"`

	// pullSecret is the name of a Secret that would be used for setting up
	// the authentication for pulling the Docker images from the private Docker
	// registries
	PullSecret *kapi.LocalObjectReference `json:"pullSecret,omitempty" protobuf:"bytes,2,opt,name=pullSecret"`

	// env contains additional environment variables you want to pass into a builder container
	Env []kapi.EnvVar `json:"env,omitempty" protobuf:"bytes,3,rep,name=env"`

	// exposeDockerSocket will allow running Docker commands (and build Docker images) from
	// inside the Docker container.
	// TODO: Allow admins to enforce 'false' for this option
	ExposeDockerSocket bool `json:"exposeDockerSocket,omitempty" protobuf:"varint,4,opt,name=exposeDockerSocket"`

	// forcePull describes if the controller should configure the build pod to always pull the images
	// for the builder or only pull if it is not present locally
	ForcePull bool `json:"forcePull,omitempty" protobuf:"varint,5,opt,name=forcePull"`

	// secrets is a list of additional secrets that will be included in the build pod
	Secrets []SecretSpec `json:"secrets,omitempty" protobuf:"bytes,6,rep,name=secrets"`

	// buildAPIVersion is the requested API version for the Build object serialized and passed to the custom builder
	BuildAPIVersion string `json:"buildAPIVersion,omitempty" protobuf:"bytes,7,opt,name=buildAPIVersion"`
}

CustomBuildStrategy defines input parameters specific to Custom build.

func (*CustomBuildStrategy) Descriptor added in v1.4.0

func (*CustomBuildStrategy) Descriptor() ([]byte, []int)

func (*CustomBuildStrategy) Marshal added in v1.3.0

func (m *CustomBuildStrategy) Marshal() (data []byte, err error)

func (*CustomBuildStrategy) MarshalTo added in v1.3.0

func (m *CustomBuildStrategy) MarshalTo(data []byte) (int, error)

func (*CustomBuildStrategy) ProtoMessage added in v1.3.0

func (*CustomBuildStrategy) ProtoMessage()

func (*CustomBuildStrategy) Reset added in v1.3.0

func (m *CustomBuildStrategy) Reset()

func (*CustomBuildStrategy) Size added in v1.3.0

func (m *CustomBuildStrategy) Size() (n int)

func (*CustomBuildStrategy) String added in v1.3.0

func (this *CustomBuildStrategy) String() string

func (CustomBuildStrategy) SwaggerDoc added in v1.1.4

func (CustomBuildStrategy) SwaggerDoc() map[string]string

func (*CustomBuildStrategy) Unmarshal added in v1.3.0

func (m *CustomBuildStrategy) Unmarshal(data []byte) error

type DockerBuildStrategy

type DockerBuildStrategy struct {
	// from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which
	// the docker image should be pulled
	// the resulting image will be used in the FROM line of the Dockerfile for this build.
	From *kapi.ObjectReference `json:"from,omitempty" protobuf:"bytes,1,opt,name=from"`

	// pullSecret is the name of a Secret that would be used for setting up
	// the authentication for pulling the Docker images from the private Docker
	// registries
	PullSecret *kapi.LocalObjectReference `json:"pullSecret,omitempty" protobuf:"bytes,2,opt,name=pullSecret"`

	// noCache if set to true indicates that the docker build must be executed with the
	// --no-cache=true flag
	NoCache bool `json:"noCache,omitempty" protobuf:"varint,3,opt,name=noCache"`

	// env contains additional environment variables you want to pass into a builder container
	Env []kapi.EnvVar `json:"env,omitempty" protobuf:"bytes,4,rep,name=env"`

	// forcePull describes if the builder should pull the images from registry prior to building.
	ForcePull bool `json:"forcePull,omitempty" protobuf:"varint,5,opt,name=forcePull"`

	// dockerfilePath is the path of the Dockerfile that will be used to build the Docker image,
	// relative to the root of the context (contextDir).
	DockerfilePath string `json:"dockerfilePath,omitempty" protobuf:"bytes,6,opt,name=dockerfilePath"`
}

DockerBuildStrategy defines input parameters specific to Docker build.

func (*DockerBuildStrategy) Descriptor added in v1.4.0

func (*DockerBuildStrategy) Descriptor() ([]byte, []int)

func (*DockerBuildStrategy) Marshal added in v1.3.0

func (m *DockerBuildStrategy) Marshal() (data []byte, err error)

func (*DockerBuildStrategy) MarshalTo added in v1.3.0

func (m *DockerBuildStrategy) MarshalTo(data []byte) (int, error)

func (*DockerBuildStrategy) ProtoMessage added in v1.3.0

func (*DockerBuildStrategy) ProtoMessage()

func (*DockerBuildStrategy) Reset added in v1.3.0

func (m *DockerBuildStrategy) Reset()

func (*DockerBuildStrategy) Size added in v1.3.0

func (m *DockerBuildStrategy) Size() (n int)

func (*DockerBuildStrategy) String added in v1.3.0

func (this *DockerBuildStrategy) String() string

func (DockerBuildStrategy) SwaggerDoc added in v1.1.4

func (DockerBuildStrategy) SwaggerDoc() map[string]string

func (*DockerBuildStrategy) Unmarshal added in v1.3.0

func (m *DockerBuildStrategy) Unmarshal(data []byte) error

type GenericWebHookCause added in v1.3.0

type GenericWebHookCause struct {
	// revision is an optional field that stores the git source revision
	// information of the generic webhook trigger when it is available.
	Revision *SourceRevision `json:"revision,omitempty" protobuf:"bytes,1,opt,name=revision"`

	// secret is the obfuscated webhook secret that triggered a build.
	Secret string `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"`
}

GenericWebHookCause holds information about a generic WebHook that triggered a build.

func (*GenericWebHookCause) Descriptor added in v1.4.0

func (*GenericWebHookCause) Descriptor() ([]byte, []int)

func (*GenericWebHookCause) Marshal added in v1.3.0

func (m *GenericWebHookCause) Marshal() (data []byte, err error)

func (*GenericWebHookCause) MarshalTo added in v1.3.0

func (m *GenericWebHookCause) MarshalTo(data []byte) (int, error)

func (*GenericWebHookCause) ProtoMessage added in v1.3.0

func (*GenericWebHookCause) ProtoMessage()

func (*GenericWebHookCause) Reset added in v1.3.0

func (m *GenericWebHookCause) Reset()

func (*GenericWebHookCause) Size added in v1.3.0

func (m *GenericWebHookCause) Size() (n int)

func (*GenericWebHookCause) String added in v1.3.0

func (this *GenericWebHookCause) String() string

func (GenericWebHookCause) SwaggerDoc added in v1.3.0

func (GenericWebHookCause) SwaggerDoc() map[string]string

func (*GenericWebHookCause) Unmarshal added in v1.3.0

func (m *GenericWebHookCause) Unmarshal(data []byte) error

type GenericWebHookEvent

type GenericWebHookEvent struct {
	// type is the type of source repository
	// +k8s:conversion-gen=false
	Type BuildSourceType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=BuildSourceType"`

	// git is the git information if the Type is BuildSourceGit
	Git *GitInfo `json:"git,omitempty" protobuf:"bytes,2,opt,name=git"`

	// env contains additional environment variables you want to pass into a builder container
	Env []kapi.EnvVar `json:"env,omitempty" protobuf:"bytes,3,rep,name=env"`
}

GenericWebHookEvent is the payload expected for a generic webhook post

func (*GenericWebHookEvent) Descriptor added in v1.4.0

func (*GenericWebHookEvent) Descriptor() ([]byte, []int)

func (*GenericWebHookEvent) Marshal added in v1.3.0

func (m *GenericWebHookEvent) Marshal() (data []byte, err error)

func (*GenericWebHookEvent) MarshalTo added in v1.3.0

func (m *GenericWebHookEvent) MarshalTo(data []byte) (int, error)

func (*GenericWebHookEvent) ProtoMessage added in v1.3.0

func (*GenericWebHookEvent) ProtoMessage()

func (*GenericWebHookEvent) Reset added in v1.3.0

func (m *GenericWebHookEvent) Reset()

func (*GenericWebHookEvent) Size added in v1.3.0

func (m *GenericWebHookEvent) Size() (n int)

func (*GenericWebHookEvent) String added in v1.3.0

func (this *GenericWebHookEvent) String() string

func (GenericWebHookEvent) SwaggerDoc added in v1.1.4

func (GenericWebHookEvent) SwaggerDoc() map[string]string

func (*GenericWebHookEvent) Unmarshal added in v1.3.0

func (m *GenericWebHookEvent) Unmarshal(data []byte) error

type GitBuildSource

type GitBuildSource struct {
	// uri points to the source that will be built. The structure of the source
	// will depend on the type of build to run
	URI string `json:"uri" protobuf:"bytes,1,opt,name=uri"`

	// ref is the branch/tag/ref to build.
	Ref string `json:"ref,omitempty" protobuf:"bytes,2,opt,name=ref"`

	// proxyConfig defines the proxies to use for the git clone operation
	ProxyConfig `json:",inline" protobuf:"bytes,3,opt,name=proxyConfig"`
}

GitBuildSource defines the parameters of a Git SCM

func (*GitBuildSource) Descriptor added in v1.4.0

func (*GitBuildSource) Descriptor() ([]byte, []int)

func (*GitBuildSource) Marshal added in v1.3.0

func (m *GitBuildSource) Marshal() (data []byte, err error)

func (*GitBuildSource) MarshalTo added in v1.3.0

func (m *GitBuildSource) MarshalTo(data []byte) (int, error)

func (*GitBuildSource) ProtoMessage added in v1.3.0

func (*GitBuildSource) ProtoMessage()

func (*GitBuildSource) Reset added in v1.3.0

func (m *GitBuildSource) Reset()

func (*GitBuildSource) Size added in v1.3.0

func (m *GitBuildSource) Size() (n int)

func (*GitBuildSource) String added in v1.3.0

func (this *GitBuildSource) String() string

func (GitBuildSource) SwaggerDoc added in v1.1.4

func (GitBuildSource) SwaggerDoc() map[string]string

func (*GitBuildSource) Unmarshal added in v1.3.0

func (m *GitBuildSource) Unmarshal(data []byte) error

type GitHubWebHookCause added in v1.3.0

type GitHubWebHookCause struct {
	// revision is the git revision information of the trigger.
	Revision *SourceRevision `json:"revision,omitempty" protobuf:"bytes,1,opt,name=revision"`

	// secret is the obfuscated webhook secret that triggered a build.
	Secret string `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"`
}

GitHubWebHookCause has information about a GitHub webhook that triggered a build.

func (*GitHubWebHookCause) Descriptor added in v1.4.0

func (*GitHubWebHookCause) Descriptor() ([]byte, []int)

func (*GitHubWebHookCause) Marshal added in v1.3.0

func (m *GitHubWebHookCause) Marshal() (data []byte, err error)

func (*GitHubWebHookCause) MarshalTo added in v1.3.0

func (m *GitHubWebHookCause) MarshalTo(data []byte) (int, error)

func (*GitHubWebHookCause) ProtoMessage added in v1.3.0

func (*GitHubWebHookCause) ProtoMessage()

func (*GitHubWebHookCause) Reset added in v1.3.0

func (m *GitHubWebHookCause) Reset()

func (*GitHubWebHookCause) Size added in v1.3.0

func (m *GitHubWebHookCause) Size() (n int)

func (*GitHubWebHookCause) String added in v1.3.0

func (this *GitHubWebHookCause) String() string

func (GitHubWebHookCause) SwaggerDoc added in v1.3.0

func (GitHubWebHookCause) SwaggerDoc() map[string]string

func (*GitHubWebHookCause) Unmarshal added in v1.3.0

func (m *GitHubWebHookCause) Unmarshal(data []byte) error

type GitInfo

type GitInfo struct {
	GitBuildSource    `json:",inline" protobuf:"bytes,1,opt,name=gitBuildSource"`
	GitSourceRevision `json:",inline" protobuf:"bytes,2,opt,name=gitSourceRevision"`
}

GitInfo is the aggregated git information for a generic webhook post

func (*GitInfo) Descriptor added in v1.4.0

func (*GitInfo) Descriptor() ([]byte, []int)

func (*GitInfo) Marshal added in v1.3.0

func (m *GitInfo) Marshal() (data []byte, err error)

func (*GitInfo) MarshalTo added in v1.3.0

func (m *GitInfo) MarshalTo(data []byte) (int, error)

func (*GitInfo) ProtoMessage added in v1.3.0

func (*GitInfo) ProtoMessage()

func (*GitInfo) Reset added in v1.3.0

func (m *GitInfo) Reset()

func (*GitInfo) Size added in v1.3.0

func (m *GitInfo) Size() (n int)

func (*GitInfo) String added in v1.3.0

func (this *GitInfo) String() string

func (GitInfo) SwaggerDoc added in v1.1.4

func (GitInfo) SwaggerDoc() map[string]string

func (*GitInfo) Unmarshal added in v1.3.0

func (m *GitInfo) Unmarshal(data []byte) error

type GitSourceRevision

type GitSourceRevision struct {
	// commit is the commit hash identifying a specific commit
	Commit string `json:"commit,omitempty" protobuf:"bytes,1,opt,name=commit"`

	// author is the author of a specific commit
	Author SourceControlUser `json:"author,omitempty" protobuf:"bytes,2,opt,name=author"`

	// committer is the committer of a specific commit
	Committer SourceControlUser `json:"committer,omitempty" protobuf:"bytes,3,opt,name=committer"`

	// message is the description of a specific commit
	Message string `json:"message,omitempty" protobuf:"bytes,4,opt,name=message"`
}

GitSourceRevision is the commit information from a git source for a build

func (*GitSourceRevision) Descriptor added in v1.4.0

func (*GitSourceRevision) Descriptor() ([]byte, []int)

func (*GitSourceRevision) Marshal added in v1.3.0

func (m *GitSourceRevision) Marshal() (data []byte, err error)

func (*GitSourceRevision) MarshalTo added in v1.3.0

func (m *GitSourceRevision) MarshalTo(data []byte) (int, error)

func (*GitSourceRevision) ProtoMessage added in v1.3.0

func (*GitSourceRevision) ProtoMessage()

func (*GitSourceRevision) Reset added in v1.3.0

func (m *GitSourceRevision) Reset()

func (*GitSourceRevision) Size added in v1.3.0

func (m *GitSourceRevision) Size() (n int)

func (*GitSourceRevision) String added in v1.3.0

func (this *GitSourceRevision) String() string

func (GitSourceRevision) SwaggerDoc added in v1.1.4

func (GitSourceRevision) SwaggerDoc() map[string]string

func (*GitSourceRevision) Unmarshal added in v1.3.0

func (m *GitSourceRevision) Unmarshal(data []byte) error

type ImageChangeCause added in v1.3.0

type ImageChangeCause struct {
	// imageID is the ID of the image that triggered a a new build.
	ImageID string `json:"imageID,omitempty" protobuf:"bytes,1,opt,name=imageID"`

	// fromRef contains detailed information about an image that triggered a
	// build.
	FromRef *kapi.ObjectReference `json:"fromRef,omitempty" protobuf:"bytes,2,opt,name=fromRef"`
}

ImageChangeCause contains information about the image that triggered a build

func (*ImageChangeCause) Descriptor added in v1.4.0

func (*ImageChangeCause) Descriptor() ([]byte, []int)

func (*ImageChangeCause) Marshal added in v1.3.0

func (m *ImageChangeCause) Marshal() (data []byte, err error)

func (*ImageChangeCause) MarshalTo added in v1.3.0

func (m *ImageChangeCause) MarshalTo(data []byte) (int, error)

func (*ImageChangeCause) ProtoMessage added in v1.3.0

func (*ImageChangeCause) ProtoMessage()

func (*ImageChangeCause) Reset added in v1.3.0

func (m *ImageChangeCause) Reset()

func (*ImageChangeCause) Size added in v1.3.0

func (m *ImageChangeCause) Size() (n int)

func (*ImageChangeCause) String added in v1.3.0

func (this *ImageChangeCause) String() string

func (ImageChangeCause) SwaggerDoc added in v1.3.0

func (ImageChangeCause) SwaggerDoc() map[string]string

func (*ImageChangeCause) Unmarshal added in v1.3.0

func (m *ImageChangeCause) Unmarshal(data []byte) error

type ImageChangeTrigger

type ImageChangeTrigger struct {
	// lastTriggeredImageID is used internally by the ImageChangeController to save last
	// used image ID for build
	LastTriggeredImageID string `json:"lastTriggeredImageID,omitempty" protobuf:"bytes,1,opt,name=lastTriggeredImageID"`

	// from is a reference to an ImageStreamTag that will trigger a build when updated
	// It is optional. If no From is specified, the From image from the build strategy
	// will be used. Only one ImageChangeTrigger with an empty From reference is allowed in
	// a build configuration.
	From *kapi.ObjectReference `json:"from,omitempty" protobuf:"bytes,2,opt,name=from"`
}

ImageChangeTrigger allows builds to be triggered when an ImageStream changes

func (*ImageChangeTrigger) Descriptor added in v1.4.0

func (*ImageChangeTrigger) Descriptor() ([]byte, []int)

func (*ImageChangeTrigger) Marshal added in v1.3.0

func (m *ImageChangeTrigger) Marshal() (data []byte, err error)

func (*ImageChangeTrigger) MarshalTo added in v1.3.0

func (m *ImageChangeTrigger) MarshalTo(data []byte) (int, error)

func (*ImageChangeTrigger) ProtoMessage added in v1.3.0

func (*ImageChangeTrigger) ProtoMessage()

func (*ImageChangeTrigger) Reset added in v1.3.0

func (m *ImageChangeTrigger) Reset()

func (*ImageChangeTrigger) Size added in v1.3.0

func (m *ImageChangeTrigger) Size() (n int)

func (*ImageChangeTrigger) String added in v1.3.0

func (this *ImageChangeTrigger) String() string

func (ImageChangeTrigger) SwaggerDoc added in v1.1.4

func (ImageChangeTrigger) SwaggerDoc() map[string]string

func (*ImageChangeTrigger) Unmarshal added in v1.3.0

func (m *ImageChangeTrigger) Unmarshal(data []byte) error

type ImageLabel added in v1.4.0

type ImageLabel struct {
	// name defines the name of the label. It must have non-zero length.
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// value defines the literal value of the label.
	Value string `json:"value,omitempty" protobuf:"bytes,2,opt,name=value"`
}

ImageLabel represents a label applied to the resulting image.

func (*ImageLabel) Descriptor added in v1.4.0

func (*ImageLabel) Descriptor() ([]byte, []int)

func (*ImageLabel) Marshal added in v1.4.0

func (m *ImageLabel) Marshal() (data []byte, err error)

func (*ImageLabel) MarshalTo added in v1.4.0

func (m *ImageLabel) MarshalTo(data []byte) (int, error)

func (*ImageLabel) ProtoMessage added in v1.4.0

func (*ImageLabel) ProtoMessage()

func (*ImageLabel) Reset added in v1.4.0

func (m *ImageLabel) Reset()

func (*ImageLabel) Size added in v1.4.0

func (m *ImageLabel) Size() (n int)

func (*ImageLabel) String added in v1.4.0

func (this *ImageLabel) String() string

func (ImageLabel) SwaggerDoc added in v1.4.0

func (ImageLabel) SwaggerDoc() map[string]string

func (*ImageLabel) Unmarshal added in v1.4.0

func (m *ImageLabel) Unmarshal(data []byte) error

type ImageSource added in v1.1.1

type ImageSource struct {
	// from is a reference to an ImageStreamTag, ImageStreamImage, or DockerImage to
	// copy source from.
	From kapi.ObjectReference `json:"from" protobuf:"bytes,1,opt,name=from"`

	// paths is a list of source and destination paths to copy from the image.
	Paths []ImageSourcePath `json:"paths" protobuf:"bytes,2,rep,name=paths"`

	// pullSecret is a reference to a secret to be used to pull the image from a registry
	// If the image is pulled from the OpenShift registry, this field does not need to be set.
	PullSecret *kapi.LocalObjectReference `json:"pullSecret,omitempty" protobuf:"bytes,3,opt,name=pullSecret"`
}

ImageSource is used to describe build source that will be extracted from an image. A reference of type ImageStreamTag, ImageStreamImage or DockerImage may be used. A pull secret can be specified to pull the image from an external registry or override the default service account secret if pulling from the internal registry. A list of paths to copy from the image and their respective destination within the build directory must be specified in the paths array.

func (*ImageSource) Descriptor added in v1.4.0

func (*ImageSource) Descriptor() ([]byte, []int)

func (*ImageSource) Marshal added in v1.3.0

func (m *ImageSource) Marshal() (data []byte, err error)

func (*ImageSource) MarshalTo added in v1.3.0

func (m *ImageSource) MarshalTo(data []byte) (int, error)

func (*ImageSource) ProtoMessage added in v1.3.0

func (*ImageSource) ProtoMessage()

func (*ImageSource) Reset added in v1.3.0

func (m *ImageSource) Reset()

func (*ImageSource) Size added in v1.3.0

func (m *ImageSource) Size() (n int)

func (*ImageSource) String added in v1.3.0

func (this *ImageSource) String() string

func (ImageSource) SwaggerDoc added in v1.1.4

func (ImageSource) SwaggerDoc() map[string]string

func (*ImageSource) Unmarshal added in v1.3.0

func (m *ImageSource) Unmarshal(data []byte) error

type ImageSourcePath added in v1.1.1

type ImageSourcePath struct {
	// sourcePath is the absolute path of the file or directory inside the image to
	// copy to the build directory.
	SourcePath string `json:"sourcePath" protobuf:"bytes,1,opt,name=sourcePath"`

	// destinationDir is the relative directory within the build directory
	// where files copied from the image are placed.
	DestinationDir string `json:"destinationDir" protobuf:"bytes,2,opt,name=destinationDir"`
}

ImageSourcePath describes a path to be copied from a source image and its destination within the build directory.

func (*ImageSourcePath) Descriptor added in v1.4.0

func (*ImageSourcePath) Descriptor() ([]byte, []int)

func (*ImageSourcePath) Marshal added in v1.3.0

func (m *ImageSourcePath) Marshal() (data []byte, err error)

func (*ImageSourcePath) MarshalTo added in v1.3.0

func (m *ImageSourcePath) MarshalTo(data []byte) (int, error)

func (*ImageSourcePath) ProtoMessage added in v1.3.0

func (*ImageSourcePath) ProtoMessage()

func (*ImageSourcePath) Reset added in v1.3.0

func (m *ImageSourcePath) Reset()

func (*ImageSourcePath) Size added in v1.3.0

func (m *ImageSourcePath) Size() (n int)

func (*ImageSourcePath) String added in v1.3.0

func (this *ImageSourcePath) String() string

func (ImageSourcePath) SwaggerDoc added in v1.1.4

func (ImageSourcePath) SwaggerDoc() map[string]string

func (*ImageSourcePath) Unmarshal added in v1.3.0

func (m *ImageSourcePath) Unmarshal(data []byte) error

type JenkinsPipelineBuildStrategy added in v1.3.0

type JenkinsPipelineBuildStrategy struct {
	// JenkinsfilePath is the optional path of the Jenkinsfile that will be used to configure the pipeline
	// relative to the root of the context (contextDir). If both JenkinsfilePath & Jenkinsfile are
	// both not specified, this defaults to Jenkinsfile in the root of the specified contextDir.
	JenkinsfilePath string `json:"jenkinsfilePath,omitempty" protobuf:"bytes,1,opt,name=jenkinsfilePath"`

	// Jenkinsfile defines the optional raw contents of a Jenkinsfile which defines a Jenkins pipeline build.
	Jenkinsfile string `json:"jenkinsfile,omitempty" protobuf:"bytes,2,opt,name=jenkinsfile"`
}

JenkinsPipelineBuildStrategy holds parameters specific to a Jenkins Pipeline build. This strategy is in tech preview.

func (*JenkinsPipelineBuildStrategy) Descriptor added in v1.4.0

func (*JenkinsPipelineBuildStrategy) Descriptor() ([]byte, []int)

func (*JenkinsPipelineBuildStrategy) Marshal added in v1.3.0

func (m *JenkinsPipelineBuildStrategy) Marshal() (data []byte, err error)

func (*JenkinsPipelineBuildStrategy) MarshalTo added in v1.3.0

func (m *JenkinsPipelineBuildStrategy) MarshalTo(data []byte) (int, error)

func (*JenkinsPipelineBuildStrategy) ProtoMessage added in v1.3.0

func (*JenkinsPipelineBuildStrategy) ProtoMessage()

func (*JenkinsPipelineBuildStrategy) Reset added in v1.3.0

func (m *JenkinsPipelineBuildStrategy) Reset()

func (*JenkinsPipelineBuildStrategy) Size added in v1.3.0

func (m *JenkinsPipelineBuildStrategy) Size() (n int)

func (*JenkinsPipelineBuildStrategy) String added in v1.3.0

func (this *JenkinsPipelineBuildStrategy) String() string

func (JenkinsPipelineBuildStrategy) SwaggerDoc added in v1.3.0

func (JenkinsPipelineBuildStrategy) SwaggerDoc() map[string]string

func (*JenkinsPipelineBuildStrategy) Unmarshal added in v1.3.0

func (m *JenkinsPipelineBuildStrategy) Unmarshal(data []byte) error

type OptionalNodeSelector added in v1.4.0

type OptionalNodeSelector map[string]string

OptionalNodeSelector is a map that may also be left nil to distinguish between set and unset. +protobuf.nullable=true +protobuf.options.(gogoproto.goproto_stringer)=false

func (*OptionalNodeSelector) Descriptor added in v1.4.0

func (*OptionalNodeSelector) Descriptor() ([]byte, []int)

func (OptionalNodeSelector) Marshal added in v1.4.0

func (m OptionalNodeSelector) Marshal() (data []byte, err error)

func (OptionalNodeSelector) MarshalTo added in v1.4.0

func (m OptionalNodeSelector) MarshalTo(data []byte) (int, error)

func (*OptionalNodeSelector) ProtoMessage added in v1.4.0

func (*OptionalNodeSelector) ProtoMessage()

func (*OptionalNodeSelector) Reset added in v1.4.0

func (m *OptionalNodeSelector) Reset()

func (OptionalNodeSelector) Size added in v1.4.0

func (m OptionalNodeSelector) Size() (n int)

func (OptionalNodeSelector) String added in v1.4.0

func (t OptionalNodeSelector) String() string

func (*OptionalNodeSelector) Unmarshal added in v1.4.0

func (m *OptionalNodeSelector) Unmarshal(data []byte) error

type ProxyConfig added in v1.4.0

type ProxyConfig struct {
	// httpProxy is a proxy used to reach the git repository over http
	HTTPProxy *string `json:"httpProxy,omitempty" protobuf:"bytes,3,opt,name=httpProxy"`

	// httpsProxy is a proxy used to reach the git repository over https
	HTTPSProxy *string `json:"httpsProxy,omitempty" protobuf:"bytes,4,opt,name=httpsProxy"`

	// noProxy is the list of domains for which the proxy should not be used
	NoProxy *string `json:"noProxy,omitempty" protobuf:"bytes,5,opt,name=noProxy"`
}

ProxyConfig defines what proxies to use for an operation

func (*ProxyConfig) Descriptor added in v1.4.0

func (*ProxyConfig) Descriptor() ([]byte, []int)

func (*ProxyConfig) Marshal added in v1.4.0

func (m *ProxyConfig) Marshal() (data []byte, err error)

func (*ProxyConfig) MarshalTo added in v1.4.0

func (m *ProxyConfig) MarshalTo(data []byte) (int, error)

func (*ProxyConfig) ProtoMessage added in v1.4.0

func (*ProxyConfig) ProtoMessage()

func (*ProxyConfig) Reset added in v1.4.0

func (m *ProxyConfig) Reset()

func (*ProxyConfig) Size added in v1.4.0

func (m *ProxyConfig) Size() (n int)

func (*ProxyConfig) String added in v1.4.0

func (this *ProxyConfig) String() string

func (ProxyConfig) SwaggerDoc added in v1.4.0

func (ProxyConfig) SwaggerDoc() map[string]string

func (*ProxyConfig) Unmarshal added in v1.4.0

func (m *ProxyConfig) Unmarshal(data []byte) error

type SecretBuildSource added in v1.1.2

type SecretBuildSource struct {
	// secret is a reference to an existing secret that you want to use in your
	// build.
	Secret kapi.LocalObjectReference `json:"secret" protobuf:"bytes,1,opt,name=secret"`

	// destinationDir is the directory where the files from the secret should be
	// available for the build time.
	// For the Source build strategy, these will be injected into a container
	// where the assemble script runs. Later, when the script finishes, all files
	// injected will be truncated to zero length.
	// For the Docker build strategy, these will be copied into the build
	// directory, where the Dockerfile is located, so users can ADD or COPY them
	// during docker build.
	DestinationDir string `json:"destinationDir,omitempty" protobuf:"bytes,2,opt,name=destinationDir"`
}

SecretBuildSource describes a secret and its destination directory that will be used only at the build time. The content of the secret referenced here will be copied into the destination directory instead of mounting.

func (*SecretBuildSource) Descriptor added in v1.4.0

func (*SecretBuildSource) Descriptor() ([]byte, []int)

func (*SecretBuildSource) Marshal added in v1.3.0

func (m *SecretBuildSource) Marshal() (data []byte, err error)

func (*SecretBuildSource) MarshalTo added in v1.3.0

func (m *SecretBuildSource) MarshalTo(data []byte) (int, error)

func (*SecretBuildSource) ProtoMessage added in v1.3.0

func (*SecretBuildSource) ProtoMessage()

func (*SecretBuildSource) Reset added in v1.3.0

func (m *SecretBuildSource) Reset()

func (*SecretBuildSource) Size added in v1.3.0

func (m *SecretBuildSource) Size() (n int)

func (*SecretBuildSource) String added in v1.3.0

func (this *SecretBuildSource) String() string

func (SecretBuildSource) SwaggerDoc added in v1.1.4

func (SecretBuildSource) SwaggerDoc() map[string]string

func (*SecretBuildSource) Unmarshal added in v1.3.0

func (m *SecretBuildSource) Unmarshal(data []byte) error

type SecretSpec added in v1.0.6

type SecretSpec struct {
	// secretSource is a reference to the secret
	SecretSource kapi.LocalObjectReference `json:"secretSource" protobuf:"bytes,1,opt,name=secretSource"`

	// mountPath is the path at which to mount the secret
	MountPath string `json:"mountPath" protobuf:"bytes,2,opt,name=mountPath"`
}

SecretSpec specifies a secret to be included in a build pod and its corresponding mount point

func (*SecretSpec) Descriptor added in v1.4.0

func (*SecretSpec) Descriptor() ([]byte, []int)

func (*SecretSpec) Marshal added in v1.3.0

func (m *SecretSpec) Marshal() (data []byte, err error)

func (*SecretSpec) MarshalTo added in v1.3.0

func (m *SecretSpec) MarshalTo(data []byte) (int, error)

func (*SecretSpec) ProtoMessage added in v1.3.0

func (*SecretSpec) ProtoMessage()

func (*SecretSpec) Reset added in v1.3.0

func (m *SecretSpec) Reset()

func (*SecretSpec) Size added in v1.3.0

func (m *SecretSpec) Size() (n int)

func (*SecretSpec) String added in v1.3.0

func (this *SecretSpec) String() string

func (SecretSpec) SwaggerDoc added in v1.1.4

func (SecretSpec) SwaggerDoc() map[string]string

func (*SecretSpec) Unmarshal added in v1.3.0

func (m *SecretSpec) Unmarshal(data []byte) error

type SourceBuildStrategy

type SourceBuildStrategy struct {
	// from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which
	// the docker image should be pulled
	From kapi.ObjectReference `json:"from" protobuf:"bytes,1,opt,name=from"`

	// pullSecret is the name of a Secret that would be used for setting up
	// the authentication for pulling the Docker images from the private Docker
	// registries
	PullSecret *kapi.LocalObjectReference `json:"pullSecret,omitempty" protobuf:"bytes,2,opt,name=pullSecret"`

	// env contains additional environment variables you want to pass into a builder container
	Env []kapi.EnvVar `json:"env,omitempty" protobuf:"bytes,3,rep,name=env"`

	// scripts is the location of Source scripts
	Scripts string `json:"scripts,omitempty" protobuf:"bytes,4,opt,name=scripts"`

	// incremental flag forces the Source build to do incremental builds if true.
	Incremental *bool `json:"incremental,omitempty" protobuf:"varint,5,opt,name=incremental"`

	// forcePull describes if the builder should pull the images from registry prior to building.
	ForcePull bool `json:"forcePull,omitempty" protobuf:"varint,6,opt,name=forcePull"`

	// runtimeImage is an optional image that is used to run an application
	// without unneeded dependencies installed. The building of the application
	// is still done in the builder image but, post build, you can copy the
	// needed artifacts in the runtime image for use.
	// This field and the feature it enables are in tech preview.
	RuntimeImage *kapi.ObjectReference `json:"runtimeImage,omitempty" protobuf:"bytes,7,opt,name=runtimeImage"`

	// runtimeArtifacts specifies a list of source/destination pairs that will be
	// copied from the builder to the runtime image. sourcePath can be a file or
	// directory. destinationDir must be a directory. destinationDir can also be
	// empty or equal to ".", in this case it just refers to the root of WORKDIR.
	// This field and the feature it enables are in tech preview.
	RuntimeArtifacts []ImageSourcePath `json:"runtimeArtifacts,omitempty" protobuf:"bytes,8,rep,name=runtimeArtifacts"`
}

SourceBuildStrategy defines input parameters specific to an Source build.

func (*SourceBuildStrategy) Descriptor added in v1.4.0

func (*SourceBuildStrategy) Descriptor() ([]byte, []int)

func (*SourceBuildStrategy) Marshal added in v1.3.0

func (m *SourceBuildStrategy) Marshal() (data []byte, err error)

func (*SourceBuildStrategy) MarshalTo added in v1.3.0

func (m *SourceBuildStrategy) MarshalTo(data []byte) (int, error)

func (*SourceBuildStrategy) ProtoMessage added in v1.3.0

func (*SourceBuildStrategy) ProtoMessage()

func (*SourceBuildStrategy) Reset added in v1.3.0

func (m *SourceBuildStrategy) Reset()

func (*SourceBuildStrategy) Size added in v1.3.0

func (m *SourceBuildStrategy) Size() (n int)

func (*SourceBuildStrategy) String added in v1.3.0

func (this *SourceBuildStrategy) String() string

func (SourceBuildStrategy) SwaggerDoc added in v1.1.4

func (SourceBuildStrategy) SwaggerDoc() map[string]string

func (*SourceBuildStrategy) Unmarshal added in v1.3.0

func (m *SourceBuildStrategy) Unmarshal(data []byte) error

type SourceControlUser

type SourceControlUser struct {
	// name of the source control user
	Name string `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// email of the source control user
	Email string `json:"email,omitempty" protobuf:"bytes,2,opt,name=email"`
}

SourceControlUser defines the identity of a user of source control

func (*SourceControlUser) Descriptor added in v1.4.0

func (*SourceControlUser) Descriptor() ([]byte, []int)

func (*SourceControlUser) Marshal added in v1.3.0

func (m *SourceControlUser) Marshal() (data []byte, err error)

func (*SourceControlUser) MarshalTo added in v1.3.0

func (m *SourceControlUser) MarshalTo(data []byte) (int, error)

func (*SourceControlUser) ProtoMessage added in v1.3.0

func (*SourceControlUser) ProtoMessage()

func (*SourceControlUser) Reset added in v1.3.0

func (m *SourceControlUser) Reset()

func (*SourceControlUser) Size added in v1.3.0

func (m *SourceControlUser) Size() (n int)

func (*SourceControlUser) String added in v1.3.0

func (this *SourceControlUser) String() string

func (SourceControlUser) SwaggerDoc added in v1.1.4

func (SourceControlUser) SwaggerDoc() map[string]string

func (*SourceControlUser) Unmarshal added in v1.3.0

func (m *SourceControlUser) Unmarshal(data []byte) error

type SourceRevision

type SourceRevision struct {
	// type of the build source, may be one of 'Source', 'Dockerfile', 'Binary', or 'Images'
	// +k8s:conversion-gen=false
	Type BuildSourceType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=BuildSourceType"`

	// Git contains information about git-based build source
	Git *GitSourceRevision `json:"git,omitempty" protobuf:"bytes,2,opt,name=git"`
}

SourceRevision is the revision or commit information from the source for the build

func (*SourceRevision) Descriptor added in v1.4.0

func (*SourceRevision) Descriptor() ([]byte, []int)

func (*SourceRevision) Marshal added in v1.3.0

func (m *SourceRevision) Marshal() (data []byte, err error)

func (*SourceRevision) MarshalTo added in v1.3.0

func (m *SourceRevision) MarshalTo(data []byte) (int, error)

func (*SourceRevision) ProtoMessage added in v1.3.0

func (*SourceRevision) ProtoMessage()

func (*SourceRevision) Reset added in v1.3.0

func (m *SourceRevision) Reset()

func (*SourceRevision) Size added in v1.3.0

func (m *SourceRevision) Size() (n int)

func (*SourceRevision) String added in v1.3.0

func (this *SourceRevision) String() string

func (SourceRevision) SwaggerDoc added in v1.1.4

func (SourceRevision) SwaggerDoc() map[string]string

func (*SourceRevision) Unmarshal added in v1.3.0

func (m *SourceRevision) Unmarshal(data []byte) error

type StatusReason added in v1.0.7

type StatusReason string

StatusReason is a brief CamelCase string that describes a temporary or permanent build error condition, meant for machine parsing and tidy display in the CLI.

type WebHookTrigger

type WebHookTrigger struct {
	// secret used to validate requests.
	Secret string `json:"secret,omitempty" protobuf:"bytes,1,opt,name=secret"`

	// allowEnv determines whether the webhook can set environment variables; can only
	// be set to true for GenericWebHook.
	AllowEnv bool `json:"allowEnv,omitempty" protobuf:"varint,2,opt,name=allowEnv"`
}

WebHookTrigger is a trigger that gets invoked using a webhook type of post

func (*WebHookTrigger) Descriptor added in v1.4.0

func (*WebHookTrigger) Descriptor() ([]byte, []int)

func (*WebHookTrigger) Marshal added in v1.3.0

func (m *WebHookTrigger) Marshal() (data []byte, err error)

func (*WebHookTrigger) MarshalTo added in v1.3.0

func (m *WebHookTrigger) MarshalTo(data []byte) (int, error)

func (*WebHookTrigger) ProtoMessage added in v1.3.0

func (*WebHookTrigger) ProtoMessage()

func (*WebHookTrigger) Reset added in v1.3.0

func (m *WebHookTrigger) Reset()

func (*WebHookTrigger) Size added in v1.3.0

func (m *WebHookTrigger) Size() (n int)

func (*WebHookTrigger) String added in v1.3.0

func (this *WebHookTrigger) String() string

func (WebHookTrigger) SwaggerDoc added in v1.1.4

func (WebHookTrigger) SwaggerDoc() map[string]string

func (*WebHookTrigger) Unmarshal added in v1.3.0

func (m *WebHookTrigger) Unmarshal(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL