v1

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 12, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

+groupName=build.openshift.io Package v1 is the v1 version of the API.

Index

Constants

View Source
const (
	// BuildAnnotation is an annotation that identifies a Pod as being for a Build
	BuildAnnotation = "openshift.io/build.name"

	// BuildConfigAnnotation is an annotation that identifies the BuildConfig that a Build was created from
	BuildConfigAnnotation = "openshift.io/build-config.name"

	// BuildCloneAnnotation is an annotation whose value is the name of the build this build was cloned from
	BuildCloneAnnotation = "openshift.io/build.clone-of"

	// BuildNumberAnnotation is an annotation whose value is the sequential number for this Build
	BuildNumberAnnotation = "openshift.io/build.number"

	// BuildPodNameAnnotation is an annotation whose value is the name of the pod running this build
	BuildPodNameAnnotation = "openshift.io/build.pod-name"

	// BuildJenkinsStatusJSONAnnotation is an annotation holding the Jenkins status information
	BuildJenkinsStatusJSONAnnotation = "openshift.io/jenkins-status-json"

	// BuildJenkinsLogURLAnnotation is an annotation holding a link to the raw Jenkins build console log
	BuildJenkinsLogURLAnnotation = "openshift.io/jenkins-log-url"

	// BuildJenkinsConsoleLogURLAnnotation is an annotation holding a link to the Jenkins build console log (including Jenkins chrome wrappering)
	BuildJenkinsConsoleLogURLAnnotation = "openshift.io/jenkins-console-log-url"

	// BuildJenkinsBlueOceanLogURLAnnotation is an annotation holding a link to the Jenkins build console log via the Jenkins BlueOcean UI Plugin
	BuildJenkinsBlueOceanLogURLAnnotation = "openshift.io/jenkins-blueocean-log-url"

	// BuildJenkinsBuildURIAnnotation is an annotation holding a link to the Jenkins build
	BuildJenkinsBuildURIAnnotation = "openshift.io/jenkins-build-uri"

	// BuildSourceSecretMatchURIAnnotationPrefix is a prefix for annotations on a Secret which indicate a source URI against which the Secret can be used
	BuildSourceSecretMatchURIAnnotationPrefix = "build.openshift.io/source-secret-match-uri-"

	// BuildConfigPausedAnnotation is an annotation that marks a BuildConfig as paused.
	// New Builds cannot be instantiated from a paused BuildConfig.
	BuildConfigPausedAnnotation = "openshift.io/build-config.paused"
)

annotations

View Source
const (
	// BuildConfigLabel is the key of a Build label whose value is the ID of a BuildConfig
	// on which the Build is based. NOTE: The value for this label may not contain the entire
	// BuildConfig name because it will be truncated to maximum label length.
	BuildConfigLabel = "openshift.io/build-config.name"

	// BuildLabel is the key of a Pod label whose value is the Name of a Build which is run.
	// NOTE: The value for this label may not contain the entire Build name because it will be
	// truncated to maximum label length.
	BuildLabel = "openshift.io/build.name"

	// BuildRunPolicyLabel represents the start policy used to start the build.
	BuildRunPolicyLabel = "openshift.io/build.start-policy"

	// BuildConfigLabelDeprecated was used as BuildConfigLabel before adding namespaces.
	// We keep it for backward compatibility.
	BuildConfigLabelDeprecated = "buildconfig"
)

labels

View Source
const (

	// CustomBuildStrategyBaseImageKey is the environment variable that indicates the base image to be used when
	// performing a custom build, if needed.
	CustomBuildStrategyBaseImageKey = "OPENSHIFT_CUSTOM_BUILD_BASE_IMAGE"

	// AllowedUIDs is an environment variable that contains ranges of UIDs that are allowed in
	// Source builder images
	AllowedUIDs = "ALLOWED_UIDS"
	// DropCapabilities is an environment variable that contains a list of capabilities to drop when
	// executing a Source build
	DropCapabilities = "DROP_CAPS"
)

env vars

View Source
const (
	// WebHookSecretKey is the key used to identify the value containing the webhook invocation
	// secret within a secret referenced by a webhook trigger.
	WebHookSecretKey = "WebHookSecretKey"

	// RegistryConfKey is the ConfigMap key for the build pod's registry configuration file.
	RegistryConfKey = "registries.conf"

	// SignaturePolicyKey is the ConfigMap key for the build pod's image signature policy file.
	SignaturePolicyKey = "policy.json"

	// ServiceCAKey is the ConfigMap key for the service signing certificate authority mounted into build pods.
	ServiceCAKey = "service-ca.crt"
)

keys inside of secrets and configmaps

Variables

View Source
var (
	ErrInvalidLengthGenerated        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenerated          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenerated = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	GroupName    = "build.openshift.io"
	GroupVersion = schema.GroupVersion{Group: GroupName, Version: "v1"}

	// Install is a function which adds this version to a scheme
	Install = schemeBuilder.AddToScheme

	// SchemeGroupVersion generated code relies on this name
	// Deprecated
	SchemeGroupVersion = GroupVersion
	// AddToScheme exists solely to keep the old generators creating valid code
	// DEPRECATED
	AddToScheme = schemeBuilder.AddToScheme
)
View Source
var (
	DeprecatedInstallWithoutGroup = legacySchemeBuilder.AddToScheme
)
View Source
var WhitelistEnvVarNames = []string{"BUILD_LOGLEVEL", "GIT_SSL_NO_VERIFY", "HTTP_PROXY", "HTTPS_PROXY", "LANG", "NO_PROXY"}

env vars WhitelistEnvVarNames is a list of special env vars allows s2i containers

Functions

func Resource

func Resource(resource string) schema.GroupResource

Resource generated code relies on this being here, but it logically belongs to the group DEPRECATED

Types

type BinaryBuildRequestOptions

type BinaryBuildRequestOptions struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.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

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*BinaryBuildRequestOptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BinaryBuildRequestOptions.

func (*BinaryBuildRequestOptions) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BinaryBuildRequestOptions) DeepCopyObject

func (in *BinaryBuildRequestOptions) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BinaryBuildRequestOptions) Descriptor

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

func (*BinaryBuildRequestOptions) Marshal

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

func (*BinaryBuildRequestOptions) MarshalTo

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

func (*BinaryBuildRequestOptions) MarshalToSizedBuffer

func (m *BinaryBuildRequestOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BinaryBuildRequestOptions) ProtoMessage

func (*BinaryBuildRequestOptions) ProtoMessage()

func (*BinaryBuildRequestOptions) Reset

func (m *BinaryBuildRequestOptions) Reset()

func (*BinaryBuildRequestOptions) Size

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

func (*BinaryBuildRequestOptions) String

func (this *BinaryBuildRequestOptions) String() string

func (BinaryBuildRequestOptions) SwaggerDoc

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

func (*BinaryBuildRequestOptions) Unmarshal

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

func (*BinaryBuildRequestOptions) XXX_DiscardUnknown

func (m *BinaryBuildRequestOptions) XXX_DiscardUnknown()

func (*BinaryBuildRequestOptions) XXX_Marshal

func (m *BinaryBuildRequestOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BinaryBuildRequestOptions) XXX_Merge

func (m *BinaryBuildRequestOptions) XXX_Merge(src proto.Message)

func (*BinaryBuildRequestOptions) XXX_Size

func (m *BinaryBuildRequestOptions) XXX_Size() int

func (*BinaryBuildRequestOptions) XXX_Unmarshal

func (m *BinaryBuildRequestOptions) XXX_Unmarshal(b []byte) error

type BinaryBuildSource

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) DeepCopy

func (in *BinaryBuildSource) DeepCopy() *BinaryBuildSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BinaryBuildSource.

func (*BinaryBuildSource) DeepCopyInto

func (in *BinaryBuildSource) DeepCopyInto(out *BinaryBuildSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BinaryBuildSource) Descriptor

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

func (*BinaryBuildSource) Marshal

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

func (*BinaryBuildSource) MarshalTo

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

func (*BinaryBuildSource) MarshalToSizedBuffer

func (m *BinaryBuildSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BinaryBuildSource) ProtoMessage

func (*BinaryBuildSource) ProtoMessage()

func (*BinaryBuildSource) Reset

func (m *BinaryBuildSource) Reset()

func (*BinaryBuildSource) Size

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

func (*BinaryBuildSource) String

func (this *BinaryBuildSource) String() string

func (BinaryBuildSource) SwaggerDoc

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

func (*BinaryBuildSource) Unmarshal

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

func (*BinaryBuildSource) XXX_DiscardUnknown

func (m *BinaryBuildSource) XXX_DiscardUnknown()

func (*BinaryBuildSource) XXX_Marshal

func (m *BinaryBuildSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BinaryBuildSource) XXX_Merge

func (m *BinaryBuildSource) XXX_Merge(src proto.Message)

func (*BinaryBuildSource) XXX_Size

func (m *BinaryBuildSource) XXX_Size() int

func (*BinaryBuildSource) XXX_Unmarshal

func (m *BinaryBuildSource) XXX_Unmarshal(b []byte) error

type BitbucketWebHookCause

type BitbucketWebHookCause struct {
	CommonWebHookCause `json:",inline" protobuf:"bytes,1,opt,name=commonSpec"`
}

BitbucketWebHookCause has information about a Bitbucket webhook that triggered a build.

func (*BitbucketWebHookCause) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BitbucketWebHookCause.

func (*BitbucketWebHookCause) DeepCopyInto

func (in *BitbucketWebHookCause) DeepCopyInto(out *BitbucketWebHookCause)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BitbucketWebHookCause) Descriptor

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

func (*BitbucketWebHookCause) Marshal

func (m *BitbucketWebHookCause) Marshal() (dAtA []byte, err error)

func (*BitbucketWebHookCause) MarshalTo

func (m *BitbucketWebHookCause) MarshalTo(dAtA []byte) (int, error)

func (*BitbucketWebHookCause) MarshalToSizedBuffer

func (m *BitbucketWebHookCause) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BitbucketWebHookCause) ProtoMessage

func (*BitbucketWebHookCause) ProtoMessage()

func (*BitbucketWebHookCause) Reset

func (m *BitbucketWebHookCause) Reset()

func (*BitbucketWebHookCause) Size

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

func (*BitbucketWebHookCause) String

func (this *BitbucketWebHookCause) String() string

func (BitbucketWebHookCause) SwaggerDoc

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

func (*BitbucketWebHookCause) Unmarshal

func (m *BitbucketWebHookCause) Unmarshal(dAtA []byte) error

func (*BitbucketWebHookCause) XXX_DiscardUnknown

func (m *BitbucketWebHookCause) XXX_DiscardUnknown()

func (*BitbucketWebHookCause) XXX_Marshal

func (m *BitbucketWebHookCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BitbucketWebHookCause) XXX_Merge

func (m *BitbucketWebHookCause) XXX_Merge(src proto.Message)

func (*BitbucketWebHookCause) XXX_Size

func (m *BitbucketWebHookCause) XXX_Size() int

func (*BitbucketWebHookCause) XXX_Unmarshal

func (m *BitbucketWebHookCause) XXX_Unmarshal(b []byte) error

type Build

type Build struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.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.
	// +optional
	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.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*Build) DeepCopy

func (in *Build) DeepCopy() *Build

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Build.

func (*Build) DeepCopyInto

func (in *Build) DeepCopyInto(out *Build)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*Build) DeepCopyObject

func (in *Build) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*Build) Descriptor

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

func (*Build) Marshal

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

func (*Build) MarshalTo

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

func (*Build) MarshalToSizedBuffer

func (m *Build) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Build) ProtoMessage

func (*Build) ProtoMessage()

func (*Build) Reset

func (m *Build) Reset()

func (*Build) Size

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

func (*Build) String

func (this *Build) String() string

func (Build) SwaggerDoc

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

func (*Build) Unmarshal

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

func (*Build) XXX_DiscardUnknown

func (m *Build) XXX_DiscardUnknown()

func (*Build) XXX_Marshal

func (m *Build) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Build) XXX_Merge

func (m *Build) XXX_Merge(src proto.Message)

func (*Build) XXX_Size

func (m *Build) XXX_Size() int

func (*Build) XXX_Unmarshal

func (m *Build) XXX_Unmarshal(b []byte) error

type BuildCondition

type BuildCondition struct {
	// Type of build condition.
	Type BuildConditionType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=BuildConditionType"`
	// Status of the condition, one of True, False, Unknown.
	Status corev1.ConditionStatus `json:"status" protobuf:"bytes,2,opt,name=status,casttype=k8s.io/kubernetes/pkg/api/v1.ConditionStatus"`
	// The last time this condition was updated.
	LastUpdateTime metav1.Time `json:"lastUpdateTime,omitempty" protobuf:"bytes,6,opt,name=lastUpdateTime"`
	// The last time the condition transitioned from one status to another.
	LastTransitionTime metav1.Time `json:"lastTransitionTime,omitempty" protobuf:"bytes,3,opt,name=lastTransitionTime"`
	// The reason for the condition's last transition.
	Reason string `json:"reason,omitempty" protobuf:"bytes,4,opt,name=reason"`
	// A human readable message indicating details about the transition.
	Message string `json:"message,omitempty" protobuf:"bytes,5,opt,name=message"`
}

BuildCondition describes the state of a build at a certain point.

func (*BuildCondition) DeepCopy

func (in *BuildCondition) DeepCopy() *BuildCondition

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildCondition.

func (*BuildCondition) DeepCopyInto

func (in *BuildCondition) DeepCopyInto(out *BuildCondition)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildCondition) Descriptor

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

func (*BuildCondition) Marshal

func (m *BuildCondition) Marshal() (dAtA []byte, err error)

func (*BuildCondition) MarshalTo

func (m *BuildCondition) MarshalTo(dAtA []byte) (int, error)

func (*BuildCondition) MarshalToSizedBuffer

func (m *BuildCondition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildCondition) ProtoMessage

func (*BuildCondition) ProtoMessage()

func (*BuildCondition) Reset

func (m *BuildCondition) Reset()

func (*BuildCondition) Size

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

func (*BuildCondition) String

func (this *BuildCondition) String() string

func (BuildCondition) SwaggerDoc

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

func (*BuildCondition) Unmarshal

func (m *BuildCondition) Unmarshal(dAtA []byte) error

func (*BuildCondition) XXX_DiscardUnknown

func (m *BuildCondition) XXX_DiscardUnknown()

func (*BuildCondition) XXX_Marshal

func (m *BuildCondition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildCondition) XXX_Merge

func (m *BuildCondition) XXX_Merge(src proto.Message)

func (*BuildCondition) XXX_Size

func (m *BuildCondition) XXX_Size() int

func (*BuildCondition) XXX_Unmarshal

func (m *BuildCondition) XXX_Unmarshal(b []byte) error

type BuildConditionType

type BuildConditionType string

type BuildConfig

type BuildConfig struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.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
	// +optional
	Status BuildConfigStatus `json:"status" protobuf:"bytes,3,opt,name=status"`
}

Build configurations define a build process for new container images. There are three types of builds possible - a container image 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 container images as a base and accept the build parameters. Builds run on the cluster and on completion are pushed to the container image 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.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*BuildConfig) DeepCopy

func (in *BuildConfig) DeepCopy() *BuildConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfig.

func (*BuildConfig) DeepCopyInto

func (in *BuildConfig) DeepCopyInto(out *BuildConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildConfig) DeepCopyObject

func (in *BuildConfig) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BuildConfig) Descriptor

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

func (*BuildConfig) Marshal

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

func (*BuildConfig) MarshalTo

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

func (*BuildConfig) MarshalToSizedBuffer

func (m *BuildConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildConfig) ProtoMessage

func (*BuildConfig) ProtoMessage()

func (*BuildConfig) Reset

func (m *BuildConfig) Reset()

func (*BuildConfig) Size

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

func (*BuildConfig) String

func (this *BuildConfig) String() string

func (BuildConfig) SwaggerDoc

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

func (*BuildConfig) Unmarshal

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

func (*BuildConfig) XXX_DiscardUnknown

func (m *BuildConfig) XXX_DiscardUnknown()

func (*BuildConfig) XXX_Marshal

func (m *BuildConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildConfig) XXX_Merge

func (m *BuildConfig) XXX_Merge(src proto.Message)

func (*BuildConfig) XXX_Size

func (m *BuildConfig) XXX_Size() int

func (*BuildConfig) XXX_Unmarshal

func (m *BuildConfig) XXX_Unmarshal(b []byte) error

type BuildConfigList

