Documentation
¶
Index ¶
- type ElasticsearchApplyConfiguration
- func (b *ElasticsearchApplyConfiguration) WithAuthSecret(value string) *ElasticsearchApplyConfiguration
- func (b *ElasticsearchApplyConfiguration) WithIndexURL(value string) *ElasticsearchApplyConfiguration
- func (b *ElasticsearchApplyConfiguration) WithRunID(value v1alpha1.CustomJSON) *ElasticsearchApplyConfiguration
- type JenkinsFileApplyConfiguration
- func (b *JenkinsFileApplyConfiguration) WithPath(value string) *JenkinsFileApplyConfiguration
- func (b *JenkinsFileApplyConfiguration) WithRepoAuthSecret(value string) *JenkinsFileApplyConfiguration
- func (b *JenkinsFileApplyConfiguration) WithRevision(value string) *JenkinsFileApplyConfiguration
- func (b *JenkinsFileApplyConfiguration) WithURL(value string) *JenkinsFileApplyConfiguration
- type JenkinsfileRunnerSpecApplyConfiguration
- type LoggingApplyConfiguration
- type PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithAPIVersion(value string) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithAnnotations(entries map[string]string) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithFinalizers(values ...string) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithGenerateName(value string) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithGeneration(value int64) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithKind(value string) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithLabels(entries map[string]string) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithName(value string) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithNamespace(value string) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithResourceVersion(value string) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithSpec(value *PipelineSpecApplyConfiguration) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithStatus(value *PipelineStatusApplyConfiguration) *PipelineRunApplyConfiguration
- func (b *PipelineRunApplyConfiguration) WithUID(value types.UID) *PipelineRunApplyConfiguration
- type PipelineRunDetailsApplyConfiguration
- func (b *PipelineRunDetailsApplyConfiguration) WithCause(value string) *PipelineRunDetailsApplyConfiguration
- func (b *PipelineRunDetailsApplyConfiguration) WithJobName(value string) *PipelineRunDetailsApplyConfiguration
- func (b *PipelineRunDetailsApplyConfiguration) WithSequenceNumber(value int32) *PipelineRunDetailsApplyConfiguration
- type PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithArgs(entries map[string]string) *PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithImagePullSecrets(values ...string) *PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithIntent(value stewardv1alpha1.Intent) *PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithJenkinsFile(value *JenkinsFileApplyConfiguration) *PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithJenkinsfileRunner(value *JenkinsfileRunnerSpecApplyConfiguration) *PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithLogging(value *LoggingApplyConfiguration) *PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithProfiles(value *ProfilesApplyConfiguration) *PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithRunDetails(value *PipelineRunDetailsApplyConfiguration) *PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithSecrets(values ...string) *PipelineSpecApplyConfiguration
- func (b *PipelineSpecApplyConfiguration) WithTimeout(value v1.Duration) *PipelineSpecApplyConfiguration
- type PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithAuxiliaryNamespace(value string) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithContainer(value corev1.ContainerState) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithFinishedAt(value v1.Time) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithHistory(values ...string) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithMessage(value string) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithMessageShort(value string) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithNamespace(value string) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithResult(value v1alpha1.Result) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithStartedAt(value v1.Time) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithState(value v1alpha1.State) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithStateDetails(value *StateItemApplyConfiguration) *PipelineStatusApplyConfiguration
- func (b *PipelineStatusApplyConfiguration) WithStateHistory(values ...*StateItemApplyConfiguration) *PipelineStatusApplyConfiguration
- type ProfilesApplyConfiguration
- type StateItemApplyConfiguration
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ElasticsearchApplyConfiguration ¶
type ElasticsearchApplyConfiguration struct { RunID *v1alpha1.CustomJSON `json:"runID,omitempty"` IndexURL *string `json:"indexURL,omitempty"` AuthSecret *string `json:"authSecret,omitempty"` }
ElasticsearchApplyConfiguration represents an declarative configuration of the Elasticsearch type for use with apply.
func Elasticsearch ¶
func Elasticsearch() *ElasticsearchApplyConfiguration
ElasticsearchApplyConfiguration constructs an declarative configuration of the Elasticsearch type for use with apply.
func (*ElasticsearchApplyConfiguration) WithAuthSecret ¶
func (b *ElasticsearchApplyConfiguration) WithAuthSecret(value string) *ElasticsearchApplyConfiguration
WithAuthSecret sets the AuthSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuthSecret field is set to the value of the last call.
func (*ElasticsearchApplyConfiguration) WithIndexURL ¶
func (b *ElasticsearchApplyConfiguration) WithIndexURL(value string) *ElasticsearchApplyConfiguration
WithIndexURL sets the IndexURL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the IndexURL field is set to the value of the last call.
func (*ElasticsearchApplyConfiguration) WithRunID ¶
func (b *ElasticsearchApplyConfiguration) WithRunID(value v1alpha1.CustomJSON) *ElasticsearchApplyConfiguration
WithRunID sets the RunID field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunID field is set to the value of the last call.
type JenkinsFileApplyConfiguration ¶
type JenkinsFileApplyConfiguration struct { URL *string `json:"repoUrl,omitempty"` Revision *string `json:"revision,omitempty"` Path *string `json:"relativePath,omitempty"` RepoAuthSecret *string `json:"repoAuthSecret,omitempty"` }
JenkinsFileApplyConfiguration represents an declarative configuration of the JenkinsFile type for use with apply.
func JenkinsFile ¶
func JenkinsFile() *JenkinsFileApplyConfiguration
JenkinsFileApplyConfiguration constructs an declarative configuration of the JenkinsFile type for use with apply.
func (*JenkinsFileApplyConfiguration) WithPath ¶
func (b *JenkinsFileApplyConfiguration) WithPath(value string) *JenkinsFileApplyConfiguration
WithPath sets the Path field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Path field is set to the value of the last call.
func (*JenkinsFileApplyConfiguration) WithRepoAuthSecret ¶
func (b *JenkinsFileApplyConfiguration) WithRepoAuthSecret(value string) *JenkinsFileApplyConfiguration
WithRepoAuthSecret sets the RepoAuthSecret field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RepoAuthSecret field is set to the value of the last call.
func (*JenkinsFileApplyConfiguration) WithRevision ¶
func (b *JenkinsFileApplyConfiguration) WithRevision(value string) *JenkinsFileApplyConfiguration
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 (*JenkinsFileApplyConfiguration) WithURL ¶
func (b *JenkinsFileApplyConfiguration) WithURL(value string) *JenkinsFileApplyConfiguration
WithURL sets the URL field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the URL field is set to the value of the last call.
type JenkinsfileRunnerSpecApplyConfiguration ¶
type JenkinsfileRunnerSpecApplyConfiguration struct { Image *string `json:"image,omitempty"` ImagePullPolicy *string `json:"imagePullPolicy,omitempty"` }
JenkinsfileRunnerSpecApplyConfiguration represents an declarative configuration of the JenkinsfileRunnerSpec type for use with apply.
func JenkinsfileRunnerSpec ¶
func JenkinsfileRunnerSpec() *JenkinsfileRunnerSpecApplyConfiguration
JenkinsfileRunnerSpecApplyConfiguration constructs an declarative configuration of the JenkinsfileRunnerSpec type for use with apply.
func (*JenkinsfileRunnerSpecApplyConfiguration) WithImage ¶
func (b *JenkinsfileRunnerSpecApplyConfiguration) WithImage(value string) *JenkinsfileRunnerSpecApplyConfiguration
WithImage sets the Image field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Image field is set to the value of the last call.
func (*JenkinsfileRunnerSpecApplyConfiguration) WithImagePullPolicy ¶
func (b *JenkinsfileRunnerSpecApplyConfiguration) WithImagePullPolicy(value string) *JenkinsfileRunnerSpecApplyConfiguration
WithImagePullPolicy sets the ImagePullPolicy field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the ImagePullPolicy field is set to the value of the last call.
type LoggingApplyConfiguration ¶
type LoggingApplyConfiguration struct {
Elasticsearch *ElasticsearchApplyConfiguration `json:"elasticsearch,omitempty"`
}
LoggingApplyConfiguration represents an declarative configuration of the Logging type for use with apply.
func Logging ¶
func Logging() *LoggingApplyConfiguration
LoggingApplyConfiguration constructs an declarative configuration of the Logging type for use with apply.
func (*LoggingApplyConfiguration) WithElasticsearch ¶
func (b *LoggingApplyConfiguration) WithElasticsearch(value *ElasticsearchApplyConfiguration) *LoggingApplyConfiguration
WithElasticsearch sets the Elasticsearch field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Elasticsearch field is set to the value of the last call.
type PipelineRunApplyConfiguration ¶
type PipelineRunApplyConfiguration struct { v1.TypeMetaApplyConfiguration `json:",inline"` *v1.ObjectMetaApplyConfiguration `json:"metadata,omitempty"` Spec *PipelineSpecApplyConfiguration `json:"spec,omitempty"` Status *PipelineStatusApplyConfiguration `json:"status,omitempty"` }
PipelineRunApplyConfiguration represents an declarative configuration of the PipelineRun type for use with apply.
func PipelineRun ¶
func PipelineRun(name, namespace string) *PipelineRunApplyConfiguration
PipelineRun constructs an declarative configuration of the PipelineRun type for use with apply.
func (*PipelineRunApplyConfiguration) WithAPIVersion ¶
func (b *PipelineRunApplyConfiguration) WithAPIVersion(value string) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithAnnotations ¶
func (b *PipelineRunApplyConfiguration) WithAnnotations(entries map[string]string) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithCreationTimestamp ¶
func (b *PipelineRunApplyConfiguration) WithCreationTimestamp(value metav1.Time) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithDeletionGracePeriodSeconds ¶
func (b *PipelineRunApplyConfiguration) WithDeletionGracePeriodSeconds(value int64) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithDeletionTimestamp ¶
func (b *PipelineRunApplyConfiguration) WithDeletionTimestamp(value metav1.Time) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithFinalizers ¶
func (b *PipelineRunApplyConfiguration) WithFinalizers(values ...string) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithGenerateName ¶
func (b *PipelineRunApplyConfiguration) WithGenerateName(value string) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithGeneration ¶
func (b *PipelineRunApplyConfiguration) WithGeneration(value int64) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithKind ¶
func (b *PipelineRunApplyConfiguration) WithKind(value string) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithLabels ¶
func (b *PipelineRunApplyConfiguration) WithLabels(entries map[string]string) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithName ¶
func (b *PipelineRunApplyConfiguration) WithName(value string) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithNamespace ¶
func (b *PipelineRunApplyConfiguration) WithNamespace(value string) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithOwnerReferences ¶
func (b *PipelineRunApplyConfiguration) WithOwnerReferences(values ...*v1.OwnerReferenceApplyConfiguration) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithResourceVersion ¶
func (b *PipelineRunApplyConfiguration) WithResourceVersion(value string) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithSpec ¶
func (b *PipelineRunApplyConfiguration) WithSpec(value *PipelineSpecApplyConfiguration) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithStatus ¶
func (b *PipelineRunApplyConfiguration) WithStatus(value *PipelineStatusApplyConfiguration) *PipelineRunApplyConfiguration
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 (*PipelineRunApplyConfiguration) WithUID ¶
func (b *PipelineRunApplyConfiguration) WithUID(value types.UID) *PipelineRunApplyConfiguration
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 PipelineRunDetailsApplyConfiguration ¶
type PipelineRunDetailsApplyConfiguration struct { JobName *string `json:"jobName,omitempty"` SequenceNumber *int32 `json:"sequenceNumber,omitempty"` Cause *string `json:"cause,omitempty"` }
PipelineRunDetailsApplyConfiguration represents an declarative configuration of the PipelineRunDetails type for use with apply.
func PipelineRunDetails ¶
func PipelineRunDetails() *PipelineRunDetailsApplyConfiguration
PipelineRunDetailsApplyConfiguration constructs an declarative configuration of the PipelineRunDetails type for use with apply.
func (*PipelineRunDetailsApplyConfiguration) WithCause ¶
func (b *PipelineRunDetailsApplyConfiguration) WithCause(value string) *PipelineRunDetailsApplyConfiguration
WithCause sets the Cause field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Cause field is set to the value of the last call.
func (*PipelineRunDetailsApplyConfiguration) WithJobName ¶
func (b *PipelineRunDetailsApplyConfiguration) WithJobName(value string) *PipelineRunDetailsApplyConfiguration
WithJobName sets the JobName field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JobName field is set to the value of the last call.
func (*PipelineRunDetailsApplyConfiguration) WithSequenceNumber ¶
func (b *PipelineRunDetailsApplyConfiguration) WithSequenceNumber(value int32) *PipelineRunDetailsApplyConfiguration
WithSequenceNumber sets the SequenceNumber field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the SequenceNumber field is set to the value of the last call.
type PipelineSpecApplyConfiguration ¶
type PipelineSpecApplyConfiguration struct { JenkinsfileRunner *JenkinsfileRunnerSpecApplyConfiguration `json:"jenkinsfileRunner,omitempty"` JenkinsFile *JenkinsFileApplyConfiguration `json:"jenkinsFile,omitempty"` Args map[string]string `json:"args,omitempty"` Secrets []string `json:"secrets,omitempty"` ImagePullSecrets []string `json:"imagePullSecrets,omitempty"` Intent *stewardv1alpha1.Intent `json:"intent,omitempty"` Logging *LoggingApplyConfiguration `json:"logging,omitempty"` RunDetails *PipelineRunDetailsApplyConfiguration `json:"runDetails,omitempty"` Profiles *ProfilesApplyConfiguration `json:"profiles,omitempty"` Timeout *v1.Duration `json:"timeout,omitempty"` }
PipelineSpecApplyConfiguration represents an declarative configuration of the PipelineSpec type for use with apply.
func PipelineSpec ¶
func PipelineSpec() *PipelineSpecApplyConfiguration
PipelineSpecApplyConfiguration constructs an declarative configuration of the PipelineSpec type for use with apply.
func (*PipelineSpecApplyConfiguration) WithArgs ¶
func (b *PipelineSpecApplyConfiguration) WithArgs(entries map[string]string) *PipelineSpecApplyConfiguration
WithArgs puts the entries into 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, the entries provided by each call will be put on the Args field, overwriting an existing map entries in Args field with the same key.
func (*PipelineSpecApplyConfiguration) WithImagePullSecrets ¶
func (b *PipelineSpecApplyConfiguration) WithImagePullSecrets(values ...string) *PipelineSpecApplyConfiguration
WithImagePullSecrets adds the given value to the ImagePullSecrets 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 ImagePullSecrets field.
func (*PipelineSpecApplyConfiguration) WithIntent ¶
func (b *PipelineSpecApplyConfiguration) WithIntent(value stewardv1alpha1.Intent) *PipelineSpecApplyConfiguration
WithIntent sets the Intent field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Intent field is set to the value of the last call.
func (*PipelineSpecApplyConfiguration) WithJenkinsFile ¶
func (b *PipelineSpecApplyConfiguration) WithJenkinsFile(value *JenkinsFileApplyConfiguration) *PipelineSpecApplyConfiguration
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 (*PipelineSpecApplyConfiguration) WithJenkinsfileRunner ¶
func (b *PipelineSpecApplyConfiguration) WithJenkinsfileRunner(value *JenkinsfileRunnerSpecApplyConfiguration) *PipelineSpecApplyConfiguration
WithJenkinsfileRunner sets the JenkinsfileRunner field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the JenkinsfileRunner field is set to the value of the last call.
func (*PipelineSpecApplyConfiguration) WithLogging ¶
func (b *PipelineSpecApplyConfiguration) WithLogging(value *LoggingApplyConfiguration) *PipelineSpecApplyConfiguration
WithLogging sets the Logging field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Logging field is set to the value of the last call.
func (*PipelineSpecApplyConfiguration) WithProfiles ¶
func (b *PipelineSpecApplyConfiguration) WithProfiles(value *ProfilesApplyConfiguration) *PipelineSpecApplyConfiguration
WithProfiles sets the Profiles field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Profiles field is set to the value of the last call.
func (*PipelineSpecApplyConfiguration) WithRunDetails ¶
func (b *PipelineSpecApplyConfiguration) WithRunDetails(value *PipelineRunDetailsApplyConfiguration) *PipelineSpecApplyConfiguration
WithRunDetails sets the RunDetails field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the RunDetails field is set to the value of the last call.
func (*PipelineSpecApplyConfiguration) WithSecrets ¶
func (b *PipelineSpecApplyConfiguration) WithSecrets(values ...string) *PipelineSpecApplyConfiguration
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 (*PipelineSpecApplyConfiguration) WithTimeout ¶
func (b *PipelineSpecApplyConfiguration) WithTimeout(value v1.Duration) *PipelineSpecApplyConfiguration
WithTimeout sets the Timeout field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Timeout field is set to the value of the last call.
type PipelineStatusApplyConfiguration ¶
type PipelineStatusApplyConfiguration struct { StartedAt *v1.Time `json:"startedAt,omitempty"` FinishedAt *v1.Time `json:"finishedAt,omitempty"` State *v1alpha1.State `json:"state,omitempty"` StateDetails *StateItemApplyConfiguration `json:"stateDetails,omitempty"` StateHistory []StateItemApplyConfiguration `json:"stateHistory,omitempty"` Result *v1alpha1.Result `json:"result,omitempty"` Container *corev1.ContainerState `json:"container,omitempty"` MessageShort *string `json:"messageShort,omitempty"` Message *string `json:"message,omitempty"` History []string `json:"history,omitempty"` Namespace *string `json:"namespace,omitempty"` AuxiliaryNamespace *string `json:"auxiliaryNamespace,omitempty"` }
PipelineStatusApplyConfiguration represents an declarative configuration of the PipelineStatus type for use with apply.
func PipelineStatus ¶
func PipelineStatus() *PipelineStatusApplyConfiguration
PipelineStatusApplyConfiguration constructs an declarative configuration of the PipelineStatus type for use with apply.
func (*PipelineStatusApplyConfiguration) WithAuxiliaryNamespace ¶
func (b *PipelineStatusApplyConfiguration) WithAuxiliaryNamespace(value string) *PipelineStatusApplyConfiguration
WithAuxiliaryNamespace sets the AuxiliaryNamespace field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the AuxiliaryNamespace field is set to the value of the last call.
func (*PipelineStatusApplyConfiguration) WithContainer ¶
func (b *PipelineStatusApplyConfiguration) WithContainer(value corev1.ContainerState) *PipelineStatusApplyConfiguration
WithContainer sets the Container field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Container field is set to the value of the last call.
func (*PipelineStatusApplyConfiguration) WithFinishedAt ¶
func (b *PipelineStatusApplyConfiguration) WithFinishedAt(value v1.Time) *PipelineStatusApplyConfiguration
WithFinishedAt sets the FinishedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FinishedAt field is set to the value of the last call.
func (*PipelineStatusApplyConfiguration) WithHistory ¶
func (b *PipelineStatusApplyConfiguration) WithHistory(values ...string) *PipelineStatusApplyConfiguration
WithHistory adds the given value to the History 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 History field.
func (*PipelineStatusApplyConfiguration) WithMessage ¶
func (b *PipelineStatusApplyConfiguration) WithMessage(value string) *PipelineStatusApplyConfiguration
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 (*PipelineStatusApplyConfiguration) WithMessageShort ¶
func (b *PipelineStatusApplyConfiguration) WithMessageShort(value string) *PipelineStatusApplyConfiguration
WithMessageShort sets the MessageShort field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the MessageShort field is set to the value of the last call.
func (*PipelineStatusApplyConfiguration) WithNamespace ¶
func (b *PipelineStatusApplyConfiguration) WithNamespace(value string) *PipelineStatusApplyConfiguration
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 (*PipelineStatusApplyConfiguration) WithResult ¶
func (b *PipelineStatusApplyConfiguration) WithResult(value v1alpha1.Result) *PipelineStatusApplyConfiguration
WithResult sets the Result field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Result field is set to the value of the last call.
func (*PipelineStatusApplyConfiguration) WithStartedAt ¶
func (b *PipelineStatusApplyConfiguration) WithStartedAt(value v1.Time) *PipelineStatusApplyConfiguration
WithStartedAt sets the StartedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartedAt field is set to the value of the last call.
func (*PipelineStatusApplyConfiguration) WithState ¶
func (b *PipelineStatusApplyConfiguration) WithState(value v1alpha1.State) *PipelineStatusApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.
func (*PipelineStatusApplyConfiguration) WithStateDetails ¶
func (b *PipelineStatusApplyConfiguration) WithStateDetails(value *StateItemApplyConfiguration) *PipelineStatusApplyConfiguration
WithStateDetails sets the StateDetails field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StateDetails field is set to the value of the last call.
func (*PipelineStatusApplyConfiguration) WithStateHistory ¶
func (b *PipelineStatusApplyConfiguration) WithStateHistory(values ...*StateItemApplyConfiguration) *PipelineStatusApplyConfiguration
WithStateHistory adds the given value to the StateHistory 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 StateHistory field.
type ProfilesApplyConfiguration ¶
type ProfilesApplyConfiguration struct {
Network *string `json:"network,omitempty"`
}
ProfilesApplyConfiguration represents an declarative configuration of the Profiles type for use with apply.
func Profiles ¶
func Profiles() *ProfilesApplyConfiguration
ProfilesApplyConfiguration constructs an declarative configuration of the Profiles type for use with apply.
func (*ProfilesApplyConfiguration) WithNetwork ¶
func (b *ProfilesApplyConfiguration) WithNetwork(value string) *ProfilesApplyConfiguration
WithNetwork sets the Network field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the Network field is set to the value of the last call.
type StateItemApplyConfiguration ¶
type StateItemApplyConfiguration struct { State *v1alpha1.State `json:"state,omitempty"` StartedAt *v1.Time `json:"startedAt,omitempty"` FinishedAt *v1.Time `json:"finishedAt,omitempty"` }
StateItemApplyConfiguration represents an declarative configuration of the StateItem type for use with apply.
func StateItem ¶
func StateItem() *StateItemApplyConfiguration
StateItemApplyConfiguration constructs an declarative configuration of the StateItem type for use with apply.
func (*StateItemApplyConfiguration) WithFinishedAt ¶
func (b *StateItemApplyConfiguration) WithFinishedAt(value v1.Time) *StateItemApplyConfiguration
WithFinishedAt sets the FinishedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the FinishedAt field is set to the value of the last call.
func (*StateItemApplyConfiguration) WithStartedAt ¶
func (b *StateItemApplyConfiguration) WithStartedAt(value v1.Time) *StateItemApplyConfiguration
WithStartedAt sets the StartedAt field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the StartedAt field is set to the value of the last call.
func (*StateItemApplyConfiguration) WithState ¶
func (b *StateItemApplyConfiguration) WithState(value v1alpha1.State) *StateItemApplyConfiguration
WithState sets the State field in the declarative configuration to the given value and returns the receiver, so that objects can be built by chaining "With" function invocations. If called multiple times, the State field is set to the value of the last call.