v1alpha1

package
v0.40.0 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.

Jump to

Keyboard shortcuts

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