type BuildConfigList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.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.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*BuildConfigList) DeepCopy

func (in *BuildConfigList) DeepCopy() *BuildConfigList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfigList.

func (*BuildConfigList) DeepCopyInto

func (in *BuildConfigList) DeepCopyInto(out *BuildConfigList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildConfigList) DeepCopyObject

func (in *BuildConfigList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BuildConfigList) Descriptor

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

func (*BuildConfigList) Marshal

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

func (*BuildConfigList) MarshalTo

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

func (*BuildConfigList) MarshalToSizedBuffer

func (m *BuildConfigList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildConfigList) ProtoMessage

func (*BuildConfigList) ProtoMessage()

func (*BuildConfigList) Reset

func (m *BuildConfigList) Reset()

func (*BuildConfigList) Size

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

func (*BuildConfigList) String

func (this *BuildConfigList) String() string

func (BuildConfigList) SwaggerDoc

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

func (*BuildConfigList) Unmarshal

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

func (*BuildConfigList) XXX_DiscardUnknown

func (m *BuildConfigList) XXX_DiscardUnknown()

func (*BuildConfigList) XXX_Marshal

func (m *BuildConfigList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildConfigList) XXX_Merge

func (m *BuildConfigList) XXX_Merge(src proto.Message)

func (*BuildConfigList) XXX_Size

func (m *BuildConfigList) XXX_Size() int

func (*BuildConfigList) XXX_Unmarshal

func (m *BuildConfigList) XXX_Unmarshal(b []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.
	// +optional
	Triggers []BuildTriggerPolicy `json:"triggers,omitempty" 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"`

	// successfulBuildsHistoryLimit is the number of old successful builds to retain.
	// When a BuildConfig is created, the 5 most recent successful builds are retained unless this value is set.
	// If removed after the BuildConfig has been created, all successful builds are retained.
	SuccessfulBuildsHistoryLimit *int32 `json:"successfulBuildsHistoryLimit,omitempty" protobuf:"varint,4,opt,name=successfulBuildsHistoryLimit"`

	// failedBuildsHistoryLimit is the number of old failed builds to retain.
	// When a BuildConfig is created, the 5 most recent failed builds are retained unless this value is set.
	// If removed after the BuildConfig has been created, all failed builds are retained.
	FailedBuildsHistoryLimit *int32 `json:"failedBuildsHistoryLimit,omitempty" protobuf:"varint,5,opt,name=failedBuildsHistoryLimit"`
}

BuildConfigSpec describes when and how builds are created

func (*BuildConfigSpec) DeepCopy

func (in *BuildConfigSpec) DeepCopy() *BuildConfigSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfigSpec.

func (*BuildConfigSpec) DeepCopyInto

func (in *BuildConfigSpec) DeepCopyInto(out *BuildConfigSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildConfigSpec) Descriptor

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

func (*BuildConfigSpec) Marshal

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

func (*BuildConfigSpec) MarshalTo

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

func (*BuildConfigSpec) MarshalToSizedBuffer

func (m *BuildConfigSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildConfigSpec) ProtoMessage

func (*BuildConfigSpec) ProtoMessage()

func (*BuildConfigSpec) Reset

func (m *BuildConfigSpec) Reset()

func (*BuildConfigSpec) Size

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

func (*BuildConfigSpec) String

func (this *BuildConfigSpec) String() string

func (BuildConfigSpec) SwaggerDoc

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

func (*BuildConfigSpec) Unmarshal

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

func (*BuildConfigSpec) XXX_DiscardUnknown

func (m *BuildConfigSpec) XXX_DiscardUnknown()

func (*BuildConfigSpec) XXX_Marshal

func (m *BuildConfigSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildConfigSpec) XXX_Merge

func (m *BuildConfigSpec) XXX_Merge(src proto.Message)

func (*BuildConfigSpec) XXX_Size

func (m *BuildConfigSpec) XXX_Size() int

func (*BuildConfigSpec) XXX_Unmarshal

func (m *BuildConfigSpec) XXX_Unmarshal(b []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"`

	// ImageChangeTriggers captures the runtime state of any ImageChangeTrigger specified in the BuildConfigSpec,
	// including the value reconciled by the OpenShift APIServer for the lastTriggeredImageID. There is a single entry
	// in this array for each image change trigger in spec. Each trigger status references the ImageStreamTag that acts as the source of the trigger.
	ImageChangeTriggers []ImageChangeTriggerStatus `json:"imageChangeTriggers,omitempty" protobuf:"bytes,2,rep,name=imageChangeTriggers"`
}

BuildConfigStatus contains current state of the build config object.

func (*BuildConfigStatus) DeepCopy

func (in *BuildConfigStatus) DeepCopy() *BuildConfigStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildConfigStatus.

func (*BuildConfigStatus) DeepCopyInto

func (in *BuildConfigStatus) DeepCopyInto(out *BuildConfigStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildConfigStatus) Descriptor

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

func (*BuildConfigStatus) Marshal

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

func (*BuildConfigStatus) MarshalTo

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

func (*BuildConfigStatus) MarshalToSizedBuffer

func (m *BuildConfigStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildConfigStatus) ProtoMessage

func (*BuildConfigStatus) ProtoMessage()

func (*BuildConfigStatus) Reset

func (m *BuildConfigStatus) Reset()

func (*BuildConfigStatus) Size

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

func (*BuildConfigStatus) String

func (this *BuildConfigStatus) String() string

func (BuildConfigStatus) SwaggerDoc

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

func (*BuildConfigStatus) Unmarshal

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

func (*BuildConfigStatus) XXX_DiscardUnknown

func (m *BuildConfigStatus) XXX_DiscardUnknown()

func (*BuildConfigStatus) XXX_Marshal

func (m *BuildConfigStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildConfigStatus) XXX_Merge

func (m *BuildConfigStatus) XXX_Merge(src proto.Message)

func (*BuildConfigStatus) XXX_Size

func (m *BuildConfigStatus) XXX_Size() int

func (*BuildConfigStatus) XXX_Unmarshal

func (m *BuildConfigStatus) XXX_Unmarshal(b []byte) error

type BuildList

type BuildList struct {
	metav1.TypeMeta `json:",inline"`
	metav1.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.

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*BuildList) DeepCopy

func (in *BuildList) DeepCopy() *BuildList

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildList.

func (*BuildList) DeepCopyInto

func (in *BuildList) DeepCopyInto(out *BuildList)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildList) DeepCopyObject

func (in *BuildList) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BuildList) Descriptor

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

func (*BuildList) Marshal

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

func (*BuildList) MarshalTo

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

func (*BuildList) MarshalToSizedBuffer

func (m *BuildList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildList) ProtoMessage

func (*BuildList) ProtoMessage()

func (*BuildList) Reset

func (m *BuildList) Reset()

func (*BuildList) Size

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

func (*BuildList) String

func (this *BuildList) String() string

func (BuildList) SwaggerDoc

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

func (*BuildList) Unmarshal

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

func (*BuildList) XXX_DiscardUnknown

func (m *BuildList) XXX_DiscardUnknown()

func (*BuildList) XXX_Marshal

func (m *BuildList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildList) XXX_Merge

func (m *BuildList) XXX_Merge(src proto.Message)

func (*BuildList) XXX_Size

func (m *BuildList) XXX_Size() int

func (*BuildList) XXX_Unmarshal

func (m *BuildList) XXX_Unmarshal(b []byte) error

type BuildLog

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

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

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*BuildLog) DeepCopy

func (in *BuildLog) DeepCopy() *BuildLog

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildLog.

func (*BuildLog) DeepCopyInto

func (in *BuildLog) DeepCopyInto(out *BuildLog)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildLog) DeepCopyObject

func (in *BuildLog) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BuildLog) Descriptor

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

func (*BuildLog) Marshal

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

func (*BuildLog) MarshalTo

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

func (*BuildLog) MarshalToSizedBuffer

func (m *BuildLog) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildLog) ProtoMessage

func (*BuildLog) ProtoMessage()

func (*BuildLog) Reset

func (m *BuildLog) Reset()

func (*BuildLog) Size

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

func (*BuildLog) String

func (this *BuildLog) String() string

func (BuildLog) SwaggerDoc

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

func (*BuildLog) Unmarshal

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

func (*BuildLog) XXX_DiscardUnknown

func (m *BuildLog) XXX_DiscardUnknown()

func (*BuildLog) XXX_Marshal

func (m *BuildLog) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildLog) XXX_Merge

func (m *BuildLog) XXX_Merge(src proto.Message)

func (*BuildLog) XXX_Size

func (m *BuildLog) XXX_Size() int

func (*BuildLog) XXX_Unmarshal

func (m *BuildLog) XXX_Unmarshal(b []byte) error

type BuildLogOptions

type BuildLogOptions struct {
	metav1.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 *metav1.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"`

	// insecureSkipTLSVerifyBackend indicates that the apiserver should not confirm the validity of the
	// serving certificate of the backend it is connecting to.  This will make the HTTPS connection between the apiserver
	// and the backend insecure. This means the apiserver cannot verify the log data it is receiving came from the real
	// kubelet.  If the kubelet is configured to verify the apiserver's TLS credentials, it does not mean the
	// connection to the real kubelet is vulnerable to a man in the middle attack (e.g. an attacker could not intercept
	// the actual log data coming from the real kubelet).
	// +optional
	InsecureSkipTLSVerifyBackend bool `json:"insecureSkipTLSVerifyBackend,omitempty" protobuf:"varint,11,opt,name=insecureSkipTLSVerifyBackend"`
}

BuildLogOptions is the REST options for a build log

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*BuildLogOptions) DeepCopy

func (in *BuildLogOptions) DeepCopy() *BuildLogOptions

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildLogOptions.

func (*BuildLogOptions) DeepCopyInto

func (in *BuildLogOptions) DeepCopyInto(out *BuildLogOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildLogOptions) DeepCopyObject

func (in *BuildLogOptions) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BuildLogOptions) Descriptor

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

func (*BuildLogOptions) Marshal

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

func (*BuildLogOptions) MarshalTo

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

func (*BuildLogOptions) MarshalToSizedBuffer

func (m *BuildLogOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildLogOptions) ProtoMessage

func (*BuildLogOptions) ProtoMessage()

func (*BuildLogOptions) Reset

func (m *BuildLogOptions) Reset()

func (*BuildLogOptions) Size

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

func (*BuildLogOptions) String

func (this *BuildLogOptions) String() string

func (BuildLogOptions) SwaggerDoc

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

func (*BuildLogOptions) Unmarshal

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

func (*BuildLogOptions) XXX_DiscardUnknown

func (m *BuildLogOptions) XXX_DiscardUnknown()

func (*BuildLogOptions) XXX_Marshal

func (m *BuildLogOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildLogOptions) XXX_Merge

func (m *BuildLogOptions) XXX_Merge(src proto.Message)

func (*BuildLogOptions) XXX_Size

func (m *BuildLogOptions) XXX_Size() int

func (*BuildLogOptions) XXX_Unmarshal

func (m *BuildLogOptions) XXX_Unmarshal(b []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 container 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 *corev1.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 *corev1.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 container image that the strategy should produce.

func (*BuildOutput) DeepCopy

func (in *BuildOutput) DeepCopy() *BuildOutput

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildOutput.

func (*BuildOutput) DeepCopyInto

func (in *BuildOutput) DeepCopyInto(out *BuildOutput)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildOutput) Descriptor

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

func (*BuildOutput) Marshal

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

func (*BuildOutput) MarshalTo

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

func (*BuildOutput) MarshalToSizedBuffer

func (m *BuildOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildOutput) ProtoMessage

func (*BuildOutput) ProtoMessage()

func (*BuildOutput) Reset

func (m *BuildOutput) Reset()

func (*BuildOutput) Size

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

func (*BuildOutput) String

func (this *BuildOutput) String() string

func (BuildOutput) SwaggerDoc

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

func (*BuildOutput) Unmarshal

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

func (*BuildOutput) XXX_DiscardUnknown

func (m *BuildOutput) XXX_DiscardUnknown()

func (*BuildOutput) XXX_Marshal

func (m *BuildOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildOutput) XXX_Merge

func (m *BuildOutput) XXX_Merge(src proto.Message)

func (*BuildOutput) XXX_Size

func (m *BuildOutput) XXX_Size() int

func (*BuildOutput) XXX_Unmarshal

func (m *BuildOutput) XXX_Unmarshal(b []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

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 container 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) DeepCopy

func (in *BuildPostCommitSpec) DeepCopy() *BuildPostCommitSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildPostCommitSpec.

func (*BuildPostCommitSpec) DeepCopyInto

func (in *BuildPostCommitSpec) DeepCopyInto(out *BuildPostCommitSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildPostCommitSpec) Descriptor

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

func (*BuildPostCommitSpec) Marshal

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

func (*BuildPostCommitSpec) MarshalTo

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

func (*BuildPostCommitSpec) MarshalToSizedBuffer

func (m *BuildPostCommitSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildPostCommitSpec) ProtoMessage

func (*BuildPostCommitSpec) ProtoMessage()

func (*BuildPostCommitSpec) Reset

func (m *BuildPostCommitSpec) Reset()

func (*BuildPostCommitSpec) Size

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

func (*BuildPostCommitSpec) String

func (this *BuildPostCommitSpec) String() string

func (BuildPostCommitSpec) SwaggerDoc

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

func (*BuildPostCommitSpec) Unmarshal

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

func (*BuildPostCommitSpec) XXX_DiscardUnknown

func (m *BuildPostCommitSpec) XXX_DiscardUnknown()

func (*BuildPostCommitSpec) XXX_Marshal

func (m *BuildPostCommitSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildPostCommitSpec) XXX_Merge

func (m *BuildPostCommitSpec) XXX_Merge(src proto.Message)

func (*BuildPostCommitSpec) XXX_Size

func (m *BuildPostCommitSpec) XXX_Size() int

func (*BuildPostCommitSpec) XXX_Unmarshal

func (m *BuildPostCommitSpec) XXX_Unmarshal(b []byte) error

type BuildRequest

type BuildRequest struct {
	metav1.TypeMeta   `json:",inline"`
	metav1.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 *corev1.ObjectReference `json:"triggeredByImage,omitempty" protobuf:"bytes,3,opt,name=triggeredByImage"`

	// from is the reference to the ImageStreamTag that triggered the build.
	From *corev1.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 []corev1.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,omitempty" protobuf:"bytes,8,rep,name=triggeredBy"`

	// DockerStrategyOptions contains additional docker-strategy specific options for the build
	DockerStrategyOptions *DockerStrategyOptions `json:"dockerStrategyOptions,omitempty" protobuf:"bytes,9,opt,name=dockerStrategyOptions"`

	// SourceStrategyOptions contains additional source-strategy specific options for the build
	SourceStrategyOptions *SourceStrategyOptions `json:"sourceStrategyOptions,omitempty" protobuf:"bytes,10,opt,name=sourceStrategyOptions"`
}

BuildRequest is the resource used to pass parameters to build generator

Compatibility level 1: Stable within a major release for a minimum of 12 months or 3 minor releases (whichever is longer). +openshift:compatibility-gen:level=1

func (*BuildRequest) DeepCopy

func (in *BuildRequest) DeepCopy() *BuildRequest

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildRequest.

func (*BuildRequest) DeepCopyInto

func (in *BuildRequest) DeepCopyInto(out *BuildRequest)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildRequest) DeepCopyObject

func (in *BuildRequest) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

func (*BuildRequest) Descriptor

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

func (*BuildRequest) Marshal

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

func (*BuildRequest) MarshalTo

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

func (*BuildRequest) MarshalToSizedBuffer

func (m *BuildRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildRequest) ProtoMessage

func (*BuildRequest) ProtoMessage()

func (*BuildRequest) Reset

func (m *BuildRequest) Reset()

func (*BuildRequest) Size

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

func (*BuildRequest) String

func (this *BuildRequest) String() string

func (BuildRequest) SwaggerDoc

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

func (*BuildRequest) Unmarshal

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

func (*BuildRequest) XXX_DiscardUnknown

func (m *BuildRequest) XXX_DiscardUnknown()

func (*BuildRequest) XXX_Marshal

func (m *BuildRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildRequest) XXX_Merge

func (m *BuildRequest) XXX_Merge(src proto.Message)

func (*BuildRequest) XXX_Size

func (m *BuildRequest) XXX_Size() int

func (*BuildRequest) XXX_Unmarshal

func (m *BuildRequest) XXX_Unmarshal(b []byte) error

