Documentation ¶
Index ¶
- type BinaryBuildSourceApplyConfiguration
- type BitbucketWebHookCauseApplyConfiguration
- type BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithSpec(value *BuildSpecApplyConfiguration) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithStatus(value *BuildStatusApplyConfiguration) *BuildApplyConfiguration
- func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfiguration
- type BuildConditionApplyConfiguration
- func (b *BuildConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *BuildConditionApplyConfiguration
- func (b *BuildConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *BuildConditionApplyConfiguration
- func (b *BuildConditionApplyConfiguration) WithMessage(value string) *BuildConditionApplyConfiguration
- func (b *BuildConditionApplyConfiguration) WithReason(value string) *BuildConditionApplyConfiguration
- func (b *BuildConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *BuildConditionApplyConfiguration
- func (b *BuildConditionApplyConfiguration) WithType(value v1.BuildConditionType) *BuildConditionApplyConfiguration
- type BuildConfigApplyConfiguration
- func BuildConfig(name, namespace string) *BuildConfigApplyConfiguration
- func ExtractBuildConfig(buildConfig *apibuildv1.BuildConfig, fieldManager string) (*BuildConfigApplyConfiguration, error)
- func ExtractBuildConfigStatus(buildConfig *apibuildv1.BuildConfig, fieldManager string) (*BuildConfigApplyConfiguration, error)
- func (b *BuildConfigApplyConfiguration) WithAPIVersion(value string) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithAnnotations(entries map[string]string) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithFinalizers(values ...string) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithGenerateName(value string) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithGeneration(value int64) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithKind(value string) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithLabels(entries map[string]string) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithName(value string) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithNamespace(value string) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithResourceVersion(value string) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithSpec(value *BuildConfigSpecApplyConfiguration) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithStatus(value *BuildConfigStatusApplyConfiguration) *BuildConfigApplyConfiguration
- func (b *BuildConfigApplyConfiguration) WithUID(value types.UID) *BuildConfigApplyConfiguration
- type BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithCompletionDeadlineSeconds(value int64) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithFailedBuildsHistoryLimit(value int32) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithMountTrustedCA(value bool) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithNodeSelector(value buildv1.OptionalNodeSelector) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithOutput(value *BuildOutputApplyConfiguration) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithPostCommit(value *BuildPostCommitSpecApplyConfiguration) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithRunPolicy(value buildv1.BuildRunPolicy) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithServiceAccount(value string) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithSource(value *BuildSourceApplyConfiguration) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithStrategy(value *BuildStrategyApplyConfiguration) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithSuccessfulBuildsHistoryLimit(value int32) *BuildConfigSpecApplyConfiguration
- func (b *BuildConfigSpecApplyConfiguration) WithTriggers(values ...*BuildTriggerPolicyApplyConfiguration) *BuildConfigSpecApplyConfiguration
- type BuildConfigStatusApplyConfiguration
- type BuildOutputApplyConfiguration
- func (b *BuildOutputApplyConfiguration) WithImageLabels(values ...*ImageLabelApplyConfiguration) *BuildOutputApplyConfiguration
- func (b *BuildOutputApplyConfiguration) WithPushSecret(value v1.LocalObjectReference) *BuildOutputApplyConfiguration
- func (b *BuildOutputApplyConfiguration) WithTo(value v1.ObjectReference) *BuildOutputApplyConfiguration
- type BuildPostCommitSpecApplyConfiguration
- func (b *BuildPostCommitSpecApplyConfiguration) WithArgs(values ...string) *BuildPostCommitSpecApplyConfiguration
- func (b *BuildPostCommitSpecApplyConfiguration) WithCommand(values ...string) *BuildPostCommitSpecApplyConfiguration
- func (b *BuildPostCommitSpecApplyConfiguration) WithScript(value string) *BuildPostCommitSpecApplyConfiguration
- type BuildSourceApplyConfiguration
- func (b *BuildSourceApplyConfiguration) WithBinary(value *BinaryBuildSourceApplyConfiguration) *BuildSourceApplyConfiguration
- func (b *BuildSourceApplyConfiguration) WithConfigMaps(values ...*ConfigMapBuildSourceApplyConfiguration) *BuildSourceApplyConfiguration
- func (b *BuildSourceApplyConfiguration) WithContextDir(value string) *BuildSourceApplyConfiguration
- func (b *BuildSourceApplyConfiguration) WithDockerfile(value string) *BuildSourceApplyConfiguration
- func (b *BuildSourceApplyConfiguration) WithGit(value *GitBuildSourceApplyConfiguration) *BuildSourceApplyConfiguration
- func (b *BuildSourceApplyConfiguration) WithImages(values ...*ImageSourceApplyConfiguration) *BuildSourceApplyConfiguration
- func (b *BuildSourceApplyConfiguration) WithSecrets(values ...*SecretBuildSourceApplyConfiguration) *BuildSourceApplyConfiguration
- func (b *BuildSourceApplyConfiguration) WithSourceSecret(value corev1.LocalObjectReference) *BuildSourceApplyConfiguration
- func (b *BuildSourceApplyConfiguration) WithType(value v1.BuildSourceType) *BuildSourceApplyConfiguration
- type BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithCompletionDeadlineSeconds(value int64) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithMountTrustedCA(value bool) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithNodeSelector(value buildv1.OptionalNodeSelector) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithOutput(value *BuildOutputApplyConfiguration) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithPostCommit(value *BuildPostCommitSpecApplyConfiguration) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithServiceAccount(value string) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithSource(value *BuildSourceApplyConfiguration) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithStrategy(value *BuildStrategyApplyConfiguration) *BuildSpecApplyConfiguration
- func (b *BuildSpecApplyConfiguration) WithTriggeredBy(values ...*BuildTriggerCauseApplyConfiguration) *BuildSpecApplyConfiguration
- type BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithCancelled(value bool) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithCompletionTimestamp(value metav1.Time) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithConditions(values ...*BuildConditionApplyConfiguration) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithConfig(value corev1.ObjectReference) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithDuration(value time.Duration) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithLogSnippet(value string) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithMessage(value string) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithOutput(value *BuildStatusOutputApplyConfiguration) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithOutputDockerImageReference(value string) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithPhase(value v1.BuildPhase) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithReason(value v1.StatusReason) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithStages(values ...*StageInfoApplyConfiguration) *BuildStatusApplyConfiguration
- func (b *BuildStatusApplyConfiguration) WithStartTimestamp(value metav1.Time) *BuildStatusApplyConfiguration
- type BuildStatusOutputApplyConfiguration
- type BuildStatusOutputToApplyConfiguration
- type BuildStrategyApplyConfiguration
- func (b *BuildStrategyApplyConfiguration) WithCustomStrategy(value *CustomBuildStrategyApplyConfiguration) *BuildStrategyApplyConfiguration
- func (b *BuildStrategyApplyConfiguration) WithDockerStrategy(value *DockerBuildStrategyApplyConfiguration) *BuildStrategyApplyConfiguration
- func (b *BuildStrategyApplyConfiguration) WithJenkinsPipelineStrategy(value *JenkinsPipelineBuildStrategyApplyConfiguration) *BuildStrategyApplyConfiguration
- func (b *BuildStrategyApplyConfiguration) WithSourceStrategy(value *SourceBuildStrategyApplyConfiguration) *BuildStrategyApplyConfiguration
- func (b *BuildStrategyApplyConfiguration) WithType(value v1.BuildStrategyType) *BuildStrategyApplyConfiguration
- type BuildTriggerCauseApplyConfiguration
- func (b *BuildTriggerCauseApplyConfiguration) WithBitbucketWebHook(value *BitbucketWebHookCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
- func (b *BuildTriggerCauseApplyConfiguration) WithGenericWebHook(value *GenericWebHookCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
- func (b *BuildTriggerCauseApplyConfiguration) WithGitHubWebHook(value *GitHubWebHookCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
- func (b *BuildTriggerCauseApplyConfiguration) WithGitLabWebHook(value *GitLabWebHookCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
- func (b *BuildTriggerCauseApplyConfiguration) WithImageChangeBuild(value *ImageChangeCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
- func (b *BuildTriggerCauseApplyConfiguration) WithMessage(value string) *BuildTriggerCauseApplyConfiguration
- type BuildTriggerPolicyApplyConfiguration
- func (b *BuildTriggerPolicyApplyConfiguration) WithBitbucketWebHook(value *WebHookTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
- func (b *BuildTriggerPolicyApplyConfiguration) WithGenericWebHook(value *WebHookTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
- func (b *BuildTriggerPolicyApplyConfiguration) WithGitHubWebHook(value *WebHookTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
- func (b *BuildTriggerPolicyApplyConfiguration) WithGitLabWebHook(value *WebHookTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
- func (b *BuildTriggerPolicyApplyConfiguration) WithImageChange(value *ImageChangeTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
- func (b *BuildTriggerPolicyApplyConfiguration) WithType(value v1.BuildTriggerType) *BuildTriggerPolicyApplyConfiguration
- type BuildVolumeApplyConfiguration
- func (b *BuildVolumeApplyConfiguration) WithMounts(values ...*BuildVolumeMountApplyConfiguration) *BuildVolumeApplyConfiguration
- func (b *BuildVolumeApplyConfiguration) WithName(value string) *BuildVolumeApplyConfiguration
- func (b *BuildVolumeApplyConfiguration) WithSource(value *BuildVolumeSourceApplyConfiguration) *BuildVolumeApplyConfiguration
- type BuildVolumeMountApplyConfiguration
- type BuildVolumeSourceApplyConfiguration
- func (b *BuildVolumeSourceApplyConfiguration) WithCSI(value corev1.CSIVolumeSource) *BuildVolumeSourceApplyConfiguration
- func (b *BuildVolumeSourceApplyConfiguration) WithConfigMap(value corev1.ConfigMapVolumeSource) *BuildVolumeSourceApplyConfiguration
- func (b *BuildVolumeSourceApplyConfiguration) WithSecret(value corev1.SecretVolumeSource) *BuildVolumeSourceApplyConfiguration
- func (b *BuildVolumeSourceApplyConfiguration) WithType(value v1.BuildVolumeSourceType) *BuildVolumeSourceApplyConfiguration
- type CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithCompletionDeadlineSeconds(value int64) *CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithMountTrustedCA(value bool) *CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithNodeSelector(value buildv1.OptionalNodeSelector) *CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithOutput(value *BuildOutputApplyConfiguration) *CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithPostCommit(value *BuildPostCommitSpecApplyConfiguration) *CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithServiceAccount(value string) *CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithSource(value *BuildSourceApplyConfiguration) *CommonSpecApplyConfiguration
- func (b *CommonSpecApplyConfiguration) WithStrategy(value *BuildStrategyApplyConfiguration) *CommonSpecApplyConfiguration
- type CommonWebHookCauseApplyConfiguration
- type ConfigMapBuildSourceApplyConfiguration
- type CustomBuildStrategyApplyConfiguration
- func (b *CustomBuildStrategyApplyConfiguration) WithBuildAPIVersion(value string) *CustomBuildStrategyApplyConfiguration
- func (b *CustomBuildStrategyApplyConfiguration) WithEnv(values ...v1.EnvVar) *CustomBuildStrategyApplyConfiguration
- func (b *CustomBuildStrategyApplyConfiguration) WithExposeDockerSocket(value bool) *CustomBuildStrategyApplyConfiguration
- func (b *CustomBuildStrategyApplyConfiguration) WithForcePull(value bool) *CustomBuildStrategyApplyConfiguration
- func (b *CustomBuildStrategyApplyConfiguration) WithFrom(value v1.ObjectReference) *CustomBuildStrategyApplyConfiguration
- func (b *CustomBuildStrategyApplyConfiguration) WithPullSecret(value v1.LocalObjectReference) *CustomBuildStrategyApplyConfiguration
- func (b *CustomBuildStrategyApplyConfiguration) WithSecrets(values ...*SecretSpecApplyConfiguration) *CustomBuildStrategyApplyConfiguration
- type DockerBuildStrategyApplyConfiguration
- func (b *DockerBuildStrategyApplyConfiguration) WithBuildArgs(values ...v1.EnvVar) *DockerBuildStrategyApplyConfiguration
- func (b *DockerBuildStrategyApplyConfiguration) WithDockerfilePath(value string) *DockerBuildStrategyApplyConfiguration
- func (b *DockerBuildStrategyApplyConfiguration) WithEnv(values ...v1.EnvVar) *DockerBuildStrategyApplyConfiguration
- func (b *DockerBuildStrategyApplyConfiguration) WithForcePull(value bool) *DockerBuildStrategyApplyConfiguration
- func (b *DockerBuildStrategyApplyConfiguration) WithFrom(value v1.ObjectReference) *DockerBuildStrategyApplyConfiguration
- func (b *DockerBuildStrategyApplyConfiguration) WithImageOptimizationPolicy(value buildv1.ImageOptimizationPolicy) *DockerBuildStrategyApplyConfiguration
- func (b *DockerBuildStrategyApplyConfiguration) WithNoCache(value bool) *DockerBuildStrategyApplyConfiguration
- func (b *DockerBuildStrategyApplyConfiguration) WithPullSecret(value v1.LocalObjectReference) *DockerBuildStrategyApplyConfiguration
- func (b *DockerBuildStrategyApplyConfiguration) WithVolumes(values ...*BuildVolumeApplyConfiguration) *DockerBuildStrategyApplyConfiguration
- type GenericWebHookCauseApplyConfiguration
- type GitBuildSourceApplyConfiguration
- func (b *GitBuildSourceApplyConfiguration) WithHTTPProxy(value string) *GitBuildSourceApplyConfiguration
- func (b *GitBuildSourceApplyConfiguration) WithHTTPSProxy(value string) *GitBuildSourceApplyConfiguration
- func (b *GitBuildSourceApplyConfiguration) WithNoProxy(value string) *GitBuildSourceApplyConfiguration
- func (b *GitBuildSourceApplyConfiguration) WithRef(value string) *GitBuildSourceApplyConfiguration
- func (b *GitBuildSourceApplyConfiguration) WithURI(value string) *GitBuildSourceApplyConfiguration
- type GitHubWebHookCauseApplyConfiguration
- type GitLabWebHookCauseApplyConfiguration
- type GitSourceRevisionApplyConfiguration
- func (b *GitSourceRevisionApplyConfiguration) WithAuthor(value *SourceControlUserApplyConfiguration) *GitSourceRevisionApplyConfiguration
- func (b *GitSourceRevisionApplyConfiguration) WithCommit(value string) *GitSourceRevisionApplyConfiguration
- func (b *GitSourceRevisionApplyConfiguration) WithCommitter(value *SourceControlUserApplyConfiguration) *GitSourceRevisionApplyConfiguration
- func (b *GitSourceRevisionApplyConfiguration) WithMessage(value string) *GitSourceRevisionApplyConfiguration
- type ImageChangeCauseApplyConfiguration
- type ImageChangeTriggerApplyConfiguration
- func (b *ImageChangeTriggerApplyConfiguration) WithFrom(value v1.ObjectReference) *ImageChangeTriggerApplyConfiguration
- func (b *ImageChangeTriggerApplyConfiguration) WithLastTriggeredImageID(value string) *ImageChangeTriggerApplyConfiguration
- func (b *ImageChangeTriggerApplyConfiguration) WithPaused(value bool) *ImageChangeTriggerApplyConfiguration
- type ImageChangeTriggerStatusApplyConfiguration
- func (b *ImageChangeTriggerStatusApplyConfiguration) WithFrom(value *ImageStreamTagReferenceApplyConfiguration) *ImageChangeTriggerStatusApplyConfiguration
- func (b *ImageChangeTriggerStatusApplyConfiguration) WithLastTriggerTime(value metav1.Time) *ImageChangeTriggerStatusApplyConfiguration
- func (b *ImageChangeTriggerStatusApplyConfiguration) WithLastTriggeredImageID(value string) *ImageChangeTriggerStatusApplyConfiguration
- type ImageLabelApplyConfiguration
- type ImageSourceApplyConfiguration
- func (b *ImageSourceApplyConfiguration) WithAs(values ...string) *ImageSourceApplyConfiguration
- func (b *ImageSourceApplyConfiguration) WithFrom(value v1.ObjectReference) *ImageSourceApplyConfiguration
- func (b *ImageSourceApplyConfiguration) WithPaths(values ...*ImageSourcePathApplyConfiguration) *ImageSourceApplyConfiguration
- func (b *ImageSourceApplyConfiguration) WithPullSecret(value v1.LocalObjectReference) *ImageSourceApplyConfiguration
- type ImageSourcePathApplyConfiguration
- type ImageStreamTagReferenceApplyConfiguration
- type JenkinsPipelineBuildStrategyApplyConfiguration
- func (b *JenkinsPipelineBuildStrategyApplyConfiguration) WithEnv(values ...v1.EnvVar) *JenkinsPipelineBuildStrategyApplyConfiguration
- func (b *JenkinsPipelineBuildStrategyApplyConfiguration) WithJenkinsfile(value string) *JenkinsPipelineBuildStrategyApplyConfiguration
- func (b *JenkinsPipelineBuildStrategyApplyConfiguration) WithJenkinsfilePath(value string) *JenkinsPipelineBuildStrategyApplyConfiguration
- type ProxyConfigApplyConfiguration
- type SecretBuildSourceApplyConfiguration
- type SecretLocalReferenceApplyConfiguration
- type SecretSpecApplyConfiguration
- type SourceBuildStrategyApplyConfiguration
- func (b *SourceBuildStrategyApplyConfiguration) WithEnv(values ...v1.EnvVar) *SourceBuildStrategyApplyConfiguration
- func (b *SourceBuildStrategyApplyConfiguration) WithForcePull(value bool) *SourceBuildStrategyApplyConfiguration
- func (b *SourceBuildStrategyApplyConfiguration) WithFrom(value v1.ObjectReference) *SourceBuildStrategyApplyConfiguration
- func (b *SourceBuildStrategyApplyConfiguration) WithIncremental(value bool) *SourceBuildStrategyApplyConfiguration
- func (b *SourceBuildStrategyApplyConfiguration) WithPullSecret(value v1.LocalObjectReference) *SourceBuildStrategyApplyConfiguration
- func (b *SourceBuildStrategyApplyConfiguration) WithScripts(value string) *SourceBuildStrategyApplyConfiguration
- func (b *SourceBuildStrategyApplyConfiguration) WithVolumes(values ...*BuildVolumeApplyConfiguration) *SourceBuildStrategyApplyConfiguration
- type SourceControlUserApplyConfiguration
- type SourceRevisionApplyConfiguration
- type StageInfoApplyConfiguration
- func (b *StageInfoApplyConfiguration) WithDurationMilliseconds(value int64) *StageInfoApplyConfiguration
- func (b *StageInfoApplyConfiguration) WithName(value v1.StageName) *StageInfoApplyConfiguration
- func (b *StageInfoApplyConfiguration) WithStartTime(value metav1.Time) *StageInfoApplyConfiguration
- func (b *StageInfoApplyConfiguration) WithSteps(values ...*StepInfoApplyConfiguration) *StageInfoApplyConfiguration
- type StepInfoApplyConfiguration
- type WebHookTriggerApplyConfiguration
- func (b *WebHookTriggerApplyConfiguration) WithAllowEnv(value bool) *WebHookTriggerApplyConfiguration
- func (b *WebHookTriggerApplyConfiguration) WithSecret(value string) *WebHookTriggerApplyConfiguration
- func (b *WebHookTriggerApplyConfiguration) WithSecretReference(value *SecretLocalReferenceApplyConfiguration) *WebHookTriggerApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BinaryBuildSourceApplyConfiguration ¶
type BinaryBuildSourceApplyConfiguration struct {
AsFile *string `json:"asFile,omitempty"`
}
BinaryBuildSourceApplyConfiguration represents an declarative configuration of the BinaryBuildSource type for use with apply.
func BinaryBuildSource ¶
func BinaryBuildSource() *BinaryBuildSourceApplyConfiguration
BinaryBuildSourceApplyConfiguration constructs an declarative configuration of the BinaryBuildSource type for use with apply.
func (*BinaryBuildSourceApplyConfiguration) WithAsFile ¶
func (b *BinaryBuildSourceApplyConfiguration) WithAsFile(value string) *BinaryBuildSourceApplyConfiguration
WithAsFile sets the AsFile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AsFile field is set to the value of the last call.
type BitbucketWebHookCauseApplyConfiguration ¶
type BitbucketWebHookCauseApplyConfiguration struct {
CommonWebHookCauseApplyConfiguration `json:",inline"`
}
BitbucketWebHookCauseApplyConfiguration represents an declarative configuration of the BitbucketWebHookCause type for use with apply.
func BitbucketWebHookCause ¶
func BitbucketWebHookCause() *BitbucketWebHookCauseApplyConfiguration
BitbucketWebHookCauseApplyConfiguration constructs an declarative configuration of the BitbucketWebHookCause type for use with apply.
func (*BitbucketWebHookCauseApplyConfiguration) WithRevision ¶
func (b *BitbucketWebHookCauseApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *BitbucketWebHookCauseApplyConfiguration
WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.
func (*BitbucketWebHookCauseApplyConfiguration) WithSecret ¶
func (b *BitbucketWebHookCauseApplyConfiguration) WithSecret(value string) *BitbucketWebHookCauseApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
type BuildApplyConfiguration ¶
type BuildApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BuildSpecApplyConfiguration `json:"spec,omitempty"` Status *BuildStatusApplyConfiguration `json:"status,omitempty"` }
BuildApplyConfiguration represents an declarative configuration of the Build type for use with apply.
func Build ¶
func Build(name, namespace string) *BuildApplyConfiguration
Build constructs an declarative configuration of the Build type for use with apply.
func ExtractBuild ¶
func ExtractBuild(build *apibuildv1.Build, fieldManager string) (*BuildApplyConfiguration, error)
ExtractBuild extracts the applied configuration owned by fieldManager from build. If no managedFields are found in build for fieldManager, a BuildApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. build must be a unmodified Build API object that was retrieved from the Kubernetes API. ExtractBuild provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractBuildStatus ¶
func ExtractBuildStatus(build *apibuildv1.Build, fieldManager string) (*BuildApplyConfiguration, error)
ExtractBuildStatus is the same as ExtractBuild except that it extracts the status subresource applied configuration. Experimental!
func (*BuildApplyConfiguration) WithAPIVersion ¶
func (b *BuildApplyConfiguration) WithAPIVersion(value string) *BuildApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*BuildApplyConfiguration) WithAnnotations ¶
func (b *BuildApplyConfiguration) WithAnnotations(entries map[string]string) *BuildApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*BuildApplyConfiguration) WithCreationTimestamp ¶
func (b *BuildApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BuildApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*BuildApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *BuildApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BuildApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*BuildApplyConfiguration) WithDeletionTimestamp ¶
func (b *BuildApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BuildApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*BuildApplyConfiguration) WithFinalizers ¶
func (b *BuildApplyConfiguration) WithFinalizers(values ...string) *BuildApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*BuildApplyConfiguration) WithGenerateName ¶
func (b *BuildApplyConfiguration) WithGenerateName(value string) *BuildApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*BuildApplyConfiguration) WithGeneration ¶
func (b *BuildApplyConfiguration) WithGeneration(value int64) *BuildApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*BuildApplyConfiguration) WithKind ¶
func (b *BuildApplyConfiguration) WithKind(value string) *BuildApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*BuildApplyConfiguration) WithLabels ¶
func (b *BuildApplyConfiguration) WithLabels(entries map[string]string) *BuildApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*BuildApplyConfiguration) WithName ¶
func (b *BuildApplyConfiguration) WithName(value string) *BuildApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*BuildApplyConfiguration) WithNamespace ¶
func (b *BuildApplyConfiguration) WithNamespace(value string) *BuildApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*BuildApplyConfiguration) WithOwnerReferences ¶
func (b *BuildApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BuildApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*BuildApplyConfiguration) WithResourceVersion ¶
func (b *BuildApplyConfiguration) WithResourceVersion(value string) *BuildApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*BuildApplyConfiguration) WithSpec ¶
func (b *BuildApplyConfiguration) WithSpec(value *BuildSpecApplyConfiguration) *BuildApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*BuildApplyConfiguration) WithStatus ¶
func (b *BuildApplyConfiguration) WithStatus(value *BuildStatusApplyConfiguration) *BuildApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*BuildApplyConfiguration) WithUID ¶
func (b *BuildApplyConfiguration) WithUID(value types.UID) *BuildApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type BuildConditionApplyConfiguration ¶
type BuildConditionApplyConfiguration struct { Type *v1.BuildConditionType `json:"type,omitempty"` Status *corev1.ConditionStatus `json:"status,omitempty"` LastUpdateTime *metav1.Time `json:"lastUpdateTime,omitempty"` LastTransitionTime *metav1.Time `json:"lastTransitionTime,omitempty"` Reason *string `json:"reason,omitempty"` Message *string `json:"message,omitempty"` }
BuildConditionApplyConfiguration represents an declarative configuration of the BuildCondition type for use with apply.
func BuildCondition ¶
func BuildCondition() *BuildConditionApplyConfiguration
BuildConditionApplyConfiguration constructs an declarative configuration of the BuildCondition type for use with apply.
func (*BuildConditionApplyConfiguration) WithLastTransitionTime ¶
func (b *BuildConditionApplyConfiguration) WithLastTransitionTime(value metav1.Time) *BuildConditionApplyConfiguration
WithLastTransitionTime sets the LastTransitionTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTransitionTime field is set to the value of the last call.
func (*BuildConditionApplyConfiguration) WithLastUpdateTime ¶
func (b *BuildConditionApplyConfiguration) WithLastUpdateTime(value metav1.Time) *BuildConditionApplyConfiguration
WithLastUpdateTime sets the LastUpdateTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastUpdateTime field is set to the value of the last call.
func (*BuildConditionApplyConfiguration) WithMessage ¶
func (b *BuildConditionApplyConfiguration) WithMessage(value string) *BuildConditionApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*BuildConditionApplyConfiguration) WithReason ¶
func (b *BuildConditionApplyConfiguration) WithReason(value string) *BuildConditionApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*BuildConditionApplyConfiguration) WithStatus ¶
func (b *BuildConditionApplyConfiguration) WithStatus(value corev1.ConditionStatus) *BuildConditionApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*BuildConditionApplyConfiguration) WithType ¶
func (b *BuildConditionApplyConfiguration) WithType(value v1.BuildConditionType) *BuildConditionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type BuildConfigApplyConfiguration ¶
type BuildConfigApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *BuildConfigSpecApplyConfiguration `json:"spec,omitempty"` Status *BuildConfigStatusApplyConfiguration `json:"status,omitempty"` }
BuildConfigApplyConfiguration represents an declarative configuration of the BuildConfig type for use with apply.
func BuildConfig ¶
func BuildConfig(name, namespace string) *BuildConfigApplyConfiguration
BuildConfig constructs an declarative configuration of the BuildConfig type for use with apply.
func ExtractBuildConfig ¶
func ExtractBuildConfig(buildConfig *apibuildv1.BuildConfig, fieldManager string) (*BuildConfigApplyConfiguration, error)
ExtractBuildConfig extracts the applied configuration owned by fieldManager from buildConfig. If no managedFields are found in buildConfig for fieldManager, a BuildConfigApplyConfiguration is returned with only the Name, Namespace (if applicable), APIVersion and Kind populated. It is possible that no managed fields were found for because other field managers have taken ownership of all the fields previously owned by fieldManager, or because the fieldManager never owned fields any fields. buildConfig must be a unmodified BuildConfig API object that was retrieved from the Kubernetes API. ExtractBuildConfig provides a way to perform a extract/modify-in-place/apply workflow. Note that an extracted apply configuration will contain fewer fields than what the fieldManager previously applied if another fieldManager has updated or force applied any of the previously applied fields. Experimental!
func ExtractBuildConfigStatus ¶
func ExtractBuildConfigStatus(buildConfig *apibuildv1.BuildConfig, fieldManager string) (*BuildConfigApplyConfiguration, error)
ExtractBuildConfigStatus is the same as ExtractBuildConfig except that it extracts the status subresource applied configuration. Experimental!
func (*BuildConfigApplyConfiguration) WithAPIVersion ¶
func (b *BuildConfigApplyConfiguration) WithAPIVersion(value string) *BuildConfigApplyConfiguration
WithAPIVersion sets the APIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the APIVersion field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithAnnotations ¶
func (b *BuildConfigApplyConfiguration) WithAnnotations(entries map[string]string) *BuildConfigApplyConfiguration
WithAnnotations puts the entries into the Annotations field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Annotations field, overwriting an existing map entries in Annotations field with the same key.
func (*BuildConfigApplyConfiguration) WithCreationTimestamp ¶
func (b *BuildConfigApplyConfiguration) WithCreationTimestamp(value metav1.Time) *BuildConfigApplyConfiguration
WithCreationTimestamp sets the CreationTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CreationTimestamp field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *BuildConfigApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *BuildConfigApplyConfiguration
WithDeletionGracePeriodSeconds sets the DeletionGracePeriodSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionGracePeriodSeconds field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithDeletionTimestamp ¶
func (b *BuildConfigApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *BuildConfigApplyConfiguration
WithDeletionTimestamp sets the DeletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DeletionTimestamp field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithFinalizers ¶
func (b *BuildConfigApplyConfiguration) WithFinalizers(values ...string) *BuildConfigApplyConfiguration
WithFinalizers adds the given value to the Finalizers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Finalizers field.
func (*BuildConfigApplyConfiguration) WithGenerateName ¶
func (b *BuildConfigApplyConfiguration) WithGenerateName(value string) *BuildConfigApplyConfiguration
WithGenerateName sets the GenerateName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenerateName field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithGeneration ¶
func (b *BuildConfigApplyConfiguration) WithGeneration(value int64) *BuildConfigApplyConfiguration
WithGeneration sets the Generation field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Generation field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithKind ¶
func (b *BuildConfigApplyConfiguration) WithKind(value string) *BuildConfigApplyConfiguration
WithKind sets the Kind field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Kind field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithLabels ¶
func (b *BuildConfigApplyConfiguration) WithLabels(entries map[string]string) *BuildConfigApplyConfiguration
WithLabels puts the entries into the Labels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, the entries provided by each call will be put on the Labels field, overwriting an existing map entries in Labels field with the same key.
func (*BuildConfigApplyConfiguration) WithName ¶
func (b *BuildConfigApplyConfiguration) WithName(value string) *BuildConfigApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithNamespace ¶
func (b *BuildConfigApplyConfiguration) WithNamespace(value string) *BuildConfigApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithOwnerReferences ¶
func (b *BuildConfigApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *BuildConfigApplyConfiguration
WithOwnerReferences adds the given value to the OwnerReferences field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the OwnerReferences field.
func (*BuildConfigApplyConfiguration) WithResourceVersion ¶
func (b *BuildConfigApplyConfiguration) WithResourceVersion(value string) *BuildConfigApplyConfiguration
WithResourceVersion sets the ResourceVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ResourceVersion field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithSpec ¶
func (b *BuildConfigApplyConfiguration) WithSpec(value *BuildConfigSpecApplyConfiguration) *BuildConfigApplyConfiguration
WithSpec sets the Spec field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Spec field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithStatus ¶
func (b *BuildConfigApplyConfiguration) WithStatus(value *BuildConfigStatusApplyConfiguration) *BuildConfigApplyConfiguration
WithStatus sets the Status field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Status field is set to the value of the last call.
func (*BuildConfigApplyConfiguration) WithUID ¶
func (b *BuildConfigApplyConfiguration) WithUID(value types.UID) *BuildConfigApplyConfiguration
WithUID sets the UID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the UID field is set to the value of the last call.
type BuildConfigSpecApplyConfiguration ¶
type BuildConfigSpecApplyConfiguration struct { Triggers []BuildTriggerPolicyApplyConfiguration `json:"triggers,omitempty"` RunPolicy *buildv1.BuildRunPolicy `json:"runPolicy,omitempty"` CommonSpecApplyConfiguration `json:",inline"` SuccessfulBuildsHistoryLimit *int32 `json:"successfulBuildsHistoryLimit,omitempty"` FailedBuildsHistoryLimit *int32 `json:"failedBuildsHistoryLimit,omitempty"` }
BuildConfigSpecApplyConfiguration represents an declarative configuration of the BuildConfigSpec type for use with apply.
func BuildConfigSpec ¶
func BuildConfigSpec() *BuildConfigSpecApplyConfiguration
BuildConfigSpecApplyConfiguration constructs an declarative configuration of the BuildConfigSpec type for use with apply.
func (*BuildConfigSpecApplyConfiguration) WithCompletionDeadlineSeconds ¶
func (b *BuildConfigSpecApplyConfiguration) WithCompletionDeadlineSeconds(value int64) *BuildConfigSpecApplyConfiguration
WithCompletionDeadlineSeconds sets the CompletionDeadlineSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CompletionDeadlineSeconds field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithFailedBuildsHistoryLimit ¶
func (b *BuildConfigSpecApplyConfiguration) WithFailedBuildsHistoryLimit(value int32) *BuildConfigSpecApplyConfiguration
WithFailedBuildsHistoryLimit sets the FailedBuildsHistoryLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FailedBuildsHistoryLimit field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithMountTrustedCA ¶
func (b *BuildConfigSpecApplyConfiguration) WithMountTrustedCA(value bool) *BuildConfigSpecApplyConfiguration
WithMountTrustedCA sets the MountTrustedCA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MountTrustedCA field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithNodeSelector ¶
func (b *BuildConfigSpecApplyConfiguration) WithNodeSelector(value buildv1.OptionalNodeSelector) *BuildConfigSpecApplyConfiguration
WithNodeSelector sets the NodeSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeSelector field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithOutput ¶
func (b *BuildConfigSpecApplyConfiguration) WithOutput(value *BuildOutputApplyConfiguration) *BuildConfigSpecApplyConfiguration
WithOutput sets the Output field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Output field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithPostCommit ¶
func (b *BuildConfigSpecApplyConfiguration) WithPostCommit(value *BuildPostCommitSpecApplyConfiguration) *BuildConfigSpecApplyConfiguration
WithPostCommit sets the PostCommit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PostCommit field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithResources ¶
func (b *BuildConfigSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *BuildConfigSpecApplyConfiguration
WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithRevision ¶
func (b *BuildConfigSpecApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *BuildConfigSpecApplyConfiguration
WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithRunPolicy ¶
func (b *BuildConfigSpecApplyConfiguration) WithRunPolicy(value buildv1.BuildRunPolicy) *BuildConfigSpecApplyConfiguration
WithRunPolicy sets the RunPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunPolicy field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithServiceAccount ¶
func (b *BuildConfigSpecApplyConfiguration) WithServiceAccount(value string) *BuildConfigSpecApplyConfiguration
WithServiceAccount sets the ServiceAccount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceAccount field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithSource ¶
func (b *BuildConfigSpecApplyConfiguration) WithSource(value *BuildSourceApplyConfiguration) *BuildConfigSpecApplyConfiguration
WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithStrategy ¶
func (b *BuildConfigSpecApplyConfiguration) WithStrategy(value *BuildStrategyApplyConfiguration) *BuildConfigSpecApplyConfiguration
WithStrategy sets the Strategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Strategy field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithSuccessfulBuildsHistoryLimit ¶
func (b *BuildConfigSpecApplyConfiguration) WithSuccessfulBuildsHistoryLimit(value int32) *BuildConfigSpecApplyConfiguration
WithSuccessfulBuildsHistoryLimit sets the SuccessfulBuildsHistoryLimit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SuccessfulBuildsHistoryLimit field is set to the value of the last call.
func (*BuildConfigSpecApplyConfiguration) WithTriggers ¶
func (b *BuildConfigSpecApplyConfiguration) WithTriggers(values ...*BuildTriggerPolicyApplyConfiguration) *BuildConfigSpecApplyConfiguration
WithTriggers adds the given value to the Triggers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Triggers field.
type BuildConfigStatusApplyConfiguration ¶
type BuildConfigStatusApplyConfiguration struct { LastVersion *int64 `json:"lastVersion,omitempty"` ImageChangeTriggers []ImageChangeTriggerStatusApplyConfiguration `json:"imageChangeTriggers,omitempty"` }
BuildConfigStatusApplyConfiguration represents an declarative configuration of the BuildConfigStatus type for use with apply.
func BuildConfigStatus ¶
func BuildConfigStatus() *BuildConfigStatusApplyConfiguration
BuildConfigStatusApplyConfiguration constructs an declarative configuration of the BuildConfigStatus type for use with apply.
func (*BuildConfigStatusApplyConfiguration) WithImageChangeTriggers ¶
func (b *BuildConfigStatusApplyConfiguration) WithImageChangeTriggers(values ...*ImageChangeTriggerStatusApplyConfiguration) *BuildConfigStatusApplyConfiguration
WithImageChangeTriggers adds the given value to the ImageChangeTriggers field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ImageChangeTriggers field.
func (*BuildConfigStatusApplyConfiguration) WithLastVersion ¶
func (b *BuildConfigStatusApplyConfiguration) WithLastVersion(value int64) *BuildConfigStatusApplyConfiguration
WithLastVersion sets the LastVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastVersion field is set to the value of the last call.
type BuildOutputApplyConfiguration ¶
type BuildOutputApplyConfiguration struct { To *v1.ObjectReference `json:"to,omitempty"` PushSecret *v1.LocalObjectReference `json:"pushSecret,omitempty"` ImageLabels []ImageLabelApplyConfiguration `json:"imageLabels,omitempty"` }
BuildOutputApplyConfiguration represents an declarative configuration of the BuildOutput type for use with apply.
func BuildOutput ¶
func BuildOutput() *BuildOutputApplyConfiguration
BuildOutputApplyConfiguration constructs an declarative configuration of the BuildOutput type for use with apply.
func (*BuildOutputApplyConfiguration) WithImageLabels ¶
func (b *BuildOutputApplyConfiguration) WithImageLabels(values ...*ImageLabelApplyConfiguration) *BuildOutputApplyConfiguration
WithImageLabels adds the given value to the ImageLabels field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ImageLabels field.
func (*BuildOutputApplyConfiguration) WithPushSecret ¶
func (b *BuildOutputApplyConfiguration) WithPushSecret(value v1.LocalObjectReference) *BuildOutputApplyConfiguration
WithPushSecret sets the PushSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PushSecret field is set to the value of the last call.
func (*BuildOutputApplyConfiguration) WithTo ¶
func (b *BuildOutputApplyConfiguration) WithTo(value v1.ObjectReference) *BuildOutputApplyConfiguration
WithTo sets the To field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the To field is set to the value of the last call.
type BuildPostCommitSpecApplyConfiguration ¶
type BuildPostCommitSpecApplyConfiguration struct { Command []string `json:"command,omitempty"` Args []string `json:"args,omitempty"` Script *string `json:"script,omitempty"` }
BuildPostCommitSpecApplyConfiguration represents an declarative configuration of the BuildPostCommitSpec type for use with apply.
func BuildPostCommitSpec ¶
func BuildPostCommitSpec() *BuildPostCommitSpecApplyConfiguration
BuildPostCommitSpecApplyConfiguration constructs an declarative configuration of the BuildPostCommitSpec type for use with apply.
func (*BuildPostCommitSpecApplyConfiguration) WithArgs ¶
func (b *BuildPostCommitSpecApplyConfiguration) WithArgs(values ...string) *BuildPostCommitSpecApplyConfiguration
WithArgs adds the given value to the Args field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Args field.
func (*BuildPostCommitSpecApplyConfiguration) WithCommand ¶
func (b *BuildPostCommitSpecApplyConfiguration) WithCommand(values ...string) *BuildPostCommitSpecApplyConfiguration
WithCommand adds the given value to the Command field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Command field.
func (*BuildPostCommitSpecApplyConfiguration) WithScript ¶
func (b *BuildPostCommitSpecApplyConfiguration) WithScript(value string) *BuildPostCommitSpecApplyConfiguration
WithScript sets the Script field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Script field is set to the value of the last call.
type BuildSourceApplyConfiguration ¶
type BuildSourceApplyConfiguration struct { Type *v1.BuildSourceType `json:"type,omitempty"` Binary *BinaryBuildSourceApplyConfiguration `json:"binary,omitempty"` Dockerfile *string `json:"dockerfile,omitempty"` Git *GitBuildSourceApplyConfiguration `json:"git,omitempty"` Images []ImageSourceApplyConfiguration `json:"images,omitempty"` ContextDir *string `json:"contextDir,omitempty"` SourceSecret *corev1.LocalObjectReference `json:"sourceSecret,omitempty"` Secrets []SecretBuildSourceApplyConfiguration `json:"secrets,omitempty"` ConfigMaps []ConfigMapBuildSourceApplyConfiguration `json:"configMaps,omitempty"` }
BuildSourceApplyConfiguration represents an declarative configuration of the BuildSource type for use with apply.
func BuildSource ¶
func BuildSource() *BuildSourceApplyConfiguration
BuildSourceApplyConfiguration constructs an declarative configuration of the BuildSource type for use with apply.
func (*BuildSourceApplyConfiguration) WithBinary ¶
func (b *BuildSourceApplyConfiguration) WithBinary(value *BinaryBuildSourceApplyConfiguration) *BuildSourceApplyConfiguration
WithBinary sets the Binary field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Binary field is set to the value of the last call.
func (*BuildSourceApplyConfiguration) WithConfigMaps ¶
func (b *BuildSourceApplyConfiguration) WithConfigMaps(values ...*ConfigMapBuildSourceApplyConfiguration) *BuildSourceApplyConfiguration
WithConfigMaps adds the given value to the ConfigMaps field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the ConfigMaps field.
func (*BuildSourceApplyConfiguration) WithContextDir ¶
func (b *BuildSourceApplyConfiguration) WithContextDir(value string) *BuildSourceApplyConfiguration
WithContextDir sets the ContextDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ContextDir field is set to the value of the last call.
func (*BuildSourceApplyConfiguration) WithDockerfile ¶
func (b *BuildSourceApplyConfiguration) WithDockerfile(value string) *BuildSourceApplyConfiguration
WithDockerfile sets the Dockerfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Dockerfile field is set to the value of the last call.
func (*BuildSourceApplyConfiguration) WithGit ¶
func (b *BuildSourceApplyConfiguration) WithGit(value *GitBuildSourceApplyConfiguration) *BuildSourceApplyConfiguration
WithGit sets the Git field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Git field is set to the value of the last call.
func (*BuildSourceApplyConfiguration) WithImages ¶
func (b *BuildSourceApplyConfiguration) WithImages(values ...*ImageSourceApplyConfiguration) *BuildSourceApplyConfiguration
WithImages adds the given value to the Images field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Images field.
func (*BuildSourceApplyConfiguration) WithSecrets ¶
func (b *BuildSourceApplyConfiguration) WithSecrets(values ...*SecretBuildSourceApplyConfiguration) *BuildSourceApplyConfiguration
WithSecrets adds the given value to the Secrets field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Secrets field.
func (*BuildSourceApplyConfiguration) WithSourceSecret ¶
func (b *BuildSourceApplyConfiguration) WithSourceSecret(value corev1.LocalObjectReference) *BuildSourceApplyConfiguration
WithSourceSecret sets the SourceSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SourceSecret field is set to the value of the last call.
func (*BuildSourceApplyConfiguration) WithType ¶
func (b *BuildSourceApplyConfiguration) WithType(value v1.BuildSourceType) *BuildSourceApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type BuildSpecApplyConfiguration ¶
type BuildSpecApplyConfiguration struct { CommonSpecApplyConfiguration `json:",inline"` TriggeredBy []BuildTriggerCauseApplyConfiguration `json:"triggeredBy,omitempty"` }
BuildSpecApplyConfiguration represents an declarative configuration of the BuildSpec type for use with apply.
func BuildSpec ¶
func BuildSpec() *BuildSpecApplyConfiguration
BuildSpecApplyConfiguration constructs an declarative configuration of the BuildSpec type for use with apply.
func (*BuildSpecApplyConfiguration) WithCompletionDeadlineSeconds ¶
func (b *BuildSpecApplyConfiguration) WithCompletionDeadlineSeconds(value int64) *BuildSpecApplyConfiguration
WithCompletionDeadlineSeconds sets the CompletionDeadlineSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CompletionDeadlineSeconds field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithMountTrustedCA ¶
func (b *BuildSpecApplyConfiguration) WithMountTrustedCA(value bool) *BuildSpecApplyConfiguration
WithMountTrustedCA sets the MountTrustedCA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MountTrustedCA field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithNodeSelector ¶
func (b *BuildSpecApplyConfiguration) WithNodeSelector(value buildv1.OptionalNodeSelector) *BuildSpecApplyConfiguration
WithNodeSelector sets the NodeSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeSelector field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithOutput ¶
func (b *BuildSpecApplyConfiguration) WithOutput(value *BuildOutputApplyConfiguration) *BuildSpecApplyConfiguration
WithOutput sets the Output field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Output field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithPostCommit ¶
func (b *BuildSpecApplyConfiguration) WithPostCommit(value *BuildPostCommitSpecApplyConfiguration) *BuildSpecApplyConfiguration
WithPostCommit sets the PostCommit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PostCommit field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithResources ¶
func (b *BuildSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *BuildSpecApplyConfiguration
WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithRevision ¶
func (b *BuildSpecApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *BuildSpecApplyConfiguration
WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithServiceAccount ¶
func (b *BuildSpecApplyConfiguration) WithServiceAccount(value string) *BuildSpecApplyConfiguration
WithServiceAccount sets the ServiceAccount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceAccount field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithSource ¶
func (b *BuildSpecApplyConfiguration) WithSource(value *BuildSourceApplyConfiguration) *BuildSpecApplyConfiguration
WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithStrategy ¶
func (b *BuildSpecApplyConfiguration) WithStrategy(value *BuildStrategyApplyConfiguration) *BuildSpecApplyConfiguration
WithStrategy sets the Strategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Strategy field is set to the value of the last call.
func (*BuildSpecApplyConfiguration) WithTriggeredBy ¶
func (b *BuildSpecApplyConfiguration) WithTriggeredBy(values ...*BuildTriggerCauseApplyConfiguration) *BuildSpecApplyConfiguration
WithTriggeredBy adds the given value to the TriggeredBy field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the TriggeredBy field.
type BuildStatusApplyConfiguration ¶
type BuildStatusApplyConfiguration struct { Phase *v1.BuildPhase `json:"phase,omitempty"` Cancelled *bool `json:"cancelled,omitempty"` Reason *v1.StatusReason `json:"reason,omitempty"` Message *string `json:"message,omitempty"` StartTimestamp *metav1.Time `json:"startTimestamp,omitempty"` CompletionTimestamp *metav1.Time `json:"completionTimestamp,omitempty"` Duration *time.Duration `json:"duration,omitempty"` OutputDockerImageReference *string `json:"outputDockerImageReference,omitempty"` Config *corev1.ObjectReference `json:"config,omitempty"` Output *BuildStatusOutputApplyConfiguration `json:"output,omitempty"` Stages []StageInfoApplyConfiguration `json:"stages,omitempty"` LogSnippet *string `json:"logSnippet,omitempty"` Conditions []BuildConditionApplyConfiguration `json:"conditions,omitempty"` }
BuildStatusApplyConfiguration represents an declarative configuration of the BuildStatus type for use with apply.
func BuildStatus ¶
func BuildStatus() *BuildStatusApplyConfiguration
BuildStatusApplyConfiguration constructs an declarative configuration of the BuildStatus type for use with apply.
func (*BuildStatusApplyConfiguration) WithCancelled ¶
func (b *BuildStatusApplyConfiguration) WithCancelled(value bool) *BuildStatusApplyConfiguration
WithCancelled sets the Cancelled field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cancelled field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithCompletionTimestamp ¶
func (b *BuildStatusApplyConfiguration) WithCompletionTimestamp(value metav1.Time) *BuildStatusApplyConfiguration
WithCompletionTimestamp sets the CompletionTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CompletionTimestamp field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithConditions ¶
func (b *BuildStatusApplyConfiguration) WithConditions(values ...*BuildConditionApplyConfiguration) *BuildStatusApplyConfiguration
WithConditions adds the given value to the Conditions field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Conditions field.
func (*BuildStatusApplyConfiguration) WithConfig ¶
func (b *BuildStatusApplyConfiguration) WithConfig(value corev1.ObjectReference) *BuildStatusApplyConfiguration
WithConfig sets the Config field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Config field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithDuration ¶
func (b *BuildStatusApplyConfiguration) WithDuration(value time.Duration) *BuildStatusApplyConfiguration
WithDuration sets the Duration field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Duration field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithLogSnippet ¶
func (b *BuildStatusApplyConfiguration) WithLogSnippet(value string) *BuildStatusApplyConfiguration
WithLogSnippet sets the LogSnippet field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LogSnippet field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithMessage ¶
func (b *BuildStatusApplyConfiguration) WithMessage(value string) *BuildStatusApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithOutput ¶
func (b *BuildStatusApplyConfiguration) WithOutput(value *BuildStatusOutputApplyConfiguration) *BuildStatusApplyConfiguration
WithOutput sets the Output field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Output field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithOutputDockerImageReference ¶
func (b *BuildStatusApplyConfiguration) WithOutputDockerImageReference(value string) *BuildStatusApplyConfiguration
WithOutputDockerImageReference sets the OutputDockerImageReference field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the OutputDockerImageReference field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithPhase ¶
func (b *BuildStatusApplyConfiguration) WithPhase(value v1.BuildPhase) *BuildStatusApplyConfiguration
WithPhase sets the Phase field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Phase field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithReason ¶
func (b *BuildStatusApplyConfiguration) WithReason(value v1.StatusReason) *BuildStatusApplyConfiguration
WithReason sets the Reason field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Reason field is set to the value of the last call.
func (*BuildStatusApplyConfiguration) WithStages ¶
func (b *BuildStatusApplyConfiguration) WithStages(values ...*StageInfoApplyConfiguration) *BuildStatusApplyConfiguration
WithStages adds the given value to the Stages field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Stages field.
func (*BuildStatusApplyConfiguration) WithStartTimestamp ¶
func (b *BuildStatusApplyConfiguration) WithStartTimestamp(value metav1.Time) *BuildStatusApplyConfiguration
WithStartTimestamp sets the StartTimestamp field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTimestamp field is set to the value of the last call.
type BuildStatusOutputApplyConfiguration ¶
type BuildStatusOutputApplyConfiguration struct {
To *BuildStatusOutputToApplyConfiguration `json:"to,omitempty"`
}
BuildStatusOutputApplyConfiguration represents an declarative configuration of the BuildStatusOutput type for use with apply.
func BuildStatusOutput ¶
func BuildStatusOutput() *BuildStatusOutputApplyConfiguration
BuildStatusOutputApplyConfiguration constructs an declarative configuration of the BuildStatusOutput type for use with apply.
func (*BuildStatusOutputApplyConfiguration) WithTo ¶
func (b *BuildStatusOutputApplyConfiguration) WithTo(value *BuildStatusOutputToApplyConfiguration) *BuildStatusOutputApplyConfiguration
WithTo sets the To field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the To field is set to the value of the last call.
type BuildStatusOutputToApplyConfiguration ¶
type BuildStatusOutputToApplyConfiguration struct {
ImageDigest *string `json:"imageDigest,omitempty"`
}
BuildStatusOutputToApplyConfiguration represents an declarative configuration of the BuildStatusOutputTo type for use with apply.
func BuildStatusOutputTo ¶
func BuildStatusOutputTo() *BuildStatusOutputToApplyConfiguration
BuildStatusOutputToApplyConfiguration constructs an declarative configuration of the BuildStatusOutputTo type for use with apply.
func (*BuildStatusOutputToApplyConfiguration) WithImageDigest ¶
func (b *BuildStatusOutputToApplyConfiguration) WithImageDigest(value string) *BuildStatusOutputToApplyConfiguration
WithImageDigest sets the ImageDigest field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageDigest field is set to the value of the last call.
type BuildStrategyApplyConfiguration ¶
type BuildStrategyApplyConfiguration struct { Type *v1.BuildStrategyType `json:"type,omitempty"` DockerStrategy *DockerBuildStrategyApplyConfiguration `json:"dockerStrategy,omitempty"` SourceStrategy *SourceBuildStrategyApplyConfiguration `json:"sourceStrategy,omitempty"` CustomStrategy *CustomBuildStrategyApplyConfiguration `json:"customStrategy,omitempty"` JenkinsPipelineStrategy *JenkinsPipelineBuildStrategyApplyConfiguration `json:"jenkinsPipelineStrategy,omitempty"` }
BuildStrategyApplyConfiguration represents an declarative configuration of the BuildStrategy type for use with apply.
func BuildStrategy ¶
func BuildStrategy() *BuildStrategyApplyConfiguration
BuildStrategyApplyConfiguration constructs an declarative configuration of the BuildStrategy type for use with apply.
func (*BuildStrategyApplyConfiguration) WithCustomStrategy ¶
func (b *BuildStrategyApplyConfiguration) WithCustomStrategy(value *CustomBuildStrategyApplyConfiguration) *BuildStrategyApplyConfiguration
WithCustomStrategy sets the CustomStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CustomStrategy field is set to the value of the last call.
func (*BuildStrategyApplyConfiguration) WithDockerStrategy ¶
func (b *BuildStrategyApplyConfiguration) WithDockerStrategy(value *DockerBuildStrategyApplyConfiguration) *BuildStrategyApplyConfiguration
WithDockerStrategy sets the DockerStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DockerStrategy field is set to the value of the last call.
func (*BuildStrategyApplyConfiguration) WithJenkinsPipelineStrategy ¶
func (b *BuildStrategyApplyConfiguration) WithJenkinsPipelineStrategy(value *JenkinsPipelineBuildStrategyApplyConfiguration) *BuildStrategyApplyConfiguration
WithJenkinsPipelineStrategy sets the JenkinsPipelineStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JenkinsPipelineStrategy field is set to the value of the last call.
func (*BuildStrategyApplyConfiguration) WithSourceStrategy ¶
func (b *BuildStrategyApplyConfiguration) WithSourceStrategy(value *SourceBuildStrategyApplyConfiguration) *BuildStrategyApplyConfiguration
WithSourceStrategy sets the SourceStrategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SourceStrategy field is set to the value of the last call.
func (*BuildStrategyApplyConfiguration) WithType ¶
func (b *BuildStrategyApplyConfiguration) WithType(value v1.BuildStrategyType) *BuildStrategyApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type BuildTriggerCauseApplyConfiguration ¶
type BuildTriggerCauseApplyConfiguration struct { Message *string `json:"message,omitempty"` GenericWebHook *GenericWebHookCauseApplyConfiguration `json:"genericWebHook,omitempty"` GitHubWebHook *GitHubWebHookCauseApplyConfiguration `json:"githubWebHook,omitempty"` ImageChangeBuild *ImageChangeCauseApplyConfiguration `json:"imageChangeBuild,omitempty"` GitLabWebHook *GitLabWebHookCauseApplyConfiguration `json:"gitlabWebHook,omitempty"` BitbucketWebHook *BitbucketWebHookCauseApplyConfiguration `json:"bitbucketWebHook,omitempty"` }
BuildTriggerCauseApplyConfiguration represents an declarative configuration of the BuildTriggerCause type for use with apply.
func BuildTriggerCause ¶
func BuildTriggerCause() *BuildTriggerCauseApplyConfiguration
BuildTriggerCauseApplyConfiguration constructs an declarative configuration of the BuildTriggerCause type for use with apply.
func (*BuildTriggerCauseApplyConfiguration) WithBitbucketWebHook ¶
func (b *BuildTriggerCauseApplyConfiguration) WithBitbucketWebHook(value *BitbucketWebHookCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
WithBitbucketWebHook sets the BitbucketWebHook field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BitbucketWebHook field is set to the value of the last call.
func (*BuildTriggerCauseApplyConfiguration) WithGenericWebHook ¶
func (b *BuildTriggerCauseApplyConfiguration) WithGenericWebHook(value *GenericWebHookCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
WithGenericWebHook sets the GenericWebHook field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenericWebHook field is set to the value of the last call.
func (*BuildTriggerCauseApplyConfiguration) WithGitHubWebHook ¶
func (b *BuildTriggerCauseApplyConfiguration) WithGitHubWebHook(value *GitHubWebHookCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
WithGitHubWebHook sets the GitHubWebHook field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GitHubWebHook field is set to the value of the last call.
func (*BuildTriggerCauseApplyConfiguration) WithGitLabWebHook ¶
func (b *BuildTriggerCauseApplyConfiguration) WithGitLabWebHook(value *GitLabWebHookCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
WithGitLabWebHook sets the GitLabWebHook field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GitLabWebHook field is set to the value of the last call.
func (*BuildTriggerCauseApplyConfiguration) WithImageChangeBuild ¶
func (b *BuildTriggerCauseApplyConfiguration) WithImageChangeBuild(value *ImageChangeCauseApplyConfiguration) *BuildTriggerCauseApplyConfiguration
WithImageChangeBuild sets the ImageChangeBuild field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageChangeBuild field is set to the value of the last call.
func (*BuildTriggerCauseApplyConfiguration) WithMessage ¶
func (b *BuildTriggerCauseApplyConfiguration) WithMessage(value string) *BuildTriggerCauseApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
type BuildTriggerPolicyApplyConfiguration ¶
type BuildTriggerPolicyApplyConfiguration struct { Type *v1.BuildTriggerType `json:"type,omitempty"` GitHubWebHook *WebHookTriggerApplyConfiguration `json:"github,omitempty"` GenericWebHook *WebHookTriggerApplyConfiguration `json:"generic,omitempty"` ImageChange *ImageChangeTriggerApplyConfiguration `json:"imageChange,omitempty"` GitLabWebHook *WebHookTriggerApplyConfiguration `json:"gitlab,omitempty"` BitbucketWebHook *WebHookTriggerApplyConfiguration `json:"bitbucket,omitempty"` }
BuildTriggerPolicyApplyConfiguration represents an declarative configuration of the BuildTriggerPolicy type for use with apply.
func BuildTriggerPolicy ¶
func BuildTriggerPolicy() *BuildTriggerPolicyApplyConfiguration
BuildTriggerPolicyApplyConfiguration constructs an declarative configuration of the BuildTriggerPolicy type for use with apply.
func (*BuildTriggerPolicyApplyConfiguration) WithBitbucketWebHook ¶
func (b *BuildTriggerPolicyApplyConfiguration) WithBitbucketWebHook(value *WebHookTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
WithBitbucketWebHook sets the BitbucketWebHook field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BitbucketWebHook field is set to the value of the last call.
func (*BuildTriggerPolicyApplyConfiguration) WithGenericWebHook ¶
func (b *BuildTriggerPolicyApplyConfiguration) WithGenericWebHook(value *WebHookTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
WithGenericWebHook sets the GenericWebHook field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GenericWebHook field is set to the value of the last call.
func (*BuildTriggerPolicyApplyConfiguration) WithGitHubWebHook ¶
func (b *BuildTriggerPolicyApplyConfiguration) WithGitHubWebHook(value *WebHookTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
WithGitHubWebHook sets the GitHubWebHook field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GitHubWebHook field is set to the value of the last call.
func (*BuildTriggerPolicyApplyConfiguration) WithGitLabWebHook ¶
func (b *BuildTriggerPolicyApplyConfiguration) WithGitLabWebHook(value *WebHookTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
WithGitLabWebHook sets the GitLabWebHook field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the GitLabWebHook field is set to the value of the last call.
func (*BuildTriggerPolicyApplyConfiguration) WithImageChange ¶
func (b *BuildTriggerPolicyApplyConfiguration) WithImageChange(value *ImageChangeTriggerApplyConfiguration) *BuildTriggerPolicyApplyConfiguration
WithImageChange sets the ImageChange field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageChange field is set to the value of the last call.
func (*BuildTriggerPolicyApplyConfiguration) WithType ¶
func (b *BuildTriggerPolicyApplyConfiguration) WithType(value v1.BuildTriggerType) *BuildTriggerPolicyApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type BuildVolumeApplyConfiguration ¶
type BuildVolumeApplyConfiguration struct { Name *string `json:"name,omitempty"` Source *BuildVolumeSourceApplyConfiguration `json:"source,omitempty"` Mounts []BuildVolumeMountApplyConfiguration `json:"mounts,omitempty"` }
BuildVolumeApplyConfiguration represents an declarative configuration of the BuildVolume type for use with apply.
func BuildVolume ¶
func BuildVolume() *BuildVolumeApplyConfiguration
BuildVolumeApplyConfiguration constructs an declarative configuration of the BuildVolume type for use with apply.
func (*BuildVolumeApplyConfiguration) WithMounts ¶
func (b *BuildVolumeApplyConfiguration) WithMounts(values ...*BuildVolumeMountApplyConfiguration) *BuildVolumeApplyConfiguration
WithMounts adds the given value to the Mounts field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Mounts field.
func (*BuildVolumeApplyConfiguration) WithName ¶
func (b *BuildVolumeApplyConfiguration) WithName(value string) *BuildVolumeApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*BuildVolumeApplyConfiguration) WithSource ¶
func (b *BuildVolumeApplyConfiguration) WithSource(value *BuildVolumeSourceApplyConfiguration) *BuildVolumeApplyConfiguration
WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.
type BuildVolumeMountApplyConfiguration ¶
type BuildVolumeMountApplyConfiguration struct {
DestinationPath *string `json:"destinationPath,omitempty"`
}
BuildVolumeMountApplyConfiguration represents an declarative configuration of the BuildVolumeMount type for use with apply.
func BuildVolumeMount ¶
func BuildVolumeMount() *BuildVolumeMountApplyConfiguration
BuildVolumeMountApplyConfiguration constructs an declarative configuration of the BuildVolumeMount type for use with apply.
func (*BuildVolumeMountApplyConfiguration) WithDestinationPath ¶
func (b *BuildVolumeMountApplyConfiguration) WithDestinationPath(value string) *BuildVolumeMountApplyConfiguration
WithDestinationPath sets the DestinationPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DestinationPath field is set to the value of the last call.
type BuildVolumeSourceApplyConfiguration ¶
type BuildVolumeSourceApplyConfiguration struct { Type *v1.BuildVolumeSourceType `json:"type,omitempty"` Secret *corev1.SecretVolumeSource `json:"secret,omitempty"` ConfigMap *corev1.ConfigMapVolumeSource `json:"configMap,omitempty"` CSI *corev1.CSIVolumeSource `json:"csi,omitempty"` }
BuildVolumeSourceApplyConfiguration represents an declarative configuration of the BuildVolumeSource type for use with apply.
func BuildVolumeSource ¶
func BuildVolumeSource() *BuildVolumeSourceApplyConfiguration
BuildVolumeSourceApplyConfiguration constructs an declarative configuration of the BuildVolumeSource type for use with apply.
func (*BuildVolumeSourceApplyConfiguration) WithCSI ¶
func (b *BuildVolumeSourceApplyConfiguration) WithCSI(value corev1.CSIVolumeSource) *BuildVolumeSourceApplyConfiguration
WithCSI sets the CSI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CSI field is set to the value of the last call.
func (*BuildVolumeSourceApplyConfiguration) WithConfigMap ¶
func (b *BuildVolumeSourceApplyConfiguration) WithConfigMap(value corev1.ConfigMapVolumeSource) *BuildVolumeSourceApplyConfiguration
WithConfigMap sets the ConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMap field is set to the value of the last call.
func (*BuildVolumeSourceApplyConfiguration) WithSecret ¶
func (b *BuildVolumeSourceApplyConfiguration) WithSecret(value corev1.SecretVolumeSource) *BuildVolumeSourceApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
func (*BuildVolumeSourceApplyConfiguration) WithType ¶
func (b *BuildVolumeSourceApplyConfiguration) WithType(value v1.BuildVolumeSourceType) *BuildVolumeSourceApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type CommonSpecApplyConfiguration ¶
type CommonSpecApplyConfiguration struct { ServiceAccount *string `json:"serviceAccount,omitempty"` Source *BuildSourceApplyConfiguration `json:"source,omitempty"` Revision *SourceRevisionApplyConfiguration `json:"revision,omitempty"` Strategy *BuildStrategyApplyConfiguration `json:"strategy,omitempty"` Output *BuildOutputApplyConfiguration `json:"output,omitempty"` Resources *corev1.ResourceRequirements `json:"resources,omitempty"` PostCommit *BuildPostCommitSpecApplyConfiguration `json:"postCommit,omitempty"` CompletionDeadlineSeconds *int64 `json:"completionDeadlineSeconds,omitempty"` NodeSelector *buildv1.OptionalNodeSelector `json:"nodeSelector,omitempty"` MountTrustedCA *bool `json:"mountTrustedCA,omitempty"` }
CommonSpecApplyConfiguration represents an declarative configuration of the CommonSpec type for use with apply.
func CommonSpec ¶
func CommonSpec() *CommonSpecApplyConfiguration
CommonSpecApplyConfiguration constructs an declarative configuration of the CommonSpec type for use with apply.
func (*CommonSpecApplyConfiguration) WithCompletionDeadlineSeconds ¶
func (b *CommonSpecApplyConfiguration) WithCompletionDeadlineSeconds(value int64) *CommonSpecApplyConfiguration
WithCompletionDeadlineSeconds sets the CompletionDeadlineSeconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the CompletionDeadlineSeconds field is set to the value of the last call.
func (*CommonSpecApplyConfiguration) WithMountTrustedCA ¶
func (b *CommonSpecApplyConfiguration) WithMountTrustedCA(value bool) *CommonSpecApplyConfiguration
WithMountTrustedCA sets the MountTrustedCA field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MountTrustedCA field is set to the value of the last call.
func (*CommonSpecApplyConfiguration) WithNodeSelector ¶
func (b *CommonSpecApplyConfiguration) WithNodeSelector(value buildv1.OptionalNodeSelector) *CommonSpecApplyConfiguration
WithNodeSelector sets the NodeSelector field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NodeSelector field is set to the value of the last call.
func (*CommonSpecApplyConfiguration) WithOutput ¶
func (b *CommonSpecApplyConfiguration) WithOutput(value *BuildOutputApplyConfiguration) *CommonSpecApplyConfiguration
WithOutput sets the Output field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Output field is set to the value of the last call.
func (*CommonSpecApplyConfiguration) WithPostCommit ¶
func (b *CommonSpecApplyConfiguration) WithPostCommit(value *BuildPostCommitSpecApplyConfiguration) *CommonSpecApplyConfiguration
WithPostCommit sets the PostCommit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PostCommit field is set to the value of the last call.
func (*CommonSpecApplyConfiguration) WithResources ¶
func (b *CommonSpecApplyConfiguration) WithResources(value corev1.ResourceRequirements) *CommonSpecApplyConfiguration
WithResources sets the Resources field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Resources field is set to the value of the last call.
func (*CommonSpecApplyConfiguration) WithRevision ¶
func (b *CommonSpecApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *CommonSpecApplyConfiguration
WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.
func (*CommonSpecApplyConfiguration) WithServiceAccount ¶
func (b *CommonSpecApplyConfiguration) WithServiceAccount(value string) *CommonSpecApplyConfiguration
WithServiceAccount sets the ServiceAccount field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ServiceAccount field is set to the value of the last call.
func (*CommonSpecApplyConfiguration) WithSource ¶
func (b *CommonSpecApplyConfiguration) WithSource(value *BuildSourceApplyConfiguration) *CommonSpecApplyConfiguration
WithSource sets the Source field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Source field is set to the value of the last call.
func (*CommonSpecApplyConfiguration) WithStrategy ¶
func (b *CommonSpecApplyConfiguration) WithStrategy(value *BuildStrategyApplyConfiguration) *CommonSpecApplyConfiguration
WithStrategy sets the Strategy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Strategy field is set to the value of the last call.
type CommonWebHookCauseApplyConfiguration ¶
type CommonWebHookCauseApplyConfiguration struct { Revision *SourceRevisionApplyConfiguration `json:"revision,omitempty"` Secret *string `json:"secret,omitempty"` }
CommonWebHookCauseApplyConfiguration represents an declarative configuration of the CommonWebHookCause type for use with apply.
func CommonWebHookCause ¶
func CommonWebHookCause() *CommonWebHookCauseApplyConfiguration
CommonWebHookCauseApplyConfiguration constructs an declarative configuration of the CommonWebHookCause type for use with apply.
func (*CommonWebHookCauseApplyConfiguration) WithRevision ¶
func (b *CommonWebHookCauseApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *CommonWebHookCauseApplyConfiguration
WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.
func (*CommonWebHookCauseApplyConfiguration) WithSecret ¶
func (b *CommonWebHookCauseApplyConfiguration) WithSecret(value string) *CommonWebHookCauseApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
type ConfigMapBuildSourceApplyConfiguration ¶
type ConfigMapBuildSourceApplyConfiguration struct { ConfigMap *v1.LocalObjectReference `json:"configMap,omitempty"` DestinationDir *string `json:"destinationDir,omitempty"` }
ConfigMapBuildSourceApplyConfiguration represents an declarative configuration of the ConfigMapBuildSource type for use with apply.
func ConfigMapBuildSource ¶
func ConfigMapBuildSource() *ConfigMapBuildSourceApplyConfiguration
ConfigMapBuildSourceApplyConfiguration constructs an declarative configuration of the ConfigMapBuildSource type for use with apply.
func (*ConfigMapBuildSourceApplyConfiguration) WithConfigMap ¶
func (b *ConfigMapBuildSourceApplyConfiguration) WithConfigMap(value v1.LocalObjectReference) *ConfigMapBuildSourceApplyConfiguration
WithConfigMap sets the ConfigMap field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ConfigMap field is set to the value of the last call.
func (*ConfigMapBuildSourceApplyConfiguration) WithDestinationDir ¶
func (b *ConfigMapBuildSourceApplyConfiguration) WithDestinationDir(value string) *ConfigMapBuildSourceApplyConfiguration
WithDestinationDir sets the DestinationDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DestinationDir field is set to the value of the last call.
type CustomBuildStrategyApplyConfiguration ¶
type CustomBuildStrategyApplyConfiguration struct { From *v1.ObjectReference `json:"from,omitempty"` PullSecret *v1.LocalObjectReference `json:"pullSecret,omitempty"` Env []v1.EnvVar `json:"env,omitempty"` ExposeDockerSocket *bool `json:"exposeDockerSocket,omitempty"` ForcePull *bool `json:"forcePull,omitempty"` Secrets []SecretSpecApplyConfiguration `json:"secrets,omitempty"` BuildAPIVersion *string `json:"buildAPIVersion,omitempty"` }
CustomBuildStrategyApplyConfiguration represents an declarative configuration of the CustomBuildStrategy type for use with apply.
func CustomBuildStrategy ¶
func CustomBuildStrategy() *CustomBuildStrategyApplyConfiguration
CustomBuildStrategyApplyConfiguration constructs an declarative configuration of the CustomBuildStrategy type for use with apply.
func (*CustomBuildStrategyApplyConfiguration) WithBuildAPIVersion ¶
func (b *CustomBuildStrategyApplyConfiguration) WithBuildAPIVersion(value string) *CustomBuildStrategyApplyConfiguration
WithBuildAPIVersion sets the BuildAPIVersion field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the BuildAPIVersion field is set to the value of the last call.
func (*CustomBuildStrategyApplyConfiguration) WithEnv ¶
func (b *CustomBuildStrategyApplyConfiguration) WithEnv(values ...v1.EnvVar) *CustomBuildStrategyApplyConfiguration
WithEnv adds the given value to the Env field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Env field.
func (*CustomBuildStrategyApplyConfiguration) WithExposeDockerSocket ¶
func (b *CustomBuildStrategyApplyConfiguration) WithExposeDockerSocket(value bool) *CustomBuildStrategyApplyConfiguration
WithExposeDockerSocket sets the ExposeDockerSocket field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ExposeDockerSocket field is set to the value of the last call.
func (*CustomBuildStrategyApplyConfiguration) WithForcePull ¶
func (b *CustomBuildStrategyApplyConfiguration) WithForcePull(value bool) *CustomBuildStrategyApplyConfiguration
WithForcePull sets the ForcePull field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForcePull field is set to the value of the last call.
func (*CustomBuildStrategyApplyConfiguration) WithFrom ¶
func (b *CustomBuildStrategyApplyConfiguration) WithFrom(value v1.ObjectReference) *CustomBuildStrategyApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
func (*CustomBuildStrategyApplyConfiguration) WithPullSecret ¶
func (b *CustomBuildStrategyApplyConfiguration) WithPullSecret(value v1.LocalObjectReference) *CustomBuildStrategyApplyConfiguration
WithPullSecret sets the PullSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PullSecret field is set to the value of the last call.
func (*CustomBuildStrategyApplyConfiguration) WithSecrets ¶
func (b *CustomBuildStrategyApplyConfiguration) WithSecrets(values ...*SecretSpecApplyConfiguration) *CustomBuildStrategyApplyConfiguration
WithSecrets adds the given value to the Secrets field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Secrets field.
type DockerBuildStrategyApplyConfiguration ¶
type DockerBuildStrategyApplyConfiguration struct { From *v1.ObjectReference `json:"from,omitempty"` PullSecret *v1.LocalObjectReference `json:"pullSecret,omitempty"` NoCache *bool `json:"noCache,omitempty"` Env []v1.EnvVar `json:"env,omitempty"` ForcePull *bool `json:"forcePull,omitempty"` DockerfilePath *string `json:"dockerfilePath,omitempty"` BuildArgs []v1.EnvVar `json:"buildArgs,omitempty"` ImageOptimizationPolicy *buildv1.ImageOptimizationPolicy `json:"imageOptimizationPolicy,omitempty"` Volumes []BuildVolumeApplyConfiguration `json:"volumes,omitempty"` }
DockerBuildStrategyApplyConfiguration represents an declarative configuration of the DockerBuildStrategy type for use with apply.
func DockerBuildStrategy ¶
func DockerBuildStrategy() *DockerBuildStrategyApplyConfiguration
DockerBuildStrategyApplyConfiguration constructs an declarative configuration of the DockerBuildStrategy type for use with apply.
func (*DockerBuildStrategyApplyConfiguration) WithBuildArgs ¶
func (b *DockerBuildStrategyApplyConfiguration) WithBuildArgs(values ...v1.EnvVar) *DockerBuildStrategyApplyConfiguration
WithBuildArgs adds the given value to the BuildArgs field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the BuildArgs field.
func (*DockerBuildStrategyApplyConfiguration) WithDockerfilePath ¶
func (b *DockerBuildStrategyApplyConfiguration) WithDockerfilePath(value string) *DockerBuildStrategyApplyConfiguration
WithDockerfilePath sets the DockerfilePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DockerfilePath field is set to the value of the last call.
func (*DockerBuildStrategyApplyConfiguration) WithEnv ¶
func (b *DockerBuildStrategyApplyConfiguration) WithEnv(values ...v1.EnvVar) *DockerBuildStrategyApplyConfiguration
WithEnv adds the given value to the Env field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Env field.
func (*DockerBuildStrategyApplyConfiguration) WithForcePull ¶
func (b *DockerBuildStrategyApplyConfiguration) WithForcePull(value bool) *DockerBuildStrategyApplyConfiguration
WithForcePull sets the ForcePull field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForcePull field is set to the value of the last call.
func (*DockerBuildStrategyApplyConfiguration) WithFrom ¶
func (b *DockerBuildStrategyApplyConfiguration) WithFrom(value v1.ObjectReference) *DockerBuildStrategyApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
func (*DockerBuildStrategyApplyConfiguration) WithImageOptimizationPolicy ¶
func (b *DockerBuildStrategyApplyConfiguration) WithImageOptimizationPolicy(value buildv1.ImageOptimizationPolicy) *DockerBuildStrategyApplyConfiguration
WithImageOptimizationPolicy sets the ImageOptimizationPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageOptimizationPolicy field is set to the value of the last call.
func (*DockerBuildStrategyApplyConfiguration) WithNoCache ¶
func (b *DockerBuildStrategyApplyConfiguration) WithNoCache(value bool) *DockerBuildStrategyApplyConfiguration
WithNoCache sets the NoCache field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoCache field is set to the value of the last call.
func (*DockerBuildStrategyApplyConfiguration) WithPullSecret ¶
func (b *DockerBuildStrategyApplyConfiguration) WithPullSecret(value v1.LocalObjectReference) *DockerBuildStrategyApplyConfiguration
WithPullSecret sets the PullSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PullSecret field is set to the value of the last call.
func (*DockerBuildStrategyApplyConfiguration) WithVolumes ¶
func (b *DockerBuildStrategyApplyConfiguration) WithVolumes(values ...*BuildVolumeApplyConfiguration) *DockerBuildStrategyApplyConfiguration
WithVolumes adds the given value to the Volumes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Volumes field.
type GenericWebHookCauseApplyConfiguration ¶
type GenericWebHookCauseApplyConfiguration struct { Revision *SourceRevisionApplyConfiguration `json:"revision,omitempty"` Secret *string `json:"secret,omitempty"` }
GenericWebHookCauseApplyConfiguration represents an declarative configuration of the GenericWebHookCause type for use with apply.
func GenericWebHookCause ¶
func GenericWebHookCause() *GenericWebHookCauseApplyConfiguration
GenericWebHookCauseApplyConfiguration constructs an declarative configuration of the GenericWebHookCause type for use with apply.
func (*GenericWebHookCauseApplyConfiguration) WithRevision ¶
func (b *GenericWebHookCauseApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *GenericWebHookCauseApplyConfiguration
WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.
func (*GenericWebHookCauseApplyConfiguration) WithSecret ¶
func (b *GenericWebHookCauseApplyConfiguration) WithSecret(value string) *GenericWebHookCauseApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
type GitBuildSourceApplyConfiguration ¶
type GitBuildSourceApplyConfiguration struct { URI *string `json:"uri,omitempty"` Ref *string `json:"ref,omitempty"` ProxyConfigApplyConfiguration `json:",inline"` }
GitBuildSourceApplyConfiguration represents an declarative configuration of the GitBuildSource type for use with apply.
func GitBuildSource ¶
func GitBuildSource() *GitBuildSourceApplyConfiguration
GitBuildSourceApplyConfiguration constructs an declarative configuration of the GitBuildSource type for use with apply.
func (*GitBuildSourceApplyConfiguration) WithHTTPProxy ¶
func (b *GitBuildSourceApplyConfiguration) WithHTTPProxy(value string) *GitBuildSourceApplyConfiguration
WithHTTPProxy sets the HTTPProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPProxy field is set to the value of the last call.
func (*GitBuildSourceApplyConfiguration) WithHTTPSProxy ¶
func (b *GitBuildSourceApplyConfiguration) WithHTTPSProxy(value string) *GitBuildSourceApplyConfiguration
WithHTTPSProxy sets the HTTPSProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPSProxy field is set to the value of the last call.
func (*GitBuildSourceApplyConfiguration) WithNoProxy ¶
func (b *GitBuildSourceApplyConfiguration) WithNoProxy(value string) *GitBuildSourceApplyConfiguration
WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.
func (*GitBuildSourceApplyConfiguration) WithRef ¶
func (b *GitBuildSourceApplyConfiguration) WithRef(value string) *GitBuildSourceApplyConfiguration
WithRef sets the Ref field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Ref field is set to the value of the last call.
func (*GitBuildSourceApplyConfiguration) WithURI ¶
func (b *GitBuildSourceApplyConfiguration) WithURI(value string) *GitBuildSourceApplyConfiguration
WithURI sets the URI field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URI field is set to the value of the last call.
type GitHubWebHookCauseApplyConfiguration ¶
type GitHubWebHookCauseApplyConfiguration struct { Revision *SourceRevisionApplyConfiguration `json:"revision,omitempty"` Secret *string `json:"secret,omitempty"` }
GitHubWebHookCauseApplyConfiguration represents an declarative configuration of the GitHubWebHookCause type for use with apply.
func GitHubWebHookCause ¶
func GitHubWebHookCause() *GitHubWebHookCauseApplyConfiguration
GitHubWebHookCauseApplyConfiguration constructs an declarative configuration of the GitHubWebHookCause type for use with apply.
func (*GitHubWebHookCauseApplyConfiguration) WithRevision ¶
func (b *GitHubWebHookCauseApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *GitHubWebHookCauseApplyConfiguration
WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.
func (*GitHubWebHookCauseApplyConfiguration) WithSecret ¶
func (b *GitHubWebHookCauseApplyConfiguration) WithSecret(value string) *GitHubWebHookCauseApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
type GitLabWebHookCauseApplyConfiguration ¶
type GitLabWebHookCauseApplyConfiguration struct {
CommonWebHookCauseApplyConfiguration `json:",inline"`
}
GitLabWebHookCauseApplyConfiguration represents an declarative configuration of the GitLabWebHookCause type for use with apply.
func GitLabWebHookCause ¶
func GitLabWebHookCause() *GitLabWebHookCauseApplyConfiguration
GitLabWebHookCauseApplyConfiguration constructs an declarative configuration of the GitLabWebHookCause type for use with apply.
func (*GitLabWebHookCauseApplyConfiguration) WithRevision ¶
func (b *GitLabWebHookCauseApplyConfiguration) WithRevision(value *SourceRevisionApplyConfiguration) *GitLabWebHookCauseApplyConfiguration
WithRevision sets the Revision field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Revision field is set to the value of the last call.
func (*GitLabWebHookCauseApplyConfiguration) WithSecret ¶
func (b *GitLabWebHookCauseApplyConfiguration) WithSecret(value string) *GitLabWebHookCauseApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
type GitSourceRevisionApplyConfiguration ¶
type GitSourceRevisionApplyConfiguration struct { Commit *string `json:"commit,omitempty"` Author *SourceControlUserApplyConfiguration `json:"author,omitempty"` Committer *SourceControlUserApplyConfiguration `json:"committer,omitempty"` Message *string `json:"message,omitempty"` }
GitSourceRevisionApplyConfiguration represents an declarative configuration of the GitSourceRevision type for use with apply.
func GitSourceRevision ¶
func GitSourceRevision() *GitSourceRevisionApplyConfiguration
GitSourceRevisionApplyConfiguration constructs an declarative configuration of the GitSourceRevision type for use with apply.
func (*GitSourceRevisionApplyConfiguration) WithAuthor ¶
func (b *GitSourceRevisionApplyConfiguration) WithAuthor(value *SourceControlUserApplyConfiguration) *GitSourceRevisionApplyConfiguration
WithAuthor sets the Author field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Author field is set to the value of the last call.
func (*GitSourceRevisionApplyConfiguration) WithCommit ¶
func (b *GitSourceRevisionApplyConfiguration) WithCommit(value string) *GitSourceRevisionApplyConfiguration
WithCommit sets the Commit field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Commit field is set to the value of the last call.
func (*GitSourceRevisionApplyConfiguration) WithCommitter ¶
func (b *GitSourceRevisionApplyConfiguration) WithCommitter(value *SourceControlUserApplyConfiguration) *GitSourceRevisionApplyConfiguration
WithCommitter sets the Committer field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Committer field is set to the value of the last call.
func (*GitSourceRevisionApplyConfiguration) WithMessage ¶
func (b *GitSourceRevisionApplyConfiguration) WithMessage(value string) *GitSourceRevisionApplyConfiguration
WithMessage sets the Message field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Message field is set to the value of the last call.
type ImageChangeCauseApplyConfiguration ¶
type ImageChangeCauseApplyConfiguration struct { ImageID *string `json:"imageID,omitempty"` FromRef *v1.ObjectReference `json:"fromRef,omitempty"` }
ImageChangeCauseApplyConfiguration represents an declarative configuration of the ImageChangeCause type for use with apply.
func ImageChangeCause ¶
func ImageChangeCause() *ImageChangeCauseApplyConfiguration
ImageChangeCauseApplyConfiguration constructs an declarative configuration of the ImageChangeCause type for use with apply.
func (*ImageChangeCauseApplyConfiguration) WithFromRef ¶
func (b *ImageChangeCauseApplyConfiguration) WithFromRef(value v1.ObjectReference) *ImageChangeCauseApplyConfiguration
WithFromRef sets the FromRef field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FromRef field is set to the value of the last call.
func (*ImageChangeCauseApplyConfiguration) WithImageID ¶
func (b *ImageChangeCauseApplyConfiguration) WithImageID(value string) *ImageChangeCauseApplyConfiguration
WithImageID sets the ImageID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImageID field is set to the value of the last call.
type ImageChangeTriggerApplyConfiguration ¶
type ImageChangeTriggerApplyConfiguration struct { LastTriggeredImageID *string `json:"lastTriggeredImageID,omitempty"` From *v1.ObjectReference `json:"from,omitempty"` Paused *bool `json:"paused,omitempty"` }
ImageChangeTriggerApplyConfiguration represents an declarative configuration of the ImageChangeTrigger type for use with apply.
func ImageChangeTrigger ¶
func ImageChangeTrigger() *ImageChangeTriggerApplyConfiguration
ImageChangeTriggerApplyConfiguration constructs an declarative configuration of the ImageChangeTrigger type for use with apply.
func (*ImageChangeTriggerApplyConfiguration) WithFrom ¶
func (b *ImageChangeTriggerApplyConfiguration) WithFrom(value v1.ObjectReference) *ImageChangeTriggerApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
func (*ImageChangeTriggerApplyConfiguration) WithLastTriggeredImageID ¶
func (b *ImageChangeTriggerApplyConfiguration) WithLastTriggeredImageID(value string) *ImageChangeTriggerApplyConfiguration
WithLastTriggeredImageID sets the LastTriggeredImageID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTriggeredImageID field is set to the value of the last call.
func (*ImageChangeTriggerApplyConfiguration) WithPaused ¶
func (b *ImageChangeTriggerApplyConfiguration) WithPaused(value bool) *ImageChangeTriggerApplyConfiguration
WithPaused sets the Paused field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Paused field is set to the value of the last call.
type ImageChangeTriggerStatusApplyConfiguration ¶
type ImageChangeTriggerStatusApplyConfiguration struct { LastTriggeredImageID *string `json:"lastTriggeredImageID,omitempty"` From *ImageStreamTagReferenceApplyConfiguration `json:"from,omitempty"` LastTriggerTime *metav1.Time `json:"lastTriggerTime,omitempty"` }
ImageChangeTriggerStatusApplyConfiguration represents an declarative configuration of the ImageChangeTriggerStatus type for use with apply.
func ImageChangeTriggerStatus ¶
func ImageChangeTriggerStatus() *ImageChangeTriggerStatusApplyConfiguration
ImageChangeTriggerStatusApplyConfiguration constructs an declarative configuration of the ImageChangeTriggerStatus type for use with apply.
func (*ImageChangeTriggerStatusApplyConfiguration) WithFrom ¶
func (b *ImageChangeTriggerStatusApplyConfiguration) WithFrom(value *ImageStreamTagReferenceApplyConfiguration) *ImageChangeTriggerStatusApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
func (*ImageChangeTriggerStatusApplyConfiguration) WithLastTriggerTime ¶
func (b *ImageChangeTriggerStatusApplyConfiguration) WithLastTriggerTime(value metav1.Time) *ImageChangeTriggerStatusApplyConfiguration
WithLastTriggerTime sets the LastTriggerTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTriggerTime field is set to the value of the last call.
func (*ImageChangeTriggerStatusApplyConfiguration) WithLastTriggeredImageID ¶
func (b *ImageChangeTriggerStatusApplyConfiguration) WithLastTriggeredImageID(value string) *ImageChangeTriggerStatusApplyConfiguration
WithLastTriggeredImageID sets the LastTriggeredImageID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the LastTriggeredImageID field is set to the value of the last call.
type ImageLabelApplyConfiguration ¶
type ImageLabelApplyConfiguration struct { Name *string `json:"name,omitempty"` Value *string `json:"value,omitempty"` }
ImageLabelApplyConfiguration represents an declarative configuration of the ImageLabel type for use with apply.
func ImageLabel ¶
func ImageLabel() *ImageLabelApplyConfiguration
ImageLabelApplyConfiguration constructs an declarative configuration of the ImageLabel type for use with apply.
func (*ImageLabelApplyConfiguration) WithName ¶
func (b *ImageLabelApplyConfiguration) WithName(value string) *ImageLabelApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ImageLabelApplyConfiguration) WithValue ¶
func (b *ImageLabelApplyConfiguration) WithValue(value string) *ImageLabelApplyConfiguration
WithValue sets the Value field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Value field is set to the value of the last call.
type ImageSourceApplyConfiguration ¶
type ImageSourceApplyConfiguration struct { From *v1.ObjectReference `json:"from,omitempty"` As []string `json:"as,omitempty"` Paths []ImageSourcePathApplyConfiguration `json:"paths,omitempty"` PullSecret *v1.LocalObjectReference `json:"pullSecret,omitempty"` }
ImageSourceApplyConfiguration represents an declarative configuration of the ImageSource type for use with apply.
func ImageSource ¶
func ImageSource() *ImageSourceApplyConfiguration
ImageSourceApplyConfiguration constructs an declarative configuration of the ImageSource type for use with apply.
func (*ImageSourceApplyConfiguration) WithAs ¶
func (b *ImageSourceApplyConfiguration) WithAs(values ...string) *ImageSourceApplyConfiguration
WithAs adds the given value to the As field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the As field.
func (*ImageSourceApplyConfiguration) WithFrom ¶
func (b *ImageSourceApplyConfiguration) WithFrom(value v1.ObjectReference) *ImageSourceApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
func (*ImageSourceApplyConfiguration) WithPaths ¶
func (b *ImageSourceApplyConfiguration) WithPaths(values ...*ImageSourcePathApplyConfiguration) *ImageSourceApplyConfiguration
WithPaths adds the given value to the Paths field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Paths field.
func (*ImageSourceApplyConfiguration) WithPullSecret ¶
func (b *ImageSourceApplyConfiguration) WithPullSecret(value v1.LocalObjectReference) *ImageSourceApplyConfiguration
WithPullSecret sets the PullSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PullSecret field is set to the value of the last call.
type ImageSourcePathApplyConfiguration ¶
type ImageSourcePathApplyConfiguration struct { SourcePath *string `json:"sourcePath,omitempty"` DestinationDir *string `json:"destinationDir,omitempty"` }
ImageSourcePathApplyConfiguration represents an declarative configuration of the ImageSourcePath type for use with apply.
func ImageSourcePath ¶
func ImageSourcePath() *ImageSourcePathApplyConfiguration
ImageSourcePathApplyConfiguration constructs an declarative configuration of the ImageSourcePath type for use with apply.
func (*ImageSourcePathApplyConfiguration) WithDestinationDir ¶
func (b *ImageSourcePathApplyConfiguration) WithDestinationDir(value string) *ImageSourcePathApplyConfiguration
WithDestinationDir sets the DestinationDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DestinationDir field is set to the value of the last call.
func (*ImageSourcePathApplyConfiguration) WithSourcePath ¶
func (b *ImageSourcePathApplyConfiguration) WithSourcePath(value string) *ImageSourcePathApplyConfiguration
WithSourcePath sets the SourcePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SourcePath field is set to the value of the last call.
type ImageStreamTagReferenceApplyConfiguration ¶
type ImageStreamTagReferenceApplyConfiguration struct { Namespace *string `json:"namespace,omitempty"` Name *string `json:"name,omitempty"` }
ImageStreamTagReferenceApplyConfiguration represents an declarative configuration of the ImageStreamTagReference type for use with apply.
func ImageStreamTagReference ¶
func ImageStreamTagReference() *ImageStreamTagReferenceApplyConfiguration
ImageStreamTagReferenceApplyConfiguration constructs an declarative configuration of the ImageStreamTagReference type for use with apply.
func (*ImageStreamTagReferenceApplyConfiguration) WithName ¶
func (b *ImageStreamTagReferenceApplyConfiguration) WithName(value string) *ImageStreamTagReferenceApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*ImageStreamTagReferenceApplyConfiguration) WithNamespace ¶
func (b *ImageStreamTagReferenceApplyConfiguration) WithNamespace(value string) *ImageStreamTagReferenceApplyConfiguration
WithNamespace sets the Namespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Namespace field is set to the value of the last call.
type JenkinsPipelineBuildStrategyApplyConfiguration ¶
type JenkinsPipelineBuildStrategyApplyConfiguration struct { JenkinsfilePath *string `json:"jenkinsfilePath,omitempty"` Jenkinsfile *string `json:"jenkinsfile,omitempty"` Env []v1.EnvVar `json:"env,omitempty"` }
JenkinsPipelineBuildStrategyApplyConfiguration represents an declarative configuration of the JenkinsPipelineBuildStrategy type for use with apply.
func JenkinsPipelineBuildStrategy ¶
func JenkinsPipelineBuildStrategy() *JenkinsPipelineBuildStrategyApplyConfiguration
JenkinsPipelineBuildStrategyApplyConfiguration constructs an declarative configuration of the JenkinsPipelineBuildStrategy type for use with apply.
func (*JenkinsPipelineBuildStrategyApplyConfiguration) WithEnv ¶
func (b *JenkinsPipelineBuildStrategyApplyConfiguration) WithEnv(values ...v1.EnvVar) *JenkinsPipelineBuildStrategyApplyConfiguration
WithEnv adds the given value to the Env field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Env field.
func (*JenkinsPipelineBuildStrategyApplyConfiguration) WithJenkinsfile ¶
func (b *JenkinsPipelineBuildStrategyApplyConfiguration) WithJenkinsfile(value string) *JenkinsPipelineBuildStrategyApplyConfiguration
WithJenkinsfile sets the Jenkinsfile field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Jenkinsfile field is set to the value of the last call.
func (*JenkinsPipelineBuildStrategyApplyConfiguration) WithJenkinsfilePath ¶
func (b *JenkinsPipelineBuildStrategyApplyConfiguration) WithJenkinsfilePath(value string) *JenkinsPipelineBuildStrategyApplyConfiguration
WithJenkinsfilePath sets the JenkinsfilePath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JenkinsfilePath field is set to the value of the last call.
type ProxyConfigApplyConfiguration ¶
type ProxyConfigApplyConfiguration struct { HTTPProxy *string `json:"httpProxy,omitempty"` HTTPSProxy *string `json:"httpsProxy,omitempty"` NoProxy *string `json:"noProxy,omitempty"` }
ProxyConfigApplyConfiguration represents an declarative configuration of the ProxyConfig type for use with apply.
func ProxyConfig ¶
func ProxyConfig() *ProxyConfigApplyConfiguration
ProxyConfigApplyConfiguration constructs an declarative configuration of the ProxyConfig type for use with apply.
func (*ProxyConfigApplyConfiguration) WithHTTPProxy ¶
func (b *ProxyConfigApplyConfiguration) WithHTTPProxy(value string) *ProxyConfigApplyConfiguration
WithHTTPProxy sets the HTTPProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPProxy field is set to the value of the last call.
func (*ProxyConfigApplyConfiguration) WithHTTPSProxy ¶
func (b *ProxyConfigApplyConfiguration) WithHTTPSProxy(value string) *ProxyConfigApplyConfiguration
WithHTTPSProxy sets the HTTPSProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the HTTPSProxy field is set to the value of the last call.
func (*ProxyConfigApplyConfiguration) WithNoProxy ¶
func (b *ProxyConfigApplyConfiguration) WithNoProxy(value string) *ProxyConfigApplyConfiguration
WithNoProxy sets the NoProxy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the NoProxy field is set to the value of the last call.
type SecretBuildSourceApplyConfiguration ¶
type SecretBuildSourceApplyConfiguration struct { Secret *v1.LocalObjectReference `json:"secret,omitempty"` DestinationDir *string `json:"destinationDir,omitempty"` }
SecretBuildSourceApplyConfiguration represents an declarative configuration of the SecretBuildSource type for use with apply.
func SecretBuildSource ¶
func SecretBuildSource() *SecretBuildSourceApplyConfiguration
SecretBuildSourceApplyConfiguration constructs an declarative configuration of the SecretBuildSource type for use with apply.
func (*SecretBuildSourceApplyConfiguration) WithDestinationDir ¶
func (b *SecretBuildSourceApplyConfiguration) WithDestinationDir(value string) *SecretBuildSourceApplyConfiguration
WithDestinationDir sets the DestinationDir field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DestinationDir field is set to the value of the last call.
func (*SecretBuildSourceApplyConfiguration) WithSecret ¶
func (b *SecretBuildSourceApplyConfiguration) WithSecret(value v1.LocalObjectReference) *SecretBuildSourceApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
type SecretLocalReferenceApplyConfiguration ¶
type SecretLocalReferenceApplyConfiguration struct {
Name *string `json:"name,omitempty"`
}
SecretLocalReferenceApplyConfiguration represents an declarative configuration of the SecretLocalReference type for use with apply.
func SecretLocalReference ¶
func SecretLocalReference() *SecretLocalReferenceApplyConfiguration
SecretLocalReferenceApplyConfiguration constructs an declarative configuration of the SecretLocalReference type for use with apply.
func (*SecretLocalReferenceApplyConfiguration) WithName ¶
func (b *SecretLocalReferenceApplyConfiguration) WithName(value string) *SecretLocalReferenceApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type SecretSpecApplyConfiguration ¶
type SecretSpecApplyConfiguration struct { SecretSource *v1.LocalObjectReference `json:"secretSource,omitempty"` MountPath *string `json:"mountPath,omitempty"` }
SecretSpecApplyConfiguration represents an declarative configuration of the SecretSpec type for use with apply.
func SecretSpec ¶
func SecretSpec() *SecretSpecApplyConfiguration
SecretSpecApplyConfiguration constructs an declarative configuration of the SecretSpec type for use with apply.
func (*SecretSpecApplyConfiguration) WithMountPath ¶
func (b *SecretSpecApplyConfiguration) WithMountPath(value string) *SecretSpecApplyConfiguration
WithMountPath sets the MountPath field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MountPath field is set to the value of the last call.
func (*SecretSpecApplyConfiguration) WithSecretSource ¶
func (b *SecretSpecApplyConfiguration) WithSecretSource(value v1.LocalObjectReference) *SecretSpecApplyConfiguration
WithSecretSource sets the SecretSource field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretSource field is set to the value of the last call.
type SourceBuildStrategyApplyConfiguration ¶
type SourceBuildStrategyApplyConfiguration struct { From *v1.ObjectReference `json:"from,omitempty"` PullSecret *v1.LocalObjectReference `json:"pullSecret,omitempty"` Env []v1.EnvVar `json:"env,omitempty"` Scripts *string `json:"scripts,omitempty"` Incremental *bool `json:"incremental,omitempty"` ForcePull *bool `json:"forcePull,omitempty"` Volumes []BuildVolumeApplyConfiguration `json:"volumes,omitempty"` }
SourceBuildStrategyApplyConfiguration represents an declarative configuration of the SourceBuildStrategy type for use with apply.
func SourceBuildStrategy ¶
func SourceBuildStrategy() *SourceBuildStrategyApplyConfiguration
SourceBuildStrategyApplyConfiguration constructs an declarative configuration of the SourceBuildStrategy type for use with apply.
func (*SourceBuildStrategyApplyConfiguration) WithEnv ¶
func (b *SourceBuildStrategyApplyConfiguration) WithEnv(values ...v1.EnvVar) *SourceBuildStrategyApplyConfiguration
WithEnv adds the given value to the Env field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Env field.
func (*SourceBuildStrategyApplyConfiguration) WithForcePull ¶
func (b *SourceBuildStrategyApplyConfiguration) WithForcePull(value bool) *SourceBuildStrategyApplyConfiguration
WithForcePull sets the ForcePull field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ForcePull field is set to the value of the last call.
func (*SourceBuildStrategyApplyConfiguration) WithFrom ¶
func (b *SourceBuildStrategyApplyConfiguration) WithFrom(value v1.ObjectReference) *SourceBuildStrategyApplyConfiguration
WithFrom sets the From field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the From field is set to the value of the last call.
func (*SourceBuildStrategyApplyConfiguration) WithIncremental ¶
func (b *SourceBuildStrategyApplyConfiguration) WithIncremental(value bool) *SourceBuildStrategyApplyConfiguration
WithIncremental sets the Incremental field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Incremental field is set to the value of the last call.
func (*SourceBuildStrategyApplyConfiguration) WithPullSecret ¶
func (b *SourceBuildStrategyApplyConfiguration) WithPullSecret(value v1.LocalObjectReference) *SourceBuildStrategyApplyConfiguration
WithPullSecret sets the PullSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the PullSecret field is set to the value of the last call.
func (*SourceBuildStrategyApplyConfiguration) WithScripts ¶
func (b *SourceBuildStrategyApplyConfiguration) WithScripts(value string) *SourceBuildStrategyApplyConfiguration
WithScripts sets the Scripts field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Scripts field is set to the value of the last call.
func (*SourceBuildStrategyApplyConfiguration) WithVolumes ¶
func (b *SourceBuildStrategyApplyConfiguration) WithVolumes(values ...*BuildVolumeApplyConfiguration) *SourceBuildStrategyApplyConfiguration
WithVolumes adds the given value to the Volumes field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Volumes field.
type SourceControlUserApplyConfiguration ¶
type SourceControlUserApplyConfiguration struct { Name *string `json:"name,omitempty"` Email *string `json:"email,omitempty"` }
SourceControlUserApplyConfiguration represents an declarative configuration of the SourceControlUser type for use with apply.
func SourceControlUser ¶
func SourceControlUser() *SourceControlUserApplyConfiguration
SourceControlUserApplyConfiguration constructs an declarative configuration of the SourceControlUser type for use with apply.
func (*SourceControlUserApplyConfiguration) WithEmail ¶
func (b *SourceControlUserApplyConfiguration) WithEmail(value string) *SourceControlUserApplyConfiguration
WithEmail sets the Email field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Email field is set to the value of the last call.
func (*SourceControlUserApplyConfiguration) WithName ¶
func (b *SourceControlUserApplyConfiguration) WithName(value string) *SourceControlUserApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
type SourceRevisionApplyConfiguration ¶
type SourceRevisionApplyConfiguration struct { Type *v1.BuildSourceType `json:"type,omitempty"` Git *GitSourceRevisionApplyConfiguration `json:"git,omitempty"` }
SourceRevisionApplyConfiguration represents an declarative configuration of the SourceRevision type for use with apply.
func SourceRevision ¶
func SourceRevision() *SourceRevisionApplyConfiguration
SourceRevisionApplyConfiguration constructs an declarative configuration of the SourceRevision type for use with apply.
func (*SourceRevisionApplyConfiguration) WithGit ¶
func (b *SourceRevisionApplyConfiguration) WithGit(value *GitSourceRevisionApplyConfiguration) *SourceRevisionApplyConfiguration
WithGit sets the Git field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Git field is set to the value of the last call.
func (*SourceRevisionApplyConfiguration) WithType ¶
func (b *SourceRevisionApplyConfiguration) WithType(value v1.BuildSourceType) *SourceRevisionApplyConfiguration
WithType sets the Type field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Type field is set to the value of the last call.
type StageInfoApplyConfiguration ¶
type StageInfoApplyConfiguration struct { Name *v1.StageName `json:"name,omitempty"` StartTime *metav1.Time `json:"startTime,omitempty"` DurationMilliseconds *int64 `json:"durationMilliseconds,omitempty"` Steps []StepInfoApplyConfiguration `json:"steps,omitempty"` }
StageInfoApplyConfiguration represents an declarative configuration of the StageInfo type for use with apply.
func StageInfo ¶
func StageInfo() *StageInfoApplyConfiguration
StageInfoApplyConfiguration constructs an declarative configuration of the StageInfo type for use with apply.
func (*StageInfoApplyConfiguration) WithDurationMilliseconds ¶
func (b *StageInfoApplyConfiguration) WithDurationMilliseconds(value int64) *StageInfoApplyConfiguration
WithDurationMilliseconds sets the DurationMilliseconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DurationMilliseconds field is set to the value of the last call.
func (*StageInfoApplyConfiguration) WithName ¶
func (b *StageInfoApplyConfiguration) WithName(value v1.StageName) *StageInfoApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*StageInfoApplyConfiguration) WithStartTime ¶
func (b *StageInfoApplyConfiguration) WithStartTime(value metav1.Time) *StageInfoApplyConfiguration
WithStartTime sets the StartTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTime field is set to the value of the last call.
func (*StageInfoApplyConfiguration) WithSteps ¶
func (b *StageInfoApplyConfiguration) WithSteps(values ...*StepInfoApplyConfiguration) *StageInfoApplyConfiguration
WithSteps adds the given value to the Steps field in the declarative configuration and returns the receiver, so that objects can be build by chaining "With" function invocations. If called multiple times, values provided by each call will be appended to the Steps field.
type StepInfoApplyConfiguration ¶
type StepInfoApplyConfiguration struct { Name *v1.StepName `json:"name,omitempty"` StartTime *metav1.Time `json:"startTime,omitempty"` DurationMilliseconds *int64 `json:"durationMilliseconds,omitempty"` }
StepInfoApplyConfiguration represents an declarative configuration of the StepInfo type for use with apply.
func StepInfo ¶
func StepInfo() *StepInfoApplyConfiguration
StepInfoApplyConfiguration constructs an declarative configuration of the StepInfo type for use with apply.
func (*StepInfoApplyConfiguration) WithDurationMilliseconds ¶
func (b *StepInfoApplyConfiguration) WithDurationMilliseconds(value int64) *StepInfoApplyConfiguration
WithDurationMilliseconds sets the DurationMilliseconds field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the DurationMilliseconds field is set to the value of the last call.
func (*StepInfoApplyConfiguration) WithName ¶
func (b *StepInfoApplyConfiguration) WithName(value v1.StepName) *StepInfoApplyConfiguration
WithName sets the Name field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Name field is set to the value of the last call.
func (*StepInfoApplyConfiguration) WithStartTime ¶
func (b *StepInfoApplyConfiguration) WithStartTime(value metav1.Time) *StepInfoApplyConfiguration
WithStartTime sets the StartTime field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartTime field is set to the value of the last call.
type WebHookTriggerApplyConfiguration ¶
type WebHookTriggerApplyConfiguration struct { Secret *string `json:"secret,omitempty"` AllowEnv *bool `json:"allowEnv,omitempty"` SecretReference *SecretLocalReferenceApplyConfiguration `json:"secretReference,omitempty"` }
WebHookTriggerApplyConfiguration represents an declarative configuration of the WebHookTrigger type for use with apply.
func WebHookTrigger ¶
func WebHookTrigger() *WebHookTriggerApplyConfiguration
WebHookTriggerApplyConfiguration constructs an declarative configuration of the WebHookTrigger type for use with apply.
func (*WebHookTriggerApplyConfiguration) WithAllowEnv ¶
func (b *WebHookTriggerApplyConfiguration) WithAllowEnv(value bool) *WebHookTriggerApplyConfiguration
WithAllowEnv sets the AllowEnv field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AllowEnv field is set to the value of the last call.
func (*WebHookTriggerApplyConfiguration) WithSecret ¶
func (b *WebHookTriggerApplyConfiguration) WithSecret(value string) *WebHookTriggerApplyConfiguration
WithSecret sets the Secret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Secret field is set to the value of the last call.
func (*WebHookTriggerApplyConfiguration) WithSecretReference ¶
func (b *WebHookTriggerApplyConfiguration) WithSecretReference(value *SecretLocalReferenceApplyConfiguration) *WebHookTriggerApplyConfiguration
WithSecretReference sets the SecretReference field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SecretReference field is set to the value of the last call.
Source Files ¶
- binarybuildsource.go
- bitbucketwebhookcause.go
- build.go
- buildcondition.go
- buildconfig.go
- buildconfigspec.go
- buildconfigstatus.go
- buildoutput.go
- buildpostcommitspec.go
- buildsource.go
- buildspec.go
- buildstatus.go
- buildstatusoutput.go
- buildstatusoutputto.go
- buildstrategy.go
- buildtriggercause.go
- buildtriggerpolicy.go
- buildvolume.go
- buildvolumemount.go
- buildvolumesource.go
- commonspec.go
- commonwebhookcause.go
- configmapbuildsource.go
- custombuildstrategy.go
- dockerbuildstrategy.go
- genericwebhookcause.go
- gitbuildsource.go
- githubwebhookcause.go
- gitlabwebhookcause.go
- gitsourcerevision.go
- imagechangecause.go
- imagechangetrigger.go
- imagechangetriggerstatus.go
- imagelabel.go
- imagesource.go
- imagesourcepath.go
- imagestreamtagreference.go
- jenkinspipelinebuildstrategy.go
- proxyconfig.go
- secretbuildsource.go
- secretlocalreference.go
- secretspec.go
- sourcebuildstrategy.go
- sourcecontroluser.go
- sourcerevision.go
- stageinfo.go
- stepinfo.go
- webhooktrigger.go