v1

package
v0.0.0-...-aaed17e Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 3

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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