type BuildRunPolicy

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
	// +optional
	Type BuildSourceType `json:"type,omitempty" 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 container image 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 container image 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 *corev1.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"`

	// configMaps represents a list of configMaps and their destinations that will
	// be used for the build.
	ConfigMaps []ConfigMapBuildSource `json:"configMaps,omitempty" protobuf:"bytes,9,rep,name=configMaps"`
}

BuildSource is the SCM used for the build.

func (*BuildSource) DeepCopy

func (in *BuildSource) DeepCopy() *BuildSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSource.

func (*BuildSource) DeepCopyInto

func (in *BuildSource) DeepCopyInto(out *BuildSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildSource) Descriptor

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

func (*BuildSource) Marshal

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

func (*BuildSource) MarshalTo

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

func (*BuildSource) MarshalToSizedBuffer

func (m *BuildSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildSource) ProtoMessage

func (*BuildSource) ProtoMessage()

func (*BuildSource) Reset

func (m *BuildSource) Reset()

func (*BuildSource) Size

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

func (*BuildSource) String

func (this *BuildSource) String() string

func (BuildSource) SwaggerDoc

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

func (*BuildSource) Unmarshal

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

func (*BuildSource) XXX_DiscardUnknown

func (m *BuildSource) XXX_DiscardUnknown()

func (*BuildSource) XXX_Marshal

func (m *BuildSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildSource) XXX_Merge

func (m *BuildSource) XXX_Merge(src proto.Message)

func (*BuildSource) XXX_Size

func (m *BuildSource) XXX_Size() int

func (*BuildSource) XXX_Unmarshal

func (m *BuildSource) XXX_Unmarshal(b []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,omitempty" protobuf:"bytes,2,rep,name=triggeredBy"`
}

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

func (*BuildSpec) DeepCopy

func (in *BuildSpec) DeepCopy() *BuildSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildSpec.

func (*BuildSpec) DeepCopyInto

func (in *BuildSpec) DeepCopyInto(out *BuildSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildSpec) Descriptor

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

func (*BuildSpec) Marshal

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

func (*BuildSpec) MarshalTo

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

func (*BuildSpec) MarshalToSizedBuffer

func (m *BuildSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildSpec) ProtoMessage

func (*BuildSpec) ProtoMessage()

func (*BuildSpec) Reset

func (m *BuildSpec) Reset()

func (*BuildSpec) Size

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

func (*BuildSpec) String

func (this *BuildSpec) String() string

func (BuildSpec) SwaggerDoc

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

func (*BuildSpec) Unmarshal

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

func (*BuildSpec) XXX_DiscardUnknown

func (m *BuildSpec) XXX_DiscardUnknown()

func (*BuildSpec) XXX_Marshal

func (m *BuildSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildSpec) XXX_Merge

func (m *BuildSpec) XXX_Merge(src proto.Message)

func (*BuildSpec) XXX_Size

func (m *BuildSpec) XXX_Size() int

func (*BuildSpec) XXX_Unmarshal

func (m *BuildSpec) XXX_Unmarshal(b []byte) error

type BuildStatus

type BuildStatus struct {
	// phase is the point in the build lifecycle. Possible values are
	// "New", "Pending", "Running", "Complete", "Failed", "Error", and "Cancelled".
	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 *metav1.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 *metav1.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 container 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 *corev1.ObjectReference `json:"config,omitempty" protobuf:"bytes,9,opt,name=config"`

	// output describes the container image the build has produced.
	Output BuildStatusOutput `json:"output,omitempty" protobuf:"bytes,10,opt,name=output"`

	// stages contains details about each stage that occurs during the build
	// including start time, duration (in milliseconds), and the steps that
	// occured within each stage.
	Stages []StageInfo `json:"stages,omitempty" protobuf:"bytes,11,opt,name=stages"`

	// logSnippet is the last few lines of the build log.  This value is only set for builds that failed.
	LogSnippet string `json:"logSnippet,omitempty" protobuf:"bytes,12,opt,name=logSnippet"`

	// Conditions represents the latest available observations of a build's current state.
	// +patchMergeKey=type
	// +patchStrategy=merge
	Conditions []BuildCondition `json:"conditions,omitempty" patchStrategy:"merge" patchMergeKey:"type" protobuf:"bytes,13,rep,name=conditions"`
}

BuildStatus contains the status of a build

func (*BuildStatus) DeepCopy

func (in *BuildStatus) DeepCopy() *BuildStatus

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatus.

func (*BuildStatus) DeepCopyInto

func (in *BuildStatus) DeepCopyInto(out *BuildStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildStatus) Descriptor

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

func (*BuildStatus) Marshal

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

func (*BuildStatus) MarshalTo

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

func (*BuildStatus) MarshalToSizedBuffer

func (m *BuildStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildStatus) ProtoMessage

func (*BuildStatus) ProtoMessage()

func (*BuildStatus) Reset

func (m *BuildStatus) Reset()

func (*BuildStatus) Size

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

func (*BuildStatus) String

func (this *BuildStatus) String() string

func (BuildStatus) SwaggerDoc

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

func (*BuildStatus) Unmarshal

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

func (*BuildStatus) XXX_DiscardUnknown

func (m *BuildStatus) XXX_DiscardUnknown()

func (*BuildStatus) XXX_Marshal

func (m *BuildStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildStatus) XXX_Merge

func (m *BuildStatus) XXX_Merge(src proto.Message)

func (*BuildStatus) XXX_Size

func (m *BuildStatus) XXX_Size() int

func (*BuildStatus) XXX_Unmarshal

func (m *BuildStatus) XXX_Unmarshal(b []byte) error

type BuildStatusOutput

type BuildStatusOutput struct {
	// to describes the status of the built image being pushed to a registry.
	To *BuildStatusOutputTo `json:"to,omitempty" protobuf:"bytes,1,opt,name=to"`
}

BuildStatusOutput contains the status of the built image.

func (*BuildStatusOutput) DeepCopy

func (in *BuildStatusOutput) DeepCopy() *BuildStatusOutput

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatusOutput.

func (*BuildStatusOutput) DeepCopyInto

func (in *BuildStatusOutput) DeepCopyInto(out *BuildStatusOutput)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildStatusOutput) Descriptor

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

func (*BuildStatusOutput) Marshal

func (m *BuildStatusOutput) Marshal() (dAtA []byte, err error)

func (*BuildStatusOutput) MarshalTo

func (m *BuildStatusOutput) MarshalTo(dAtA []byte) (int, error)

func (*BuildStatusOutput) MarshalToSizedBuffer

func (m *BuildStatusOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildStatusOutput) ProtoMessage

func (*BuildStatusOutput) ProtoMessage()

func (*BuildStatusOutput) Reset

func (m *BuildStatusOutput) Reset()

func (*BuildStatusOutput) Size

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

func (*BuildStatusOutput) String

func (this *BuildStatusOutput) String() string

func (BuildStatusOutput) SwaggerDoc

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

func (*BuildStatusOutput) Unmarshal

func (m *BuildStatusOutput) Unmarshal(dAtA []byte) error

func (*BuildStatusOutput) XXX_DiscardUnknown

func (m *BuildStatusOutput) XXX_DiscardUnknown()

func (*BuildStatusOutput) XXX_Marshal

func (m *BuildStatusOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildStatusOutput) XXX_Merge

func (m *BuildStatusOutput) XXX_Merge(src proto.Message)

func (*BuildStatusOutput) XXX_Size

func (m *BuildStatusOutput) XXX_Size() int

func (*BuildStatusOutput) XXX_Unmarshal

func (m *BuildStatusOutput) XXX_Unmarshal(b []byte) error

type BuildStatusOutputTo

type BuildStatusOutputTo struct {
	// imageDigest is the digest of the built container image. The digest uniquely
	// identifies the image in the registry to which it was pushed.
	//
	// Please note that this field may not always be set even if the push
	// completes successfully - e.g. when the registry returns no digest or
	// returns it in a format that the builder doesn't understand.
	ImageDigest string `json:"imageDigest,omitempty" protobuf:"bytes,1,opt,name=imageDigest"`
}

BuildStatusOutputTo describes the status of the built image with regards to image registry to which it was supposed to be pushed.

func (*BuildStatusOutputTo) DeepCopy

func (in *BuildStatusOutputTo) DeepCopy() *BuildStatusOutputTo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStatusOutputTo.

func (*BuildStatusOutputTo) DeepCopyInto

func (in *BuildStatusOutputTo) DeepCopyInto(out *BuildStatusOutputTo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildStatusOutputTo) Descriptor

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

func (*BuildStatusOutputTo) Marshal

func (m *BuildStatusOutputTo) Marshal() (dAtA []byte, err error)

func (*BuildStatusOutputTo) MarshalTo

func (m *BuildStatusOutputTo) MarshalTo(dAtA []byte) (int, error)

func (*BuildStatusOutputTo) MarshalToSizedBuffer

func (m *BuildStatusOutputTo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildStatusOutputTo) ProtoMessage

func (*BuildStatusOutputTo) ProtoMessage()

func (*BuildStatusOutputTo) Reset

func (m *BuildStatusOutputTo) Reset()

func (*BuildStatusOutputTo) Size

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

func (*BuildStatusOutputTo) String

func (this *BuildStatusOutputTo) String() string

func (BuildStatusOutputTo) SwaggerDoc

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

func (*BuildStatusOutputTo) Unmarshal

func (m *BuildStatusOutputTo) Unmarshal(dAtA []byte) error

func (*BuildStatusOutputTo) XXX_DiscardUnknown

func (m *BuildStatusOutputTo) XXX_DiscardUnknown()

func (*BuildStatusOutputTo) XXX_Marshal

func (m *BuildStatusOutputTo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildStatusOutputTo) XXX_Merge

func (m *BuildStatusOutputTo) XXX_Merge(src proto.Message)

func (*BuildStatusOutputTo) XXX_Size

func (m *BuildStatusOutputTo) XXX_Size() int

func (*BuildStatusOutputTo) XXX_Unmarshal

func (m *BuildStatusOutputTo) XXX_Unmarshal(b []byte) error

type BuildStrategy

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

	// dockerStrategy holds the parameters to the container image 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.
	// Deprecated: use OpenShift Pipelines
	JenkinsPipelineStrategy *JenkinsPipelineBuildStrategy `json:"jenkinsPipelineStrategy,omitempty" protobuf:"bytes,5,opt,name=jenkinsPipelineStrategy"`
}

BuildStrategy contains the details of how to perform a build.

func (*BuildStrategy) DeepCopy

func (in *BuildStrategy) DeepCopy() *BuildStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildStrategy.

func (*BuildStrategy) DeepCopyInto

func (in *BuildStrategy) DeepCopyInto(out *BuildStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildStrategy) Descriptor

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

func (*BuildStrategy) Marshal

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

func (*BuildStrategy) MarshalTo

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

func (*BuildStrategy) MarshalToSizedBuffer

func (m *BuildStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildStrategy) ProtoMessage

func (*BuildStrategy) ProtoMessage()

func (*BuildStrategy) Reset

func (m *BuildStrategy) Reset()

func (*BuildStrategy) Size

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

func (*BuildStrategy) String

func (this *BuildStrategy) String() string

func (BuildStrategy) SwaggerDoc

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

func (*BuildStrategy) Unmarshal

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

func (*BuildStrategy) XXX_DiscardUnknown

func (m *BuildStrategy) XXX_DiscardUnknown()

func (*BuildStrategy) XXX_Marshal

func (m *BuildStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildStrategy) XXX_Merge

func (m *BuildStrategy) XXX_Merge(src proto.Message)

func (*BuildStrategy) XXX_Size

func (m *BuildStrategy) XXX_Size() int

func (*BuildStrategy) XXX_Unmarshal

func (m *BuildStrategy) XXX_Unmarshal(b []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 container image.
	CustomBuildStrategyType BuildStrategyType = "Custom"

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

Valid values for BuildStrategyType.

type BuildTriggerCause

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"`

	// GitLabWebHook represents data for a GitLab webhook that fired a specific
	// build.
	GitLabWebHook *GitLabWebHookCause `json:"gitlabWebHook,omitempty" protobuf:"bytes,5,opt,name=gitlabWebHook"`

	// BitbucketWebHook represents data for a Bitbucket webhook that fired a
	// specific build.
	BitbucketWebHook *BitbucketWebHookCause `json:"bitbucketWebHook,omitempty" protobuf:"bytes,6,opt,name=bitbucketWebHook"`
}

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) DeepCopy

func (in *BuildTriggerCause) DeepCopy() *BuildTriggerCause

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildTriggerCause.

func (*BuildTriggerCause) DeepCopyInto

func (in *BuildTriggerCause) DeepCopyInto(out *BuildTriggerCause)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildTriggerCause) Descriptor

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

func (*BuildTriggerCause) Marshal

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

func (*BuildTriggerCause) MarshalTo

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

func (*BuildTriggerCause) MarshalToSizedBuffer

func (m *BuildTriggerCause) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildTriggerCause) ProtoMessage

func (*BuildTriggerCause) ProtoMessage()

func (*BuildTriggerCause) Reset

func (m *BuildTriggerCause) Reset()

func (*BuildTriggerCause) Size

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

func (*BuildTriggerCause) String

func (this *BuildTriggerCause) String() string

func (BuildTriggerCause) SwaggerDoc

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

func (*BuildTriggerCause) Unmarshal

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

func (*BuildTriggerCause) XXX_DiscardUnknown

func (m *BuildTriggerCause) XXX_DiscardUnknown()

func (*BuildTriggerCause) XXX_Marshal

func (m *BuildTriggerCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildTriggerCause) XXX_Merge

func (m *BuildTriggerCause) XXX_Merge(src proto.Message)

func (*BuildTriggerCause) XXX_Size

func (m *BuildTriggerCause) XXX_Size() int

func (*BuildTriggerCause) XXX_Unmarshal

func (m *BuildTriggerCause) XXX_Unmarshal(b []byte) error

type BuildTriggerPolicy

type BuildTriggerPolicy struct {
	// type is the type of build trigger. Valid values:
	//
	// - GitHub
	// GitHubWebHookBuildTriggerType represents a trigger that launches builds on
	// GitHub webhook invocations
	//
	// - Generic
	// GenericWebHookBuildTriggerType represents a trigger that launches builds on
	// generic webhook invocations
	//
	// - GitLab
	// GitLabWebHookBuildTriggerType represents a trigger that launches builds on
	// GitLab webhook invocations
	//
	// - Bitbucket
	// BitbucketWebHookBuildTriggerType represents a trigger that launches builds on
	// Bitbucket webhook invocations
	//
	// - ImageChange
	// ImageChangeBuildTriggerType represents a trigger that launches builds on
	// availability of a new version of an image
	//
	// - ConfigChange
	// 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
	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"`

	// GitLabWebHook contains the parameters for a GitLab webhook type of trigger
	GitLabWebHook *WebHookTrigger `json:"gitlab,omitempty" protobuf:"bytes,5,opt,name=gitlab"`

	// BitbucketWebHook contains the parameters for a Bitbucket webhook type of
	// trigger
	BitbucketWebHook *WebHookTrigger `json:"bitbucket,omitempty" protobuf:"bytes,6,opt,name=bitbucket"`
}

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

func (*BuildTriggerPolicy) DeepCopy

func (in *BuildTriggerPolicy) DeepCopy() *BuildTriggerPolicy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildTriggerPolicy.

func (*BuildTriggerPolicy) DeepCopyInto

func (in *BuildTriggerPolicy) DeepCopyInto(out *BuildTriggerPolicy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildTriggerPolicy) Descriptor

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

func (*BuildTriggerPolicy) Marshal

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

func (*BuildTriggerPolicy) MarshalTo

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

func (*BuildTriggerPolicy) MarshalToSizedBuffer

func (m *BuildTriggerPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildTriggerPolicy) ProtoMessage

func (*BuildTriggerPolicy) ProtoMessage()

func (*BuildTriggerPolicy) Reset

func (m *BuildTriggerPolicy) Reset()

func (*BuildTriggerPolicy) Size

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

func (*BuildTriggerPolicy) String

func (this *BuildTriggerPolicy) String() string

func (BuildTriggerPolicy) SwaggerDoc

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

func (*BuildTriggerPolicy) Unmarshal

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

func (*BuildTriggerPolicy) XXX_DiscardUnknown

func (m *BuildTriggerPolicy) XXX_DiscardUnknown()

func (*BuildTriggerPolicy) XXX_Marshal

func (m *BuildTriggerPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildTriggerPolicy) XXX_Merge

func (m *BuildTriggerPolicy) XXX_Merge(src proto.Message)

func (*BuildTriggerPolicy) XXX_Size

func (m *BuildTriggerPolicy) XXX_Size() int

func (*BuildTriggerPolicy) XXX_Unmarshal

func (m *BuildTriggerPolicy) XXX_Unmarshal(b []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"

	// GitLabWebHookBuildTriggerType represents a trigger that launches builds on
	// GitLab webhook invocations
	GitLabWebHookBuildTriggerType BuildTriggerType = "GitLab"

	// BitbucketWebHookBuildTriggerType represents a trigger that launches builds on
	// Bitbucket webhook invocations
	BitbucketWebHookBuildTriggerType BuildTriggerType = "Bitbucket"

	// 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 BuildVolume

type BuildVolume struct {
	// name is a unique identifier for this BuildVolume.
	// It must conform to the Kubernetes DNS label standard and be unique within the pod.
	// Names that collide with those added by the build controller will result in a
	// failed build with an error message detailing which name caused the error.
	// More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
	// +required
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`

	// source represents the location and type of the mounted volume.
	// +required
	Source BuildVolumeSource `json:"source" protobuf:"bytes,2,opt,name=source"`

	// mounts represents the location of the volume in the image build container
	// +required
	// +listType=map
	// +listMapKey=destinationPath
	// +patchMergeKey=destinationPath
	// +patchStrategy=merge
	Mounts []BuildVolumeMount `json:"mounts" patchStrategy:"merge" patchMergeKey:"destinationPath" protobuf:"bytes,3,opt,name=mounts"`
}

BuildVolume describes a volume that is made available to build pods, such that it can be mounted into buildah's runtime environment. Only a subset of Kubernetes Volume sources are supported.

func (*BuildVolume) DeepCopy

func (in *BuildVolume) DeepCopy() *BuildVolume

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildVolume.

func (*BuildVolume) DeepCopyInto

func (in *BuildVolume) DeepCopyInto(out *BuildVolume)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildVolume) Descriptor

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

func (*BuildVolume) Marshal

func (m *BuildVolume) Marshal() (dAtA []byte, err error)

func (*BuildVolume) MarshalTo

func (m *BuildVolume) MarshalTo(dAtA []byte) (int, error)

func (*BuildVolume) MarshalToSizedBuffer

func (m *BuildVolume) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildVolume) ProtoMessage

func (*BuildVolume) ProtoMessage()

func (*BuildVolume) Reset

func (m *BuildVolume) Reset()

func (*BuildVolume) Size

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

func (*BuildVolume) String

func (this *BuildVolume) String() string

func (BuildVolume) SwaggerDoc

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

func (*BuildVolume) Unmarshal

func (m *BuildVolume) Unmarshal(dAtA []byte) error

func (*BuildVolume) XXX_DiscardUnknown

func (m *BuildVolume) XXX_DiscardUnknown()

func (*BuildVolume) XXX_Marshal

func (m *BuildVolume) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildVolume) XXX_Merge

func (m *BuildVolume) XXX_Merge(src proto.Message)

func (*BuildVolume) XXX_Size

func (m *BuildVolume) XXX_Size() int

func (*BuildVolume) XXX_Unmarshal

func (m *BuildVolume) XXX_Unmarshal(b []byte) error

type BuildVolumeMount

type BuildVolumeMount struct {
	// destinationPath is the path within the buildah runtime environment at which the volume should be mounted.
	// The transient mount within the build image and the backing volume will both be mounted read only.
	// Must be an absolute path, must not contain '..' or ':', and must not collide with a destination path generated
	// by the builder process
	// Paths that collide with those added by the build controller will result in a
	// failed build with an error message detailing which path caused the error.
	DestinationPath string `json:"destinationPath" protobuf:"bytes,1,opt,name=destinationPath"`
}

BuildVolumeMount describes the mounting of a Volume within buildah's runtime environment.

func (*BuildVolumeMount) DeepCopy

func (in *BuildVolumeMount) DeepCopy() *BuildVolumeMount

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildVolumeMount.

func (*BuildVolumeMount) DeepCopyInto

func (in *BuildVolumeMount) DeepCopyInto(out *BuildVolumeMount)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildVolumeMount) Descriptor

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

func (*BuildVolumeMount) Marshal

func (m *BuildVolumeMount) Marshal() (dAtA []byte, err error)

func (*BuildVolumeMount) MarshalTo

func (m *BuildVolumeMount) MarshalTo(dAtA []byte) (int, error)

func (*BuildVolumeMount) MarshalToSizedBuffer

func (m *BuildVolumeMount) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildVolumeMount) ProtoMessage

func (*BuildVolumeMount) ProtoMessage()

func (*BuildVolumeMount) Reset

func (m *BuildVolumeMount) Reset()

func (*BuildVolumeMount) Size

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

func (*BuildVolumeMount) String

func (this *BuildVolumeMount) String() string

func (BuildVolumeMount) SwaggerDoc

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

func (*BuildVolumeMount) Unmarshal

func (m *BuildVolumeMount) Unmarshal(dAtA []byte) error

func (*BuildVolumeMount) XXX_DiscardUnknown

func (m *BuildVolumeMount) XXX_DiscardUnknown()

func (*BuildVolumeMount) XXX_Marshal

func (m *BuildVolumeMount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildVolumeMount) XXX_Merge

func (m *BuildVolumeMount) XXX_Merge(src proto.Message)

func (*BuildVolumeMount) XXX_Size

func (m *BuildVolumeMount) XXX_Size() int

func (*BuildVolumeMount) XXX_Unmarshal

func (m *BuildVolumeMount) XXX_Unmarshal(b []byte) error

type BuildVolumeSource

type BuildVolumeSource struct {

	// type is the BuildVolumeSourceType for the volume source.
	// Type must match the populated volume source.
	// Valid types are: Secret, ConfigMap
	Type BuildVolumeSourceType `json:"type" protobuf:"bytes,1,opt,name=type,casttype=BuildVolumeSourceType"`

	// secret represents a Secret that should populate this volume.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes#secret
	// +optional
	Secret *corev1.SecretVolumeSource `json:"secret,omitempty" protobuf:"bytes,2,opt,name=secret"`

	// configMap represents a ConfigMap that should populate this volume
	// +optional
	ConfigMap *corev1.ConfigMapVolumeSource `json:"configMap,omitempty" protobuf:"bytes,3,opt,name=configMap"`

	// csi represents ephemeral storage provided by external CSI drivers which support this capability
	// +optional
	CSI *corev1.CSIVolumeSource `json:"csi,omitempty" protobuf:"bytes,4,opt,name=csi"`
}

BuildVolumeSource represents the source of a volume to mount Only one of its supported types may be specified at any given time.

func (*BuildVolumeSource) DeepCopy

func (in *BuildVolumeSource) DeepCopy() *BuildVolumeSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new BuildVolumeSource.

func (*BuildVolumeSource) DeepCopyInto

func (in *BuildVolumeSource) DeepCopyInto(out *BuildVolumeSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*BuildVolumeSource) Descriptor

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

func (*BuildVolumeSource) Marshal

func (m *BuildVolumeSource) Marshal() (dAtA []byte, err error)

func (*BuildVolumeSource) MarshalTo

func (m *BuildVolumeSource) MarshalTo(dAtA []byte) (int, error)

func (*BuildVolumeSource) MarshalToSizedBuffer

func (m *BuildVolumeSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BuildVolumeSource) ProtoMessage

func (*BuildVolumeSource) ProtoMessage()

func (*BuildVolumeSource) Reset

func (m *BuildVolumeSource) Reset()

func (*BuildVolumeSource) Size

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

func (*BuildVolumeSource) String

func (this *BuildVolumeSource) String() string

func (BuildVolumeSource) SwaggerDoc

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

func (*BuildVolumeSource) Unmarshal

func (m *BuildVolumeSource) Unmarshal(dAtA []byte) error

func (*BuildVolumeSource) XXX_DiscardUnknown

func (m *BuildVolumeSource) XXX_DiscardUnknown()

func (*BuildVolumeSource) XXX_Marshal

func (m *BuildVolumeSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BuildVolumeSource) XXX_Merge

func (m *BuildVolumeSource) XXX_Merge(src proto.Message)

func (*BuildVolumeSource) XXX_Size

func (m *BuildVolumeSource) XXX_Size() int

func (*BuildVolumeSource) XXX_Unmarshal

func (m *BuildVolumeSource) XXX_Unmarshal(b []byte) error

type BuildVolumeSourceType

type BuildVolumeSourceType string

BuildVolumeSourceType represents a build volume source type

const (
	// BuildVolumeSourceTypeSecret is the Secret build source volume type
	BuildVolumeSourceTypeSecret BuildVolumeSourceType = "Secret"

	// BuildVolumeSourceTypeConfigmap is the ConfigMap build source volume type
	BuildVolumeSourceTypeConfigMap BuildVolumeSourceType = "ConfigMap"

	// BuildVolumeSourceTypeCSI is the CSI build source volume type
	BuildVolumeSourceTypeCSI BuildVolumeSourceType = "CSI"
)

type CommonSpec

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 container 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 corev1.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.
	// +optional
	NodeSelector OptionalNodeSelector `json:"nodeSelector" protobuf:"bytes,9,name=nodeSelector"`

	// mountTrustedCA bind mounts the cluster's trusted certificate authorities, as defined in
	// the cluster's proxy configuration, into the build. This lets processes within a build trust
	// components signed by custom PKI certificate authorities, such as private artifact
	// repositories and HTTPS proxies.
	//
	// When this field is set to true, the contents of `/etc/pki/ca-trust` within the build are
	// managed by the build container, and any changes to this directory or its subdirectories (for
	// example - within a Dockerfile `RUN` instruction) are not persisted in the build's output image.
	MountTrustedCA *bool `json:"mountTrustedCA,omitempty" protobuf:"varint,10,opt,name=mountTrustedCA"`
}

CommonSpec encapsulates all the inputs necessary to represent a build.

func (*CommonSpec) DeepCopy

func (in *CommonSpec) DeepCopy() *CommonSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonSpec.

func (*CommonSpec) DeepCopyInto

func (in *CommonSpec) DeepCopyInto(out *CommonSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CommonSpec) Descriptor

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

func (*CommonSpec) Marshal

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

func (*CommonSpec) MarshalTo

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

func (*CommonSpec) MarshalToSizedBuffer

func (m *CommonSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommonSpec) ProtoMessage

func (*CommonSpec) ProtoMessage()

func (*CommonSpec) Reset

func (m *CommonSpec) Reset()

func (*CommonSpec) Size

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

func (*CommonSpec) String

func (this *CommonSpec) String() string

func (CommonSpec) SwaggerDoc

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

func (*CommonSpec) Unmarshal

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

func (*CommonSpec) XXX_DiscardUnknown

func (m *CommonSpec) XXX_DiscardUnknown()

func (*CommonSpec) XXX_Marshal

func (m *CommonSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommonSpec) XXX_Merge

func (m *CommonSpec) XXX_Merge(src proto.Message)

func (*CommonSpec) XXX_Size

func (m *CommonSpec) XXX_Size() int

func (*CommonSpec) XXX_Unmarshal

func (m *CommonSpec) XXX_Unmarshal(b []byte) error

type CommonWebHookCause

type CommonWebHookCause struct {
	// Revision is the git source 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"`
}

CommonWebHookCause factors out the identical format of these webhook causes into struct so we can share it in the specific causes; it is too late for GitHub and Generic but we can leverage this pattern with GitLab and Bitbucket.

func (*CommonWebHookCause) DeepCopy

func (in *CommonWebHookCause) DeepCopy() *CommonWebHookCause

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CommonWebHookCause.

func (*CommonWebHookCause) DeepCopyInto

func (in *CommonWebHookCause) DeepCopyInto(out *CommonWebHookCause)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CommonWebHookCause) Descriptor

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

func (*CommonWebHookCause) Marshal

func (m *CommonWebHookCause) Marshal() (dAtA []byte, err error)

func (*CommonWebHookCause) MarshalTo

func (m *CommonWebHookCause) MarshalTo(dAtA []byte) (int, error)

func (*CommonWebHookCause) MarshalToSizedBuffer

func (m *CommonWebHookCause) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CommonWebHookCause) ProtoMessage

func (*CommonWebHookCause) ProtoMessage()

func (*CommonWebHookCause) Reset

func (m *CommonWebHookCause) Reset()

func (*CommonWebHookCause) Size

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

func (*CommonWebHookCause) String

func (this *CommonWebHookCause) String() string

func (CommonWebHookCause) SwaggerDoc

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

func (*CommonWebHookCause) Unmarshal

func (m *CommonWebHookCause) Unmarshal(dAtA []byte) error

func (*CommonWebHookCause) XXX_DiscardUnknown

func (m *CommonWebHookCause) XXX_DiscardUnknown()

func (*CommonWebHookCause) XXX_Marshal

func (m *CommonWebHookCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CommonWebHookCause) XXX_Merge

func (m *CommonWebHookCause) XXX_Merge(src proto.Message)

func (*CommonWebHookCause) XXX_Size

func (m *CommonWebHookCause) XXX_Size() int

func (*CommonWebHookCause) XXX_Unmarshal

func (m *CommonWebHookCause) XXX_Unmarshal(b []byte) error

type ConfigMapBuildSource

type ConfigMapBuildSource struct {
	// configMap is a reference to an existing configmap that you want to use in your
	// build.
	ConfigMap corev1.LocalObjectReference `json:"configMap" protobuf:"bytes,1,opt,name=configMap"`

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

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

func (*ConfigMapBuildSource) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapBuildSource.

func (*ConfigMapBuildSource) DeepCopyInto

func (in *ConfigMapBuildSource) DeepCopyInto(out *ConfigMapBuildSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ConfigMapBuildSource) Descriptor

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

func (*ConfigMapBuildSource) Marshal

func (m *ConfigMapBuildSource) Marshal() (dAtA []byte, err error)

func (*ConfigMapBuildSource) MarshalTo

func (m *ConfigMapBuildSource) MarshalTo(dAtA []byte) (int, error)

func (*ConfigMapBuildSource) MarshalToSizedBuffer

func (m *ConfigMapBuildSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConfigMapBuildSource) ProtoMessage

func (*ConfigMapBuildSource) ProtoMessage()

func (*ConfigMapBuildSource) Reset

func (m *ConfigMapBuildSource) Reset()

func (*ConfigMapBuildSource) Size

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

func (*ConfigMapBuildSource) String

func (this *ConfigMapBuildSource) String() string

func (ConfigMapBuildSource) SwaggerDoc

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

func (*ConfigMapBuildSource) Unmarshal

func (m *ConfigMapBuildSource) Unmarshal(dAtA []byte) error

func (*ConfigMapBuildSource) XXX_DiscardUnknown

func (m *ConfigMapBuildSource) XXX_DiscardUnknown()

func (*ConfigMapBuildSource) XXX_Marshal

func (m *ConfigMapBuildSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConfigMapBuildSource) XXX_Merge

func (m *ConfigMapBuildSource) XXX_Merge(src proto.Message)

func (*ConfigMapBuildSource) XXX_Size

func (m *ConfigMapBuildSource) XXX_Size() int

func (*ConfigMapBuildSource) XXX_Unmarshal

func (m *ConfigMapBuildSource) XXX_Unmarshal(b []byte) error

type CustomBuildStrategy

type CustomBuildStrategy struct {
	// from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which
	// the container image should be pulled
	From corev1.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 container images from the private Docker
	// registries
	PullSecret *corev1.LocalObjectReference `json:"pullSecret,omitempty" protobuf:"bytes,2,opt,name=pullSecret"`

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

	// exposeDockerSocket will allow running Docker commands (and build container images) from
	// inside the 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) DeepCopy

func (in *CustomBuildStrategy) DeepCopy() *CustomBuildStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CustomBuildStrategy.

func (*CustomBuildStrategy) DeepCopyInto

func (in *CustomBuildStrategy) DeepCopyInto(out *CustomBuildStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*CustomBuildStrategy) Descriptor

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

func (*CustomBuildStrategy) Marshal

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

func (*CustomBuildStrategy) MarshalTo

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

func (*CustomBuildStrategy) MarshalToSizedBuffer

func (m *CustomBuildStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CustomBuildStrategy) ProtoMessage

func (*CustomBuildStrategy) ProtoMessage()

func (*CustomBuildStrategy) Reset

func (m *CustomBuildStrategy) Reset()

func (*CustomBuildStrategy) Size

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

func (*CustomBuildStrategy) String

func (this *CustomBuildStrategy) String() string

func (CustomBuildStrategy) SwaggerDoc

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

func (*CustomBuildStrategy) Unmarshal

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

func (*CustomBuildStrategy) XXX_DiscardUnknown

func (m *CustomBuildStrategy) XXX_DiscardUnknown()

func (*CustomBuildStrategy) XXX_Marshal

func (m *CustomBuildStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CustomBuildStrategy) XXX_Merge

func (m *CustomBuildStrategy) XXX_Merge(src proto.Message)

func (*CustomBuildStrategy) XXX_Size

func (m *CustomBuildStrategy) XXX_Size() int

func (*CustomBuildStrategy) XXX_Unmarshal

func (m *CustomBuildStrategy) XXX_Unmarshal(b []byte) error

type DockerBuildStrategy

type DockerBuildStrategy struct {
	// from is a reference to an DockerImage, ImageStreamTag, or ImageStreamImage which overrides
	// the FROM image in the Dockerfile for the build. If the Dockerfile uses multi-stage builds,
	// this will replace the image in the last FROM directive of the file.
	From *corev1.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 container images from the private Docker
	// registries
	PullSecret *corev1.LocalObjectReference `json:"pullSecret,omitempty" protobuf:"bytes,2,opt,name=pullSecret"`

	// noCache if set to true indicates that the container image 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 []corev1.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 container image,
	// relative to the root of the context (contextDir).
	// Defaults to `Dockerfile` if unset.
	DockerfilePath string `json:"dockerfilePath,omitempty" protobuf:"bytes,6,opt,name=dockerfilePath"`

	// buildArgs contains build arguments that will be resolved in the Dockerfile.  See
	// https://docs.docker.com/engine/reference/builder/#/arg for more details.
	// NOTE: Only the 'name' and 'value' fields are supported. Any settings on the 'valueFrom' field
	// are ignored.
	BuildArgs []corev1.EnvVar `json:"buildArgs,omitempty" protobuf:"bytes,7,rep,name=buildArgs"`

	// imageOptimizationPolicy describes what optimizations the system can use when building images
	// to reduce the final size or time spent building the image. The default policy is 'None' which
	// means the final build image will be equivalent to an image created by the container image build API.
	// The experimental policy 'SkipLayers' will avoid commiting new layers in between each
	// image step, and will fail if the Dockerfile cannot provide compatibility with the 'None'
	// policy. An additional experimental policy 'SkipLayersAndWarn' is the same as
	// 'SkipLayers' but simply warns if compatibility cannot be preserved.
	ImageOptimizationPolicy *ImageOptimizationPolicy `json:"imageOptimizationPolicy,omitempty" protobuf:"bytes,8,opt,name=imageOptimizationPolicy,casttype=ImageOptimizationPolicy"`

	// volumes is a list of input volumes that can be mounted into the builds runtime environment.
	// Only a subset of Kubernetes Volume sources are supported by builds.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes
	// +listType=map
	// +listMapKey=name
	// +patchMergeKey=name
	// +patchStrategy=merge
	Volumes []BuildVolume `json:"volumes,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,9,opt,name=volumes"`
}

DockerBuildStrategy defines input parameters specific to container image build.

func (*DockerBuildStrategy) DeepCopy

func (in *DockerBuildStrategy) DeepCopy() *DockerBuildStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerBuildStrategy.

func (*DockerBuildStrategy) DeepCopyInto

func (in *DockerBuildStrategy) DeepCopyInto(out *DockerBuildStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DockerBuildStrategy) Descriptor

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

func (*DockerBuildStrategy) Marshal

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

func (*DockerBuildStrategy) MarshalTo

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

func (*DockerBuildStrategy) MarshalToSizedBuffer

func (m *DockerBuildStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DockerBuildStrategy) ProtoMessage

func (*DockerBuildStrategy) ProtoMessage()

func (*DockerBuildStrategy) Reset

func (m *DockerBuildStrategy) Reset()

func (*DockerBuildStrategy) Size

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

func (*DockerBuildStrategy) String

func (this *DockerBuildStrategy) String() string

func (DockerBuildStrategy) SwaggerDoc

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

func (*DockerBuildStrategy) Unmarshal

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

func (*DockerBuildStrategy) XXX_DiscardUnknown

func (m *DockerBuildStrategy) XXX_DiscardUnknown()

func (*DockerBuildStrategy) XXX_Marshal

func (m *DockerBuildStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DockerBuildStrategy) XXX_Merge

func (m *DockerBuildStrategy) XXX_Merge(src proto.Message)

func (*DockerBuildStrategy) XXX_Size

func (m *DockerBuildStrategy) XXX_Size() int

func (*DockerBuildStrategy) XXX_Unmarshal

func (m *DockerBuildStrategy) XXX_Unmarshal(b []byte) error

type DockerStrategyOptions

type DockerStrategyOptions struct {
	// Args contains any build arguments that are to be passed to Docker.  See
	// https://docs.docker.com/engine/reference/builder/#/arg for more details
	BuildArgs []corev1.EnvVar `json:"buildArgs,omitempty" protobuf:"bytes,1,rep,name=buildArgs"`

	// noCache overrides the docker-strategy noCache option in the build config
	NoCache *bool `json:"noCache,omitempty" protobuf:"varint,2,opt,name=noCache"`
}

DockerStrategyOptions contains extra strategy options for container image builds

func (*DockerStrategyOptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new DockerStrategyOptions.

func (*DockerStrategyOptions) DeepCopyInto

func (in *DockerStrategyOptions) DeepCopyInto(out *DockerStrategyOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*DockerStrategyOptions) Descriptor

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

func (*DockerStrategyOptions) Marshal

func (m *DockerStrategyOptions) Marshal() (dAtA []byte, err error)

func (*DockerStrategyOptions) MarshalTo

func (m *DockerStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*DockerStrategyOptions) MarshalToSizedBuffer

func (m *DockerStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DockerStrategyOptions) ProtoMessage

func (*DockerStrategyOptions) ProtoMessage()

func (*DockerStrategyOptions) Reset

func (m *DockerStrategyOptions) Reset()

func (*DockerStrategyOptions) Size

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

func (*DockerStrategyOptions) String

func (this *DockerStrategyOptions) String() string

func (DockerStrategyOptions) SwaggerDoc

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

func (*DockerStrategyOptions) Unmarshal

func (m *DockerStrategyOptions) Unmarshal(dAtA []byte) error

func (*DockerStrategyOptions) XXX_DiscardUnknown

func (m *DockerStrategyOptions) XXX_DiscardUnknown()

func (*DockerStrategyOptions) XXX_Marshal

func (m *DockerStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DockerStrategyOptions) XXX_Merge

func (m *DockerStrategyOptions) XXX_Merge(src proto.Message)

func (*DockerStrategyOptions) XXX_Size

func (m *DockerStrategyOptions) XXX_Size() int

func (*DockerStrategyOptions) XXX_Unmarshal

func (m *DockerStrategyOptions) XXX_Unmarshal(b []byte) error

type GenericWebHookCause

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) DeepCopy

func (in *GenericWebHookCause) DeepCopy() *GenericWebHookCause

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericWebHookCause.

func (*GenericWebHookCause) DeepCopyInto

func (in *GenericWebHookCause) DeepCopyInto(out *GenericWebHookCause)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GenericWebHookCause) Descriptor

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

func (*GenericWebHookCause) Marshal

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

func (*GenericWebHookCause) MarshalTo

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

func (*GenericWebHookCause) MarshalToSizedBuffer

func (m *GenericWebHookCause) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenericWebHookCause) ProtoMessage

func (*GenericWebHookCause) ProtoMessage()

func (*GenericWebHookCause) Reset

func (m *GenericWebHookCause) Reset()

func (*GenericWebHookCause) Size

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

func (*GenericWebHookCause) String

func (this *GenericWebHookCause) String() string

func (GenericWebHookCause) SwaggerDoc

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

func (*GenericWebHookCause) Unmarshal

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

func (*GenericWebHookCause) XXX_DiscardUnknown

func (m *GenericWebHookCause) XXX_DiscardUnknown()

func (*GenericWebHookCause) XXX_Marshal

func (m *GenericWebHookCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenericWebHookCause) XXX_Merge

func (m *GenericWebHookCause) XXX_Merge(src proto.Message)

func (*GenericWebHookCause) XXX_Size

func (m *GenericWebHookCause) XXX_Size() int

func (*GenericWebHookCause) XXX_Unmarshal

func (m *GenericWebHookCause) XXX_Unmarshal(b []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.
	// ValueFrom is not supported.
	Env []corev1.EnvVar `json:"env,omitempty" protobuf:"bytes,3,rep,name=env"`

	// DockerStrategyOptions contains additional docker-strategy specific options for the build
	DockerStrategyOptions *DockerStrategyOptions `json:"dockerStrategyOptions,omitempty" protobuf:"bytes,4,opt,name=dockerStrategyOptions"`
}

GenericWebHookEvent is the payload expected for a generic webhook post

func (*GenericWebHookEvent) DeepCopy

func (in *GenericWebHookEvent) DeepCopy() *GenericWebHookEvent

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GenericWebHookEvent.

func (*GenericWebHookEvent) DeepCopyInto

func (in *GenericWebHookEvent) DeepCopyInto(out *GenericWebHookEvent)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GenericWebHookEvent) Descriptor

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

func (*GenericWebHookEvent) Marshal

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

func (*GenericWebHookEvent) MarshalTo

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

func (*GenericWebHookEvent) MarshalToSizedBuffer

func (m *GenericWebHookEvent) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GenericWebHookEvent) ProtoMessage

func (*GenericWebHookEvent) ProtoMessage()

func (*GenericWebHookEvent) Reset

func (m *GenericWebHookEvent) Reset()

func (*GenericWebHookEvent) Size

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

func (*GenericWebHookEvent) String

func (this *GenericWebHookEvent) String() string

func (GenericWebHookEvent) SwaggerDoc

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

func (*GenericWebHookEvent) Unmarshal

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

func (*GenericWebHookEvent) XXX_DiscardUnknown

func (m *GenericWebHookEvent) XXX_DiscardUnknown()

func (*GenericWebHookEvent) XXX_Marshal

func (m *GenericWebHookEvent) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GenericWebHookEvent) XXX_Merge

func (m *GenericWebHookEvent) XXX_Merge(src proto.Message)

func (*GenericWebHookEvent) XXX_Size

func (m *GenericWebHookEvent) XXX_Size() int

func (*GenericWebHookEvent) XXX_Unmarshal

func (m *GenericWebHookEvent) XXX_Unmarshal(b []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. Values
	// not set here are inherited from cluster-wide build git proxy settings.
	ProxyConfig `json:",inline" protobuf:"bytes,3,opt,name=proxyConfig"`
}

GitBuildSource defines the parameters of a Git SCM

func (*GitBuildSource) DeepCopy

func (in *GitBuildSource) DeepCopy() *GitBuildSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitBuildSource.

func (*GitBuildSource) DeepCopyInto

func (in *GitBuildSource) DeepCopyInto(out *GitBuildSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitBuildSource) Descriptor

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

func (*GitBuildSource) Marshal

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

func (*GitBuildSource) MarshalTo

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

func (*GitBuildSource) MarshalToSizedBuffer

func (m *GitBuildSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitBuildSource) ProtoMessage

func (*GitBuildSource) ProtoMessage()

func (*GitBuildSource) Reset

func (m *GitBuildSource) Reset()

func (*GitBuildSource) Size

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

func (*GitBuildSource) String

func (this *GitBuildSource) String() string

func (GitBuildSource) SwaggerDoc

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

func (*GitBuildSource) Unmarshal

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

func (*GitBuildSource) XXX_DiscardUnknown

func (m *GitBuildSource) XXX_DiscardUnknown()

func (*GitBuildSource) XXX_Marshal

func (m *GitBuildSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitBuildSource) XXX_Merge

func (m *GitBuildSource) XXX_Merge(src proto.Message)

func (*GitBuildSource) XXX_Size

func (m *GitBuildSource) XXX_Size() int

func (*GitBuildSource) XXX_Unmarshal

func (m *GitBuildSource) XXX_Unmarshal(b []byte) error

type GitHubWebHookCause

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) DeepCopy

func (in *GitHubWebHookCause) DeepCopy() *GitHubWebHookCause

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitHubWebHookCause.

func (*GitHubWebHookCause) DeepCopyInto

func (in *GitHubWebHookCause) DeepCopyInto(out *GitHubWebHookCause)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitHubWebHookCause) Descriptor

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

func (*GitHubWebHookCause) Marshal

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

func (*GitHubWebHookCause) MarshalTo

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

func (*GitHubWebHookCause) MarshalToSizedBuffer

func (m *GitHubWebHookCause) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitHubWebHookCause) ProtoMessage

func (*GitHubWebHookCause) ProtoMessage()

func (*GitHubWebHookCause) Reset

func (m *GitHubWebHookCause) Reset()

func (*GitHubWebHookCause) Size

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

func (*GitHubWebHookCause) String

func (this *GitHubWebHookCause) String() string

func (GitHubWebHookCause) SwaggerDoc

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

func (*GitHubWebHookCause) Unmarshal

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

func (*GitHubWebHookCause) XXX_DiscardUnknown

func (m *GitHubWebHookCause) XXX_DiscardUnknown()

func (*GitHubWebHookCause) XXX_Marshal

func (m *GitHubWebHookCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitHubWebHookCause) XXX_Merge

func (m *GitHubWebHookCause) XXX_Merge(src proto.Message)

func (*GitHubWebHookCause) XXX_Size

func (m *GitHubWebHookCause) XXX_Size() int

func (*GitHubWebHookCause) XXX_Unmarshal

func (m *GitHubWebHookCause) XXX_Unmarshal(b []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"`

	// Refs is a list of GitRefs for the provided repo - generally sent
	// when used from a post-receive hook. This field is optional and is
	// used when sending multiple refs
	Refs []GitRefInfo `json:"refs" protobuf:"bytes,3,rep,name=refs"`
}

GitInfo is the aggregated git information for a generic webhook post

func (*GitInfo) DeepCopy

func (in *GitInfo) DeepCopy() *GitInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitInfo.

func (*GitInfo) DeepCopyInto

func (in *GitInfo) DeepCopyInto(out *GitInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitInfo) Descriptor

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

func (*GitInfo) Marshal

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

func (*GitInfo) MarshalTo

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

func (*GitInfo) MarshalToSizedBuffer

func (m *GitInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitInfo) ProtoMessage

func (*GitInfo) ProtoMessage()

func (*GitInfo) Reset

func (m *GitInfo) Reset()

func (*GitInfo) Size

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

func (*GitInfo) String

func (this *GitInfo) String() string

func (GitInfo) SwaggerDoc

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

func (*GitInfo) Unmarshal

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

func (*GitInfo) XXX_DiscardUnknown

func (m *GitInfo) XXX_DiscardUnknown()

func (*GitInfo) XXX_Marshal

func (m *GitInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitInfo) XXX_Merge

func (m *GitInfo) XXX_Merge(src proto.Message)

func (*GitInfo) XXX_Size

func (m *GitInfo) XXX_Size() int

func (*GitInfo) XXX_Unmarshal

func (m *GitInfo) XXX_Unmarshal(b []byte) error

type GitLabWebHookCause

type GitLabWebHookCause struct {
	CommonWebHookCause `json:",inline" protobuf:"bytes,1,opt,name=commonSpec"`
}

GitLabWebHookCause has information about a GitLab webhook that triggered a build.

func (*GitLabWebHookCause) DeepCopy

func (in *GitLabWebHookCause) DeepCopy() *GitLabWebHookCause

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitLabWebHookCause.

func (*GitLabWebHookCause) DeepCopyInto

func (in *GitLabWebHookCause) DeepCopyInto(out *GitLabWebHookCause)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitLabWebHookCause) Descriptor

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

func (*GitLabWebHookCause) Marshal

func (m *GitLabWebHookCause) Marshal() (dAtA []byte, err error)

func (*GitLabWebHookCause) MarshalTo

func (m *GitLabWebHookCause) MarshalTo(dAtA []byte) (int, error)

func (*GitLabWebHookCause) MarshalToSizedBuffer

func (m *GitLabWebHookCause) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitLabWebHookCause) ProtoMessage

func (*GitLabWebHookCause) ProtoMessage()

func (*GitLabWebHookCause) Reset

func (m *GitLabWebHookCause) Reset()

func (*GitLabWebHookCause) Size

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

func (*GitLabWebHookCause) String

func (this *GitLabWebHookCause) String() string

func (GitLabWebHookCause) SwaggerDoc

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

func (*GitLabWebHookCause) Unmarshal

func (m *GitLabWebHookCause) Unmarshal(dAtA []byte) error

func (*GitLabWebHookCause) XXX_DiscardUnknown

func (m *GitLabWebHookCause) XXX_DiscardUnknown()

func (*GitLabWebHookCause) XXX_Marshal

func (m *GitLabWebHookCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitLabWebHookCause) XXX_Merge

func (m *GitLabWebHookCause) XXX_Merge(src proto.Message)

func (*GitLabWebHookCause) XXX_Size

func (m *GitLabWebHookCause) XXX_Size() int

func (*GitLabWebHookCause) XXX_Unmarshal

func (m *GitLabWebHookCause) XXX_Unmarshal(b []byte) error

type GitRefInfo

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

GitRefInfo is a single ref

func (*GitRefInfo) DeepCopy

func (in *GitRefInfo) DeepCopy() *GitRefInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitRefInfo.

func (*GitRefInfo) DeepCopyInto

func (in *GitRefInfo) DeepCopyInto(out *GitRefInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitRefInfo) Descriptor

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

func (*GitRefInfo) Marshal

func (m *GitRefInfo) Marshal() (dAtA []byte, err error)

func (*GitRefInfo) MarshalTo

func (m *GitRefInfo) MarshalTo(dAtA []byte) (int, error)

func (*GitRefInfo) MarshalToSizedBuffer

func (m *GitRefInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitRefInfo) ProtoMessage

func (*GitRefInfo) ProtoMessage()

func (*GitRefInfo) Reset

func (m *GitRefInfo) Reset()

func (*GitRefInfo) Size

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

func (*GitRefInfo) String

func (this *GitRefInfo) String() string

func (GitRefInfo) SwaggerDoc

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

func (*GitRefInfo) Unmarshal

func (m *GitRefInfo) Unmarshal(dAtA []byte) error

func (*GitRefInfo) XXX_DiscardUnknown

func (m *GitRefInfo) XXX_DiscardUnknown()

func (*GitRefInfo) XXX_Marshal

func (m *GitRefInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitRefInfo) XXX_Merge

func (m *GitRefInfo) XXX_Merge(src proto.Message)

func (*GitRefInfo) XXX_Size

func (m *GitRefInfo) XXX_Size() int

func (*GitRefInfo) XXX_Unmarshal

func (m *GitRefInfo) XXX_Unmarshal(b []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) DeepCopy

func (in *GitSourceRevision) DeepCopy() *GitSourceRevision

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new GitSourceRevision.

func (*GitSourceRevision) DeepCopyInto

func (in *GitSourceRevision) DeepCopyInto(out *GitSourceRevision)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*GitSourceRevision) Descriptor

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

func (*GitSourceRevision) Marshal

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

func (*GitSourceRevision) MarshalTo

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

func (*GitSourceRevision) MarshalToSizedBuffer

func (m *GitSourceRevision) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GitSourceRevision) ProtoMessage

func (*GitSourceRevision) ProtoMessage()

func (*GitSourceRevision) Reset

func (m *GitSourceRevision) Reset()

func (*GitSourceRevision) Size

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

func (*GitSourceRevision) String

func (this *GitSourceRevision) String() string

func (GitSourceRevision) SwaggerDoc

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

func (*GitSourceRevision) Unmarshal

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

func (*GitSourceRevision) XXX_DiscardUnknown

func (m *GitSourceRevision) XXX_DiscardUnknown()

func (*GitSourceRevision) XXX_Marshal

func (m *GitSourceRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GitSourceRevision) XXX_Merge

func (m *GitSourceRevision) XXX_Merge(src proto.Message)

func (*GitSourceRevision) XXX_Size

func (m *GitSourceRevision) XXX_Size() int

func (*GitSourceRevision) XXX_Unmarshal

func (m *GitSourceRevision) XXX_Unmarshal(b []byte) error

type ImageChangeCause

type ImageChangeCause struct {
	// imageID is the ID of the image that triggered 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 *corev1.ObjectReference `json:"fromRef,omitempty" protobuf:"bytes,2,opt,name=fromRef"`
}

ImageChangeCause contains information about the image that triggered a build

func (*ImageChangeCause) DeepCopy

func (in *ImageChangeCause) DeepCopy() *ImageChangeCause

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageChangeCause.

func (*ImageChangeCause) DeepCopyInto

func (in *ImageChangeCause) DeepCopyInto(out *ImageChangeCause)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageChangeCause) Descriptor

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

func (*ImageChangeCause) Marshal

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

func (*ImageChangeCause) MarshalTo

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

func (*ImageChangeCause) MarshalToSizedBuffer

func (m *ImageChangeCause) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageChangeCause) ProtoMessage

func (*ImageChangeCause) ProtoMessage()

func (*ImageChangeCause) Reset

func (m *ImageChangeCause) Reset()

func (*ImageChangeCause) Size

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

func (*ImageChangeCause) String

func (this *ImageChangeCause) String() string

func (ImageChangeCause) SwaggerDoc

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

func (*ImageChangeCause) Unmarshal

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

func (*ImageChangeCause) XXX_DiscardUnknown

func (m *ImageChangeCause) XXX_DiscardUnknown()

func (*ImageChangeCause) XXX_Marshal

func (m *ImageChangeCause) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageChangeCause) XXX_Merge

func (m *ImageChangeCause) XXX_Merge(src proto.Message)

func (*ImageChangeCause) XXX_Size

func (m *ImageChangeCause) XXX_Size() int

func (*ImageChangeCause) XXX_Unmarshal

func (m *ImageChangeCause) XXX_Unmarshal(b []byte) error

type ImageChangeTrigger

type ImageChangeTrigger struct {
	// lastTriggeredImageID is used internally by the ImageChangeController to save last
	// used image ID for build
	// This field is deprecated and will be removed in a future release.
	// Deprecated
	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 *corev1.ObjectReference `json:"from,omitempty" protobuf:"bytes,2,opt,name=from"`

	// paused is true if this trigger is temporarily disabled. Optional.
	Paused bool `json:"paused,omitempty" protobuf:"varint,3,opt,name=paused"`
}

ImageChangeTrigger allows builds to be triggered when an ImageStream changes

func (*ImageChangeTrigger) DeepCopy

func (in *ImageChangeTrigger) DeepCopy() *ImageChangeTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageChangeTrigger.

func (*ImageChangeTrigger) DeepCopyInto

func (in *ImageChangeTrigger) DeepCopyInto(out *ImageChangeTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageChangeTrigger) Descriptor

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

func (*ImageChangeTrigger) Marshal

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

func (*ImageChangeTrigger) MarshalTo

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

func (*ImageChangeTrigger) MarshalToSizedBuffer

func (m *ImageChangeTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageChangeTrigger) ProtoMessage

func (*ImageChangeTrigger) ProtoMessage()

func (*ImageChangeTrigger) Reset

func (m *ImageChangeTrigger) Reset()

func (*ImageChangeTrigger) Size

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

func (*ImageChangeTrigger) String

func (this *ImageChangeTrigger) String() string

func (ImageChangeTrigger) SwaggerDoc

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

func (*ImageChangeTrigger) Unmarshal

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

func (*ImageChangeTrigger) XXX_DiscardUnknown

func (m *ImageChangeTrigger) XXX_DiscardUnknown()

func (*ImageChangeTrigger) XXX_Marshal

func (m *ImageChangeTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageChangeTrigger) XXX_Merge

func (m *ImageChangeTrigger) XXX_Merge(src proto.Message)

func (*ImageChangeTrigger) XXX_Size

func (m *ImageChangeTrigger) XXX_Size() int

func (*ImageChangeTrigger) XXX_Unmarshal

func (m *ImageChangeTrigger) XXX_Unmarshal(b []byte) error

type ImageChangeTriggerStatus

type ImageChangeTriggerStatus struct {
	// lastTriggeredImageID represents the sha/id of the ImageStreamTag when a Build for this BuildConfig was started.
	// The lastTriggeredImageID is updated each time a Build for this BuildConfig is started, even if this ImageStreamTag is not the reason the Build is started.
	LastTriggeredImageID string `json:"lastTriggeredImageID,omitempty" protobuf:"bytes,1,opt,name=lastTriggeredImageID"`

	// from is the ImageStreamTag that is the source of the trigger.
	From ImageStreamTagReference `json:"from,omitempty" protobuf:"bytes,2,opt,name=from"`

	// lastTriggerTime is the last time this particular ImageStreamTag triggered a Build to start.
	// This field is only updated when this trigger specifically started a Build.
	LastTriggerTime metav1.Time `json:"lastTriggerTime,omitempty" protobuf:"bytes,3,opt,name=lastTriggerTime"`
}

ImageChangeTriggerStatus tracks the latest resolved status of the associated ImageChangeTrigger policy specified in the BuildConfigSpec.Triggers struct.

func (*ImageChangeTriggerStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageChangeTriggerStatus.

func (*ImageChangeTriggerStatus) DeepCopyInto

func (in *ImageChangeTriggerStatus) DeepCopyInto(out *ImageChangeTriggerStatus)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageChangeTriggerStatus) Descriptor

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

func (*ImageChangeTriggerStatus) Marshal

func (m *ImageChangeTriggerStatus) Marshal() (dAtA []byte, err error)

func (*ImageChangeTriggerStatus) MarshalTo

func (m *ImageChangeTriggerStatus) MarshalTo(dAtA []byte) (int, error)

func (*ImageChangeTriggerStatus) MarshalToSizedBuffer

func (m *ImageChangeTriggerStatus) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageChangeTriggerStatus) ProtoMessage

func (*ImageChangeTriggerStatus) ProtoMessage()

func (*ImageChangeTriggerStatus) Reset

func (m *ImageChangeTriggerStatus) Reset()

func (*ImageChangeTriggerStatus) Size

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

func (*ImageChangeTriggerStatus) String

func (this *ImageChangeTriggerStatus) String() string

func (ImageChangeTriggerStatus) SwaggerDoc

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

func (*ImageChangeTriggerStatus) Unmarshal

func (m *ImageChangeTriggerStatus) Unmarshal(dAtA []byte) error

func (*ImageChangeTriggerStatus) XXX_DiscardUnknown

func (m *ImageChangeTriggerStatus) XXX_DiscardUnknown()

func (*ImageChangeTriggerStatus) XXX_Marshal

func (m *ImageChangeTriggerStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageChangeTriggerStatus) XXX_Merge

func (m *ImageChangeTriggerStatus) XXX_Merge(src proto.Message)

func (*ImageChangeTriggerStatus) XXX_Size

func (m *ImageChangeTriggerStatus) XXX_Size() int

func (*ImageChangeTriggerStatus) XXX_Unmarshal

func (m *ImageChangeTriggerStatus) XXX_Unmarshal(b []byte) error

type ImageLabel

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) DeepCopy

func (in *ImageLabel) DeepCopy() *ImageLabel

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageLabel.

func (*ImageLabel) DeepCopyInto

func (in *ImageLabel) DeepCopyInto(out *ImageLabel)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageLabel) Descriptor

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

func (*ImageLabel) Marshal

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

func (*ImageLabel) MarshalTo

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

func (*ImageLabel) MarshalToSizedBuffer

func (m *ImageLabel) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageLabel) ProtoMessage

func (*ImageLabel) ProtoMessage()

func (*ImageLabel) Reset

func (m *ImageLabel) Reset()

func (*ImageLabel) Size

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

func (*ImageLabel) String

func (this *ImageLabel) String() string

func (ImageLabel) SwaggerDoc

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

func (*ImageLabel) Unmarshal

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

func (*ImageLabel) XXX_DiscardUnknown

func (m *ImageLabel) XXX_DiscardUnknown()

func (*ImageLabel) XXX_Marshal

func (m *ImageLabel) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageLabel) XXX_Merge

func (m *ImageLabel) XXX_Merge(src proto.Message)

func (*ImageLabel) XXX_Size

func (m *ImageLabel) XXX_Size() int

func (*ImageLabel) XXX_Unmarshal

func (m *ImageLabel) XXX_Unmarshal(b []byte) error

type ImageOptimizationPolicy

type ImageOptimizationPolicy string

ImageOptimizationPolicy describes what optimizations the builder can perform when building images.

const (
	// ImageOptimizationNone will generate a canonical container image as produced by the
	// `container image build` command.
	ImageOptimizationNone ImageOptimizationPolicy = "None"

	// ImageOptimizationSkipLayers is an experimental policy and will avoid creating
	// unique layers for each dockerfile line, resulting in smaller images and saving time
	// during creation. Some Dockerfile syntax is not fully supported - content added to
	// a VOLUME by an earlier layer may have incorrect uid, gid, and filesystem permissions.
	// If an unsupported setting is detected, the build will fail.
	ImageOptimizationSkipLayers ImageOptimizationPolicy = "SkipLayers"

	// ImageOptimizationSkipLayersAndWarn is the same as SkipLayers, but will only
	// warn to the build output instead of failing when unsupported syntax is detected. This
	// policy is experimental.
	ImageOptimizationSkipLayersAndWarn ImageOptimizationPolicy = "SkipLayersAndWarn"
)

type ImageSource

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

	// A list of image names that this source will be used in place of during a multi-stage container image
	// build. For instance, a Dockerfile that uses "COPY --from=nginx:latest" will first check for an image
	// source that has "nginx:latest" in this field before attempting to pull directly. If the Dockerfile
	// does not reference an image source it is ignored. This field and paths may both be set, in which case
	// the contents will be used twice.
	// +optional
	As []string `json:"as,omitempty" protobuf:"bytes,4,rep,name=as"`

	// paths is a list of source and destination paths to copy from the image. This content will be copied
	// into the build context prior to starting the build. If no paths are set, the build context will
	// not be altered.
	// +optional
	Paths []ImageSourcePath `json:"paths,omitempty" 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 *corev1.LocalObjectReference `json:"pullSecret,omitempty" protobuf:"bytes,3,opt,name=pullSecret"`
}

ImageSource is used to describe build source that will be extracted from an image or used during a multi stage build. 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. Image sources can either be used to extract content from an image and place it into the build context along with the repository source, or used directly during a multi-stage container image build to allow content to be copied without overwriting the contents of the repository source (see the 'paths' and 'as' fields).

func (*ImageSource) DeepCopy

func (in *ImageSource) DeepCopy() *ImageSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSource.

func (*ImageSource) DeepCopyInto

func (in *ImageSource) DeepCopyInto(out *ImageSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageSource) Descriptor

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

func (*ImageSource) Marshal

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

func (*ImageSource) MarshalTo

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

func (*ImageSource) MarshalToSizedBuffer

func (m *ImageSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageSource) ProtoMessage

func (*ImageSource) ProtoMessage()

func (*ImageSource) Reset

func (m *ImageSource) Reset()

func (*ImageSource) Size

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

func (*ImageSource) String

func (this *ImageSource) String() string

func (ImageSource) SwaggerDoc

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

func (*ImageSource) Unmarshal

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

func (*ImageSource) XXX_DiscardUnknown

func (m *ImageSource) XXX_DiscardUnknown()

func (*ImageSource) XXX_Marshal

func (m *ImageSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageSource) XXX_Merge

func (m *ImageSource) XXX_Merge(src proto.Message)

func (*ImageSource) XXX_Size

func (m *ImageSource) XXX_Size() int

func (*ImageSource) XXX_Unmarshal

func (m *ImageSource) XXX_Unmarshal(b []byte) error

type ImageSourcePath

type ImageSourcePath struct {
	// sourcePath is the absolute path of the file or directory inside the image to
	// copy to the build directory.  If the source path ends in /. then the content of
	// the directory will be copied, but the directory itself will not be created at the
	// destination.
	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) DeepCopy

func (in *ImageSourcePath) DeepCopy() *ImageSourcePath

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageSourcePath.

func (*ImageSourcePath) DeepCopyInto

func (in *ImageSourcePath) DeepCopyInto(out *ImageSourcePath)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageSourcePath) Descriptor

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

func (*ImageSourcePath) Marshal

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

func (*ImageSourcePath) MarshalTo

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

func (*ImageSourcePath) MarshalToSizedBuffer

func (m *ImageSourcePath) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageSourcePath) ProtoMessage

func (*ImageSourcePath) ProtoMessage()

func (*ImageSourcePath) Reset

func (m *ImageSourcePath) Reset()

func (*ImageSourcePath) Size

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

func (*ImageSourcePath) String

func (this *ImageSourcePath) String() string

func (ImageSourcePath) SwaggerDoc

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

func (*ImageSourcePath) Unmarshal

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

func (*ImageSourcePath) XXX_DiscardUnknown

func (m *ImageSourcePath) XXX_DiscardUnknown()

func (*ImageSourcePath) XXX_Marshal

func (m *ImageSourcePath) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageSourcePath) XXX_Merge

func (m *ImageSourcePath) XXX_Merge(src proto.Message)

func (*ImageSourcePath) XXX_Size

func (m *ImageSourcePath) XXX_Size() int

func (*ImageSourcePath) XXX_Unmarshal

func (m *ImageSourcePath) XXX_Unmarshal(b []byte) error

type ImageStreamTagReference

type ImageStreamTagReference struct {
	// namespace is the namespace where the ImageStreamTag for an ImageChangeTrigger is located
	Namespace string `json:"namespace,omitempty" protobuf:"bytes,1,opt,name=namespace"`

	// name is the name of the ImageStreamTag for an ImageChangeTrigger
	Name string `json:"name,omitempty" protobuf:"bytes,2,opt,name=name"`
}

ImageStreamTagReference references the ImageStreamTag in an image change trigger by namespace and name.

func (*ImageStreamTagReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ImageStreamTagReference.

func (*ImageStreamTagReference) DeepCopyInto

func (in *ImageStreamTagReference) DeepCopyInto(out *ImageStreamTagReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ImageStreamTagReference) Descriptor

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

func (*ImageStreamTagReference) Marshal

func (m *ImageStreamTagReference) Marshal() (dAtA []byte, err error)

func (*ImageStreamTagReference) MarshalTo

func (m *ImageStreamTagReference) MarshalTo(dAtA []byte) (int, error)

func (*ImageStreamTagReference) MarshalToSizedBuffer

func (m *ImageStreamTagReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ImageStreamTagReference) ProtoMessage

func (*ImageStreamTagReference) ProtoMessage()

func (*ImageStreamTagReference) Reset

func (m *ImageStreamTagReference) Reset()

func (*ImageStreamTagReference) Size

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

func (*ImageStreamTagReference) String

func (this *ImageStreamTagReference) String() string

func (ImageStreamTagReference) SwaggerDoc

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

func (*ImageStreamTagReference) Unmarshal

func (m *ImageStreamTagReference) Unmarshal(dAtA []byte) error

func (*ImageStreamTagReference) XXX_DiscardUnknown

func (m *ImageStreamTagReference) XXX_DiscardUnknown()

func (*ImageStreamTagReference) XXX_Marshal

func (m *ImageStreamTagReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ImageStreamTagReference) XXX_Merge

func (m *ImageStreamTagReference) XXX_Merge(src proto.Message)

func (*ImageStreamTagReference) XXX_Size

func (m *ImageStreamTagReference) XXX_Size() int

func (*ImageStreamTagReference) XXX_Unmarshal

func (m *ImageStreamTagReference) XXX_Unmarshal(b []byte) error

type JenkinsPipelineBuildStrategy

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"`

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

JenkinsPipelineBuildStrategy holds parameters specific to a Jenkins Pipeline build. Deprecated: use OpenShift Pipelines

func (*JenkinsPipelineBuildStrategy) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new JenkinsPipelineBuildStrategy.

func (*JenkinsPipelineBuildStrategy) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*JenkinsPipelineBuildStrategy) Descriptor

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

func (*JenkinsPipelineBuildStrategy) Marshal

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

func (*JenkinsPipelineBuildStrategy) MarshalTo

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

func (*JenkinsPipelineBuildStrategy) MarshalToSizedBuffer

func (m *JenkinsPipelineBuildStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*JenkinsPipelineBuildStrategy) ProtoMessage

func (*JenkinsPipelineBuildStrategy) ProtoMessage()

func (*JenkinsPipelineBuildStrategy) Reset

func (m *JenkinsPipelineBuildStrategy) Reset()

func (*JenkinsPipelineBuildStrategy) Size

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

func (*JenkinsPipelineBuildStrategy) String

func (this *JenkinsPipelineBuildStrategy) String() string

func (JenkinsPipelineBuildStrategy) SwaggerDoc

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

func (*JenkinsPipelineBuildStrategy) Unmarshal

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

func (*JenkinsPipelineBuildStrategy) XXX_DiscardUnknown

func (m *JenkinsPipelineBuildStrategy) XXX_DiscardUnknown()

func (*JenkinsPipelineBuildStrategy) XXX_Marshal

func (m *JenkinsPipelineBuildStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*JenkinsPipelineBuildStrategy) XXX_Merge

func (m *JenkinsPipelineBuildStrategy) XXX_Merge(src proto.Message)

func (*JenkinsPipelineBuildStrategy) XXX_Size

func (m *JenkinsPipelineBuildStrategy) XXX_Size() int

func (*JenkinsPipelineBuildStrategy) XXX_Unmarshal

func (m *JenkinsPipelineBuildStrategy) XXX_Unmarshal(b []byte) error

type OptionalNodeSelector

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) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new OptionalNodeSelector.

func (OptionalNodeSelector) DeepCopyInto

func (in OptionalNodeSelector) DeepCopyInto(out *OptionalNodeSelector)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*OptionalNodeSelector) Descriptor

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

func (OptionalNodeSelector) Marshal

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

func (OptionalNodeSelector) MarshalTo

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

func (OptionalNodeSelector) MarshalToSizedBuffer

func (m OptionalNodeSelector) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OptionalNodeSelector) ProtoMessage

func (*OptionalNodeSelector) ProtoMessage()

func (*OptionalNodeSelector) Reset

func (m *OptionalNodeSelector) Reset()

func (OptionalNodeSelector) Size

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

func (OptionalNodeSelector) String

func (t OptionalNodeSelector) String() string

func (*OptionalNodeSelector) Unmarshal

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

func (*OptionalNodeSelector) XXX_DiscardUnknown

func (m *OptionalNodeSelector) XXX_DiscardUnknown()

func (*OptionalNodeSelector) XXX_Marshal

func (m *OptionalNodeSelector) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OptionalNodeSelector) XXX_Merge

func (m *OptionalNodeSelector) XXX_Merge(src proto.Message)

func (*OptionalNodeSelector) XXX_Size

func (m *OptionalNodeSelector) XXX_Size() int

func (*OptionalNodeSelector) XXX_Unmarshal

func (m *OptionalNodeSelector) XXX_Unmarshal(b []byte) error

type ProxyConfig

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) DeepCopy

func (in *ProxyConfig) DeepCopy() *ProxyConfig

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ProxyConfig.

func (*ProxyConfig) DeepCopyInto

func (in *ProxyConfig) DeepCopyInto(out *ProxyConfig)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*ProxyConfig) Descriptor

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

func (*ProxyConfig) Marshal

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

func (*ProxyConfig) MarshalTo

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

func (*ProxyConfig) MarshalToSizedBuffer

func (m *ProxyConfig) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProxyConfig) ProtoMessage

func (*ProxyConfig) ProtoMessage()

func (*ProxyConfig) Reset

func (m *ProxyConfig) Reset()

func (*ProxyConfig) Size

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

func (*ProxyConfig) String

func (this *ProxyConfig) String() string

func (ProxyConfig) SwaggerDoc

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

func (*ProxyConfig) Unmarshal

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

func (*ProxyConfig) XXX_DiscardUnknown

func (m *ProxyConfig) XXX_DiscardUnknown()

func (*ProxyConfig) XXX_Marshal

func (m *ProxyConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProxyConfig) XXX_Merge

func (m *ProxyConfig) XXX_Merge(src proto.Message)

func (*ProxyConfig) XXX_Size

func (m *ProxyConfig) XXX_Size() int

func (*ProxyConfig) XXX_Unmarshal

func (m *ProxyConfig) XXX_Unmarshal(b []byte) error

type SecretBuildSource

type SecretBuildSource struct {
	// secret is a reference to an existing secret that you want to use in your
	// build.
	Secret corev1.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 container image build strategy, these will be copied into the build
	// directory, where the Dockerfile is located, so users can ADD or COPY them
	// during container image 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) DeepCopy

func (in *SecretBuildSource) DeepCopy() *SecretBuildSource

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretBuildSource.

func (*SecretBuildSource) DeepCopyInto

func (in *SecretBuildSource) DeepCopyInto(out *SecretBuildSource)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretBuildSource) Descriptor

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

func (*SecretBuildSource) Marshal

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

func (*SecretBuildSource) MarshalTo

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

func (*SecretBuildSource) MarshalToSizedBuffer

func (m *SecretBuildSource) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretBuildSource) ProtoMessage

func (*SecretBuildSource) ProtoMessage()

func (*SecretBuildSource) Reset

func (m *SecretBuildSource) Reset()

func (*SecretBuildSource) Size

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

func (*SecretBuildSource) String

func (this *SecretBuildSource) String() string

func (SecretBuildSource) SwaggerDoc

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

func (*SecretBuildSource) Unmarshal

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

func (*SecretBuildSource) XXX_DiscardUnknown

func (m *SecretBuildSource) XXX_DiscardUnknown()

func (*SecretBuildSource) XXX_Marshal

func (m *SecretBuildSource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretBuildSource) XXX_Merge

func (m *SecretBuildSource) XXX_Merge(src proto.Message)

func (*SecretBuildSource) XXX_Size

func (m *SecretBuildSource) XXX_Size() int

func (*SecretBuildSource) XXX_Unmarshal

func (m *SecretBuildSource) XXX_Unmarshal(b []byte) error

type SecretLocalReference

type SecretLocalReference struct {
	// Name is the name of the resource in the same namespace being referenced
	Name string `json:"name" protobuf:"bytes,1,opt,name=name"`
}

SecretLocalReference contains information that points to the local secret being used

func (*SecretLocalReference) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretLocalReference.

func (*SecretLocalReference) DeepCopyInto

func (in *SecretLocalReference) DeepCopyInto(out *SecretLocalReference)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretLocalReference) Descriptor

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

func (*SecretLocalReference) Marshal

func (m *SecretLocalReference) Marshal() (dAtA []byte, err error)

func (*SecretLocalReference) MarshalTo

func (m *SecretLocalReference) MarshalTo(dAtA []byte) (int, error)

func (*SecretLocalReference) MarshalToSizedBuffer

func (m *SecretLocalReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretLocalReference) ProtoMessage

func (*SecretLocalReference) ProtoMessage()

func (*SecretLocalReference) Reset

func (m *SecretLocalReference) Reset()

func (*SecretLocalReference) Size

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

func (*SecretLocalReference) String

func (this *SecretLocalReference) String() string

func (SecretLocalReference) SwaggerDoc

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

func (*SecretLocalReference) Unmarshal

func (m *SecretLocalReference) Unmarshal(dAtA []byte) error

func (*SecretLocalReference) XXX_DiscardUnknown

func (m *SecretLocalReference) XXX_DiscardUnknown()

func (*SecretLocalReference) XXX_Marshal

func (m *SecretLocalReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretLocalReference) XXX_Merge

func (m *SecretLocalReference) XXX_Merge(src proto.Message)

func (*SecretLocalReference) XXX_Size

func (m *SecretLocalReference) XXX_Size() int

func (*SecretLocalReference) XXX_Unmarshal

func (m *SecretLocalReference) XXX_Unmarshal(b []byte) error

type SecretSpec

type SecretSpec struct {
	// secretSource is a reference to the secret
	SecretSource corev1.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) DeepCopy

func (in *SecretSpec) DeepCopy() *SecretSpec

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecretSpec.

func (*SecretSpec) DeepCopyInto

func (in *SecretSpec) DeepCopyInto(out *SecretSpec)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SecretSpec) Descriptor

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

func (*SecretSpec) Marshal

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

func (*SecretSpec) MarshalTo

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

func (*SecretSpec) MarshalToSizedBuffer

func (m *SecretSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SecretSpec) ProtoMessage

func (*SecretSpec) ProtoMessage()

func (*SecretSpec) Reset

func (m *SecretSpec) Reset()

func (*SecretSpec) Size

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

func (*SecretSpec) String

func (this *SecretSpec) String() string

func (SecretSpec) SwaggerDoc

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

func (*SecretSpec) Unmarshal

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

func (*SecretSpec) XXX_DiscardUnknown

func (m *SecretSpec) XXX_DiscardUnknown()

func (*SecretSpec) XXX_Marshal

func (m *SecretSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SecretSpec) XXX_Merge

func (m *SecretSpec) XXX_Merge(src proto.Message)

func (*SecretSpec) XXX_Size

func (m *SecretSpec) XXX_Size() int

func (*SecretSpec) XXX_Unmarshal

func (m *SecretSpec) XXX_Unmarshal(b []byte) error

type SourceBuildStrategy

type SourceBuildStrategy struct {
	// from is reference to an DockerImage, ImageStreamTag, or ImageStreamImage from which
	// the container image should be pulled
	From corev1.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 container images from the private Docker
	// registries
	PullSecret *corev1.LocalObjectReference `json:"pullSecret,omitempty" protobuf:"bytes,2,opt,name=pullSecret"`

	// env contains additional environment variables you want to pass into a builder container.
	Env []corev1.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"`

	// volumes is a list of input volumes that can be mounted into the builds runtime environment.
	// Only a subset of Kubernetes Volume sources are supported by builds.
	// More info: https://kubernetes.io/docs/concepts/storage/volumes
	// +listType=map
	// +listMapKey=name
	// +patchMergeKey=name
	// +patchStrategy=merge
	Volumes []BuildVolume `json:"volumes,omitempty" patchStrategy:"merge" patchMergeKey:"name" protobuf:"bytes,9,opt,name=volumes"`
}

SourceBuildStrategy defines input parameters specific to an Source build.

func (*SourceBuildStrategy) DeepCopy

func (in *SourceBuildStrategy) DeepCopy() *SourceBuildStrategy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceBuildStrategy.

func (*SourceBuildStrategy) DeepCopyInto

func (in *SourceBuildStrategy) DeepCopyInto(out *SourceBuildStrategy)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceBuildStrategy) Descriptor

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

func (*SourceBuildStrategy) Marshal

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

func (*SourceBuildStrategy) MarshalTo

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

func (*SourceBuildStrategy) MarshalToSizedBuffer

func (m *SourceBuildStrategy) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SourceBuildStrategy) ProtoMessage

func (*SourceBuildStrategy) ProtoMessage()

func (*SourceBuildStrategy) Reset

func (m *SourceBuildStrategy) Reset()

func (*SourceBuildStrategy) Size

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

func (*SourceBuildStrategy) String

func (this *SourceBuildStrategy) String() string

func (SourceBuildStrategy) SwaggerDoc

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

func (*SourceBuildStrategy) Unmarshal

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

func (*SourceBuildStrategy) XXX_DiscardUnknown

func (m *SourceBuildStrategy) XXX_DiscardUnknown()

func (*SourceBuildStrategy) XXX_Marshal

func (m *SourceBuildStrategy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SourceBuildStrategy) XXX_Merge

func (m *SourceBuildStrategy) XXX_Merge(src proto.Message)

func (*SourceBuildStrategy) XXX_Size

func (m *SourceBuildStrategy) XXX_Size() int

func (*SourceBuildStrategy) XXX_Unmarshal

func (m *SourceBuildStrategy) XXX_Unmarshal(b []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) DeepCopy

func (in *SourceControlUser) DeepCopy() *SourceControlUser

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceControlUser.

func (*SourceControlUser) DeepCopyInto

func (in *SourceControlUser) DeepCopyInto(out *SourceControlUser)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceControlUser) Descriptor

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

func (*SourceControlUser) Marshal

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

func (*SourceControlUser) MarshalTo

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

func (*SourceControlUser) MarshalToSizedBuffer

func (m *SourceControlUser) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SourceControlUser) ProtoMessage

func (*SourceControlUser) ProtoMessage()

func (*SourceControlUser) Reset

func (m *SourceControlUser) Reset()

func (*SourceControlUser) Size

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

func (*SourceControlUser) String

func (this *SourceControlUser) String() string

func (SourceControlUser) SwaggerDoc

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

func (*SourceControlUser) Unmarshal

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

func (*SourceControlUser) XXX_DiscardUnknown

func (m *SourceControlUser) XXX_DiscardUnknown()

func (*SourceControlUser) XXX_Marshal

func (m *SourceControlUser) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SourceControlUser) XXX_Merge

func (m *SourceControlUser) XXX_Merge(src proto.Message)

func (*SourceControlUser) XXX_Size

func (m *SourceControlUser) XXX_Size() int

func (*SourceControlUser) XXX_Unmarshal

func (m *SourceControlUser) XXX_Unmarshal(b []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) DeepCopy

func (in *SourceRevision) DeepCopy() *SourceRevision

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceRevision.

func (*SourceRevision) DeepCopyInto

func (in *SourceRevision) DeepCopyInto(out *SourceRevision)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceRevision) Descriptor

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

func (*SourceRevision) Marshal

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

func (*SourceRevision) MarshalTo

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

func (*SourceRevision) MarshalToSizedBuffer

func (m *SourceRevision) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SourceRevision) ProtoMessage

func (*SourceRevision) ProtoMessage()

func (*SourceRevision) Reset

func (m *SourceRevision) Reset()

func (*SourceRevision) Size

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

func (*SourceRevision) String

func (this *SourceRevision) String() string

func (SourceRevision) SwaggerDoc

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

func (*SourceRevision) Unmarshal

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

func (*SourceRevision) XXX_DiscardUnknown

func (m *SourceRevision) XXX_DiscardUnknown()

func (*SourceRevision) XXX_Marshal

func (m *SourceRevision) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SourceRevision) XXX_Merge

func (m *SourceRevision) XXX_Merge(src proto.Message)

func (*SourceRevision) XXX_Size

func (m *SourceRevision) XXX_Size() int

func (*SourceRevision) XXX_Unmarshal

func (m *SourceRevision) XXX_Unmarshal(b []byte) error

type SourceStrategyOptions

type SourceStrategyOptions struct {
	// incremental overrides the source-strategy incremental option in the build config
	Incremental *bool `json:"incremental,omitempty" protobuf:"varint,1,opt,name=incremental"`
}

SourceStrategyOptions contains extra strategy options for Source builds

func (*SourceStrategyOptions) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SourceStrategyOptions.

func (*SourceStrategyOptions) DeepCopyInto

func (in *SourceStrategyOptions) DeepCopyInto(out *SourceStrategyOptions)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*SourceStrategyOptions) Descriptor

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

func (*SourceStrategyOptions) Marshal

func (m *SourceStrategyOptions) Marshal() (dAtA []byte, err error)

func (*SourceStrategyOptions) MarshalTo

func (m *SourceStrategyOptions) MarshalTo(dAtA []byte) (int, error)

func (*SourceStrategyOptions) MarshalToSizedBuffer

func (m *SourceStrategyOptions) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SourceStrategyOptions) ProtoMessage

func (*SourceStrategyOptions) ProtoMessage()

func (*SourceStrategyOptions) Reset

func (m *SourceStrategyOptions) Reset()

func (*SourceStrategyOptions) Size

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

func (*SourceStrategyOptions) String

func (this *SourceStrategyOptions) String() string

func (SourceStrategyOptions) SwaggerDoc

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

func (*SourceStrategyOptions) Unmarshal

func (m *SourceStrategyOptions) Unmarshal(dAtA []byte) error

func (*SourceStrategyOptions) XXX_DiscardUnknown

func (m *SourceStrategyOptions) XXX_DiscardUnknown()

func (*SourceStrategyOptions) XXX_Marshal

func (m *SourceStrategyOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SourceStrategyOptions) XXX_Merge

func (m *SourceStrategyOptions) XXX_Merge(src proto.Message)

func (*SourceStrategyOptions) XXX_Size

func (m *SourceStrategyOptions) XXX_Size() int

func (*SourceStrategyOptions) XXX_Unmarshal

func (m *SourceStrategyOptions) XXX_Unmarshal(b []byte) error

type StageInfo

type StageInfo struct {
	// name is a unique identifier for each build stage that occurs.
	Name StageName `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// startTime is a timestamp representing the server time when this Stage started.
	// It is represented in RFC3339 form and is in UTC.
	StartTime metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"`

	// durationMilliseconds identifies how long the stage took
	// to complete in milliseconds.
	// Note: the duration of a stage can exceed the sum of the duration of the steps within
	// the stage as not all actions are accounted for in explicit build steps.
	DurationMilliseconds int64 `json:"durationMilliseconds,omitempty" protobuf:"varint,3,opt,name=durationMilliseconds"`

	// steps contains details about each step that occurs during a build stage
	// including start time and duration in milliseconds.
	Steps []StepInfo `json:"steps,omitempty" protobuf:"bytes,4,opt,name=steps"`
}

StageInfo contains details about a build stage.

func (*StageInfo) DeepCopy

func (in *StageInfo) DeepCopy() *StageInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StageInfo.

func (*StageInfo) DeepCopyInto

func (in *StageInfo) DeepCopyInto(out *StageInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StageInfo) Descriptor

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

func (*StageInfo) Marshal

func (m *StageInfo) Marshal() (dAtA []byte, err error)

func (*StageInfo) MarshalTo

func (m *StageInfo) MarshalTo(dAtA []byte) (int, error)

func (*StageInfo) MarshalToSizedBuffer

func (m *StageInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StageInfo) ProtoMessage

func (*StageInfo) ProtoMessage()

func (*StageInfo) Reset

func (m *StageInfo) Reset()

func (*StageInfo) Size

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

func (*StageInfo) String

func (this *StageInfo) String() string

func (StageInfo) SwaggerDoc

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

func (*StageInfo) Unmarshal

func (m *StageInfo) Unmarshal(dAtA []byte) error

func (*StageInfo) XXX_DiscardUnknown

func (m *StageInfo) XXX_DiscardUnknown()

func (*StageInfo) XXX_Marshal

func (m *StageInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StageInfo) XXX_Merge

func (m *StageInfo) XXX_Merge(src proto.Message)

func (*StageInfo) XXX_Size

func (m *StageInfo) XXX_Size() int

func (*StageInfo) XXX_Unmarshal

func (m *StageInfo) XXX_Unmarshal(b []byte) error

type StageName

type StageName string

StageName is the unique identifier for each build stage.

const (
	// StageFetchInputs fetches any inputs such as source code.
	StageFetchInputs StageName = "FetchInputs"

	// StagePullImages pulls any images that are needed such as
	// base images or input images.
	StagePullImages StageName = "PullImages"

	// StageBuild performs the steps necessary to build the image.
	StageBuild StageName = "Build"

	// StagePostCommit executes any post commit steps.
	StagePostCommit StageName = "PostCommit"

	// StagePushImage pushes the image to the node.
	StagePushImage StageName = "PushImage"
)

Valid values for StageName

type StatusReason

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.

const (
	// StatusReasonError is a generic reason for a build error condition.
	StatusReasonError StatusReason = "Error"

	// StatusReasonCannotCreateBuildPodSpec is an error condition when the build
	// strategy cannot create a build pod spec.
	StatusReasonCannotCreateBuildPodSpec StatusReason = "CannotCreateBuildPodSpec"

	// StatusReasonCannotCreateBuildPod is an error condition when a build pod
	// cannot be created.
	StatusReasonCannotCreateBuildPod StatusReason = "CannotCreateBuildPod"

	// StatusReasonInvalidOutputReference is an error condition when the build
	// output is an invalid reference.
	StatusReasonInvalidOutputReference StatusReason = "InvalidOutputReference"

	// StatusReasonInvalidImageReference is an error condition when the build
	// references an invalid image.
	StatusReasonInvalidImageReference StatusReason = "InvalidImageReference"

	// StatusReasonCancelBuildFailed is an error condition when cancelling a build
	// fails.
	StatusReasonCancelBuildFailed StatusReason = "CancelBuildFailed"

	// StatusReasonBuildPodDeleted is an error condition when the build pod is
	// deleted before build completion.
	StatusReasonBuildPodDeleted StatusReason = "BuildPodDeleted"

	// StatusReasonExceededRetryTimeout is an error condition when the build has
	// not completed and retrying the build times out.
	StatusReasonExceededRetryTimeout StatusReason = "ExceededRetryTimeout"

	// StatusReasonMissingPushSecret indicates that the build is missing required
	// secret for pushing the output image.
	// The build will stay in the pending state until the secret is created, or the build times out.
	StatusReasonMissingPushSecret StatusReason = "MissingPushSecret"

	// StatusReasonPostCommitHookFailed indicates the post-commit hook failed.
	StatusReasonPostCommitHookFailed StatusReason = "PostCommitHookFailed"

	// StatusReasonPushImageToRegistryFailed indicates that an image failed to be
	// pushed to the registry.
	StatusReasonPushImageToRegistryFailed StatusReason = "PushImageToRegistryFailed"

	// StatusReasonPullBuilderImageFailed indicates that we failed to pull the
	// builder image.
	StatusReasonPullBuilderImageFailed StatusReason = "PullBuilderImageFailed"

	// StatusReasonFetchSourceFailed indicates that fetching the source of the
	// build has failed.
	StatusReasonFetchSourceFailed StatusReason = "FetchSourceFailed"

	// StatusReasonFetchImageContentFailed indicates that the fetching of an image and extracting
	// its contents for inclusion in the build has failed.
	StatusReasonFetchImageContentFailed StatusReason = "FetchImageContentFailed"

	// StatusReasonManageDockerfileFailed indicates that the set up of the Dockerfile for the build
	// has failed.
	StatusReasonManageDockerfileFailed StatusReason = "ManageDockerfileFailed"

	// StatusReasonInvalidContextDirectory indicates that the supplied
	// contextDir does not exist
	StatusReasonInvalidContextDirectory StatusReason = "InvalidContextDirectory"

	// StatusReasonCancelledBuild indicates that the build was cancelled by the
	// user.
	StatusReasonCancelledBuild StatusReason = "CancelledBuild"

	// StatusReasonDockerBuildFailed indicates that the container image build strategy has
	// failed.
	StatusReasonDockerBuildFailed StatusReason = "DockerBuildFailed"

	// StatusReasonBuildPodExists indicates that the build tried to create a
	// build pod but one was already present.
	StatusReasonBuildPodExists StatusReason = "BuildPodExists"

	// StatusReasonNoBuildContainerStatus indicates that the build failed because the
	// the build pod has no container statuses.
	StatusReasonNoBuildContainerStatus StatusReason = "NoBuildContainerStatus"

	// StatusReasonFailedContainer indicates that the pod for the build has at least
	// one container with a non-zero exit status.
	StatusReasonFailedContainer StatusReason = "FailedContainer"

	// StatusReasonUnresolvableEnvironmentVariable indicates that an error occurred processing
	// the supplied options for environment variables in the build strategy environment
	StatusReasonUnresolvableEnvironmentVariable StatusReason = "UnresolvableEnvironmentVariable"

	// StatusReasonGenericBuildFailed is the reason associated with a broad
	// range of build failures.
	StatusReasonGenericBuildFailed StatusReason = "GenericBuildFailed"

	// StatusReasonOutOfMemoryKilled indicates that the build pod was killed for its memory consumption
	StatusReasonOutOfMemoryKilled StatusReason = "OutOfMemoryKilled"

	// StatusReasonCannotRetrieveServiceAccount is the reason associated with a failure
	// to look up the service account associated with the BuildConfig.
	StatusReasonCannotRetrieveServiceAccount StatusReason = "CannotRetrieveServiceAccount"

	// StatusReasonBuildPodEvicted is the reason a build fails due to the build pod being evicted
	// from its node
	StatusReasonBuildPodEvicted StatusReason = "BuildPodEvicted"
)

type StepInfo

type StepInfo struct {
	// name is a unique identifier for each build step.
	Name StepName `json:"name,omitempty" protobuf:"bytes,1,opt,name=name"`

	// startTime is a timestamp representing the server time when this Step started.
	// it is represented in RFC3339 form and is in UTC.
	StartTime metav1.Time `json:"startTime,omitempty" protobuf:"bytes,2,opt,name=startTime"`

	// durationMilliseconds identifies how long the step took
	// to complete in milliseconds.
	DurationMilliseconds int64 `json:"durationMilliseconds,omitempty" protobuf:"varint,3,opt,name=durationMilliseconds"`
}

StepInfo contains details about a build step.

func (*StepInfo) DeepCopy

func (in *StepInfo) DeepCopy() *StepInfo

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new StepInfo.

func (*StepInfo) DeepCopyInto

func (in *StepInfo) DeepCopyInto(out *StepInfo)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*StepInfo) Descriptor

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

func (*StepInfo) Marshal

func (m *StepInfo) Marshal() (dAtA []byte, err error)

func (*StepInfo) MarshalTo

func (m *StepInfo) MarshalTo(dAtA []byte) (int, error)

func (*StepInfo) MarshalToSizedBuffer

func (m *StepInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StepInfo) ProtoMessage

func (*StepInfo) ProtoMessage()

func (*StepInfo) Reset

func (m *StepInfo) Reset()

func (*StepInfo) Size

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

func (*StepInfo) String

func (this *StepInfo) String() string

func (StepInfo) SwaggerDoc

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

func (*StepInfo) Unmarshal

func (m *StepInfo) Unmarshal(dAtA []byte) error

func (*StepInfo) XXX_DiscardUnknown

func (m *StepInfo) XXX_DiscardUnknown()

func (*StepInfo) XXX_Marshal

func (m *StepInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StepInfo) XXX_Merge

func (m *StepInfo) XXX_Merge(src proto.Message)

func (*StepInfo) XXX_Size

func (m *StepInfo) XXX_Size() int

func (*StepInfo) XXX_Unmarshal

func (m *StepInfo) XXX_Unmarshal(b []byte) error

type StepName

type StepName string

StepName is a unique identifier for each build step.

const (
	// StepExecPostCommitHook executes the buildconfigs post commit hook.
	StepExecPostCommitHook StepName = "RunPostCommitHook"

	// StepFetchGitSource fetches source code for the build.
	StepFetchGitSource StepName = "FetchGitSource"

	// StepPullBaseImage pulls a base image for the build.
	StepPullBaseImage StepName = "PullBaseImage"

	// StepPullInputImage pulls an input image for the build.
	StepPullInputImage StepName = "PullInputImage"

	// StepPushImage pushes an image to the registry.
	StepPushImage StepName = "PushImage"

	// StepPushDockerImage pushes a container image to the registry.
	StepPushDockerImage StepName = "PushDockerImage"

	//StepDockerBuild performs the container image build
	StepDockerBuild StepName = "DockerBuild"
)

Valid values for StepName

type WebHookTrigger

type WebHookTrigger struct {
	// secret used to validate requests.
	// Deprecated: use SecretReference instead.
	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"`

	// secretReference is a reference to a secret in the same namespace,
	// containing the value to be validated when the webhook is invoked.
	// The secret being referenced must contain a key named "WebHookSecretKey", the value
	// of which will be checked against the value supplied in the webhook invocation.
	SecretReference *SecretLocalReference `json:"secretReference,omitempty" protobuf:"bytes,3,opt,name=secretReference"`
}

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

func (*WebHookTrigger) DeepCopy

func (in *WebHookTrigger) DeepCopy() *WebHookTrigger

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebHookTrigger.

func (*WebHookTrigger) DeepCopyInto

func (in *WebHookTrigger) DeepCopyInto(out *WebHookTrigger)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*WebHookTrigger) Descriptor

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

func (*WebHookTrigger) Marshal

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

func (*WebHookTrigger) MarshalTo

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

func (*WebHookTrigger) MarshalToSizedBuffer

func (m *WebHookTrigger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WebHookTrigger) ProtoMessage

func (*WebHookTrigger) ProtoMessage()

func (*WebHookTrigger) Reset

func (m *WebHookTrigger) Reset()

func (*WebHookTrigger) Size

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

func (*WebHookTrigger) String

func (this *WebHookTrigger) String() string

func (WebHookTrigger) SwaggerDoc

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

func (*WebHookTrigger) Unmarshal

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

func (*WebHookTrigger) XXX_DiscardUnknown

func (m *WebHookTrigger) XXX_DiscardUnknown()

func (*WebHookTrigger) XXX_Marshal

func (m *WebHookTrigger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WebHookTrigger) XXX_Merge

func (m *WebHookTrigger) XXX_Merge(src proto.Message)

func (*WebHookTrigger) XXX_Size

func (m *WebHookTrigger) XXX_Size() int

func (*WebHookTrigger) XXX_Unmarshal

func (m *WebHookTrigger) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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