Documentation ¶
Overview ¶
Package v1alpha1 contains API Schema definitions for the appstudio v1alpha1 API group +kubebuilder:object:generate=true +groupName=appstudio.redhat.com
Index ¶
- Constants
- Variables
- type AttributionInfo
- type Collector
- type MatchedReleasePlan
- type MatchedReleasePlanAdmission
- type Param
- type PipelineInfo
- type Release
- func (in *Release) DeepCopy() *Release
- func (in *Release) DeepCopyInto(out *Release)
- func (in *Release) DeepCopyObject() runtime.Object
- func (r *Release) HasFinalPipelineProcessingFinished() bool
- func (r *Release) HasManagedPipelineProcessingFinished() bool
- func (r *Release) HasReleaseFinished() bool
- func (r *Release) HasTenantPipelineProcessingFinished() bool
- func (r *Release) IsAttributed() bool
- func (r *Release) IsAutomated() bool
- func (r *Release) IsFinalPipelineProcessed() bool
- func (r *Release) IsFinalPipelineProcessing() bool
- func (r *Release) IsManagedPipelineProcessed() bool
- func (r *Release) IsManagedPipelineProcessing() bool
- func (r *Release) IsReleased() bool
- func (r *Release) IsReleasing() bool
- func (r *Release) IsTenantPipelineProcessed() bool
- func (r *Release) IsTenantPipelineProcessing() bool
- func (r *Release) IsValid() bool
- func (r *Release) MarkFinalPipelineProcessed()
- func (r *Release) MarkFinalPipelineProcessing()
- func (r *Release) MarkFinalPipelineProcessingFailed(message string)
- func (r *Release) MarkFinalPipelineProcessingSkipped()
- func (r *Release) MarkManagedPipelineProcessed()
- func (r *Release) MarkManagedPipelineProcessing()
- func (r *Release) MarkManagedPipelineProcessingFailed(message string)
- func (r *Release) MarkManagedPipelineProcessingSkipped()
- func (r *Release) MarkReleaseFailed(message string)
- func (r *Release) MarkReleased()
- func (r *Release) MarkReleasing(message string)
- func (r *Release) MarkTenantPipelineProcessed()
- func (r *Release) MarkTenantPipelineProcessing()
- func (r *Release) MarkTenantPipelineProcessingFailed(message string)
- func (r *Release) MarkTenantPipelineProcessingSkipped()
- func (r *Release) MarkValidated()
- func (r *Release) MarkValidationFailed(message string)
- func (r *Release) SetAutomated()
- func (r *Release) SetExpirationTime(expireDays time.Duration)
- type ReleaseList
- type ReleasePlan
- type ReleasePlanAdmission
- func (rpa *ReleasePlanAdmission) ClearMatchingInfo()
- func (in *ReleasePlanAdmission) DeepCopy() *ReleasePlanAdmission
- func (in *ReleasePlanAdmission) DeepCopyInto(out *ReleasePlanAdmission)
- func (in *ReleasePlanAdmission) DeepCopyObject() runtime.Object
- func (rpa *ReleasePlanAdmission) MarkMatched(releasePlan *ReleasePlan)
- type ReleasePlanAdmissionList
- type ReleasePlanAdmissionSpec
- type ReleasePlanAdmissionStatus
- type ReleasePlanList
- type ReleasePlanSpec
- type ReleasePlanStatus
- type ReleaseServiceConfig
- type ReleaseServiceConfigList
- type ReleaseServiceConfigSpec
- type ReleaseServiceConfigStatus
- type ReleaseSpec
- type ReleaseStatus
- type ValidationInfo
Constants ¶
const ( // FailedReason is the reason set when a failure occurs FailedReason conditions.ConditionReason = "Failed" // ProgressingReason is the reason set when a phase is progressing ProgressingReason conditions.ConditionReason = "Progressing" // SkippedReason is the reason set when a phase is skipped SkippedReason conditions.ConditionReason = "Skipped" // SucceededReason is the reason set when a phase succeeds SucceededReason conditions.ConditionReason = "Succeeded" )
const ( // matchedConditionType is the type used to track the status of the ReleasePlan being matched to a // ReleasePlanAdmission or vice versa MatchedConditionType conditions.ConditionType = "Matched" )
const ( // MatchedReason is the reason set when a resource is matched MatchedReason conditions.ConditionReason = "Matched" )
const ReleaseServiceConfigResourceName string = "release-service-config"
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "appstudio.redhat.com", Version: "v1alpha1"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type AttributionInfo ¶
type AttributionInfo struct { // Author is the username that the release is attributed to // +optional Author string `json:"author,omitempty"` // StandingAuthorization indicates whether the release is attributed through a ReleasePlan // +optional StandingAuthorization bool `json:"standingAuthorization,omitempty"` }
AttributionInfo defines the observed state of the release attribution.
func (*AttributionInfo) DeepCopy ¶
func (in *AttributionInfo) DeepCopy() *AttributionInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AttributionInfo.
func (*AttributionInfo) DeepCopyInto ¶
func (in *AttributionInfo) DeepCopyInto(out *AttributionInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Collector ¶
type Collector struct { // Name of the collector // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +required Name string `json:"name"` // Timeout in seconds for the collector to execute // +optional Timeout int `json:"timeout,omitempty"` // Type is the type of collector to be used // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +required Type string `json:"type"` // Params is a slice of parameters for a given collector Params []Param `json:"params"` }
Collector represents a reference to a Collector to be executed as part of the release workflow. +kubebuilder:object:generate=true
func (*Collector) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Collector.
func (*Collector) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatchedReleasePlan ¶
type MatchedReleasePlan struct { // Name contains the namespaced name of the ReleasePlan // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?\/[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +optional Name string `json:"name,omitempty"` // Active indicates whether the ReleasePlan is set to auto-release or not // +kubebuilder:default:false // +optional Active bool `json:"active,omitempty"` }
MatchedReleasePlan defines the relevant information for a matched ReleasePlan.
func (*MatchedReleasePlan) DeepCopy ¶
func (in *MatchedReleasePlan) DeepCopy() *MatchedReleasePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchedReleasePlan.
func (*MatchedReleasePlan) DeepCopyInto ¶
func (in *MatchedReleasePlan) DeepCopyInto(out *MatchedReleasePlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type MatchedReleasePlanAdmission ¶
type MatchedReleasePlanAdmission struct { // Name contains the namespaced name of the releasePlanAdmission // +optional Name string `json:"name,omitempty"` // Active indicates whether the ReleasePlanAdmission is set to auto-release or not // +kubebuilder:default:false // +optional Active bool `json:"active,omitempty"` }
MatchedReleasePlanAdmission defines the relevant information for a matched ReleasePlanAdmission.
func (*MatchedReleasePlanAdmission) DeepCopy ¶
func (in *MatchedReleasePlanAdmission) DeepCopy() *MatchedReleasePlanAdmission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new MatchedReleasePlanAdmission.
func (*MatchedReleasePlanAdmission) DeepCopyInto ¶
func (in *MatchedReleasePlanAdmission) DeepCopyInto(out *MatchedReleasePlanAdmission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Param ¶
type Param struct { // Name is the name of the parameter Name string `json:"name"` // Value is the value of the parameter Value string `json:"value"` }
Param represents a parameter for a collector
func (*Param) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Param.
func (*Param) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type PipelineInfo ¶
type PipelineInfo struct { // CompletionTime is the time when the Release processing was completed // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` // PipelineRun contains the namespaced name of the managed Release PipelineRun executed as part of this release // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?\/[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +optional PipelineRun string `json:"pipelineRun,omitempty"` // RoleBinding contains the namespaced name of the roleBinding created for the managed Release PipelineRun // executed as part of this release // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?\/[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +optional RoleBinding string `json:"roleBinding,omitempty"` // StartTime is the time when the Release processing started // +optional StartTime *metav1.Time `json:"startTime,omitempty"` }
PipelineInfo defines the observed state of a release pipeline processing.
func (*PipelineInfo) DeepCopy ¶
func (in *PipelineInfo) DeepCopy() *PipelineInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new PipelineInfo.
func (*PipelineInfo) DeepCopyInto ¶
func (in *PipelineInfo) DeepCopyInto(out *PipelineInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Release ¶
type Release struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ReleaseSpec `json:"spec,omitempty"` Status ReleaseStatus `json:"status,omitempty"` }
Release is the Schema for the releases API
func (*Release) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Release.
func (*Release) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*Release) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*Release) HasFinalPipelineProcessingFinished ¶
HasFinalPipelineProcessingFinished checks whether the Release Final Pipeline processing has finished, regardless of the result.
func (*Release) HasManagedPipelineProcessingFinished ¶
HasManagedPipelineProcessingFinished checks whether the Release Managed Pipeline processing has finished, regardless of the result.
func (*Release) HasReleaseFinished ¶
HasReleaseFinished checks whether the Release has finished, regardless of the result.
func (*Release) HasTenantPipelineProcessingFinished ¶
HasTenantPipelineProcessingFinished checks whether the Release Tenant Pipeline processing has finished, regardless of the result.
func (*Release) IsAttributed ¶
IsAttributed checks whether the Release was marked as attributed.
func (*Release) IsAutomated ¶
IsAutomated checks whether the Release was marked as automated.
func (*Release) IsFinalPipelineProcessed ¶
IsFinalPipelineProcessed checks whether the Release Final Pipeline was successfully processed.
func (*Release) IsFinalPipelineProcessing ¶
IsFinalPipelineProcessing checks whether the Release Final Pipeline processing is in progress.
func (*Release) IsManagedPipelineProcessed ¶
IsManagedPipelineProcessed checks whether the Release Managed Pipeline was successfully processed.
func (*Release) IsManagedPipelineProcessing ¶
IsManagedPipelineProcessing checks whether the Release Managed Pipeline processing is in progress.
func (*Release) IsReleased ¶
IsReleased checks whether the Release has finished successfully.
func (*Release) IsReleasing ¶
IsReleasing checks whether the Release is in progress.
func (*Release) IsTenantPipelineProcessed ¶
IsTenantPipelineProcessed checks whether the Release Tenant Pipeline was successfully processed.
func (*Release) IsTenantPipelineProcessing ¶
IsTenantPipelineProcessing checks whether the Release Tenant Pipeline processing is in progress.
func (*Release) MarkFinalPipelineProcessed ¶
func (r *Release) MarkFinalPipelineProcessed()
MarkFinalPipelineProcessed marks the Release Final Pipeline as processed.
func (*Release) MarkFinalPipelineProcessing ¶
func (r *Release) MarkFinalPipelineProcessing()
MarkFinalPipelineProcessing marks the Release Final Pipeline as processing.
func (*Release) MarkFinalPipelineProcessingFailed ¶
MarkFinalPipelineProcessingFailed marks the Release Final Pipeline processing as failed.
func (*Release) MarkFinalPipelineProcessingSkipped ¶
func (r *Release) MarkFinalPipelineProcessingSkipped()
MarkFinalPipelineProcessingSkipped marks the Release Final Pipeline processing as skipped.
func (*Release) MarkManagedPipelineProcessed ¶
func (r *Release) MarkManagedPipelineProcessed()
MarkManagedPipelineProcessed marks the Release Managed Pipeline as processed.
func (*Release) MarkManagedPipelineProcessing ¶
func (r *Release) MarkManagedPipelineProcessing()
MarkManagedPipelineProcessing marks the Release Managed Pipeline as processing.
func (*Release) MarkManagedPipelineProcessingFailed ¶
MarkManagedPipelineProcessingFailed marks the Release Managed Pipeline processing as failed.
func (*Release) MarkManagedPipelineProcessingSkipped ¶
func (r *Release) MarkManagedPipelineProcessingSkipped()
MarkManagedPipelineProcessingSkipped marks the Release Managed Pipeline processing as skipped.
func (*Release) MarkReleaseFailed ¶
MarkReleaseFailed marks the Release as failed.
func (*Release) MarkReleased ¶
func (r *Release) MarkReleased()
MarkReleased marks the Release as released.
func (*Release) MarkReleasing ¶
MarkReleasing marks the Release as releasing.
func (*Release) MarkTenantPipelineProcessed ¶
func (r *Release) MarkTenantPipelineProcessed()
MarkTenantPipelineProcessed marks the Release Tenant Pipeline as processed.
func (*Release) MarkTenantPipelineProcessing ¶
func (r *Release) MarkTenantPipelineProcessing()
MarkTenantPipelineProcessing marks the Release Tenant Pipeline as processing.
func (*Release) MarkTenantPipelineProcessingFailed ¶
MarkTenantPipelineProcessingFailed marks the Release Tenant Pipeline processing as failed.
func (*Release) MarkTenantPipelineProcessingSkipped ¶
func (r *Release) MarkTenantPipelineProcessingSkipped()
MarkTenantPipelineProcessingSkipped marks the Release Tenant Pipeline processing as skipped.
func (*Release) MarkValidated ¶
func (r *Release) MarkValidated()
MarkValidated marks the Release as validated.
func (*Release) MarkValidationFailed ¶
MarkValidationFailed marks the Release validation as failed.
func (*Release) SetAutomated ¶
func (r *Release) SetAutomated()
SetAutomated marks the Release as automated.
func (*Release) SetExpirationTime ¶
SetExpirationTime set the time when this release can be purged
type ReleaseList ¶
type ReleaseList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []Release `json:"items"` }
ReleaseList contains a list of Release
func (*ReleaseList) DeepCopy ¶
func (in *ReleaseList) DeepCopy() *ReleaseList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseList.
func (*ReleaseList) DeepCopyInto ¶
func (in *ReleaseList) DeepCopyInto(out *ReleaseList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleaseList) DeepCopyObject ¶
func (in *ReleaseList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReleasePlan ¶
type ReleasePlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ReleasePlanSpec `json:"spec,omitempty"` Status ReleasePlanStatus `json:"status,omitempty"` }
ReleasePlan is the Schema for the ReleasePlans API.
func (*ReleasePlan) DeepCopy ¶
func (in *ReleasePlan) DeepCopy() *ReleasePlan
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleasePlan.
func (*ReleasePlan) DeepCopyInto ¶
func (in *ReleasePlan) DeepCopyInto(out *ReleasePlan)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleasePlan) DeepCopyObject ¶
func (in *ReleasePlan) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ReleasePlan) MarkMatched ¶
func (rp *ReleasePlan) MarkMatched(releasePlanAdmission *ReleasePlanAdmission)
MarkMatched marks the ReleasePlan as matched to a given ReleasePlanAdmission.
func (*ReleasePlan) MarkUnmatched ¶
func (rp *ReleasePlan) MarkUnmatched()
MarkUnmatched marks the ReleasePlan as not matched to any ReleasePlanAdmission.
type ReleasePlanAdmission ¶
type ReleasePlanAdmission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ReleasePlanAdmissionSpec `json:"spec,omitempty"` Status ReleasePlanAdmissionStatus `json:"status,omitempty"` }
ReleasePlanAdmission is the Schema for the ReleasePlanAdmissions API.
func (*ReleasePlanAdmission) ClearMatchingInfo ¶
func (rpa *ReleasePlanAdmission) ClearMatchingInfo()
ClearMatchingInfo marks the ReleasePlanAdmission as no longer matched to any ReleasePlan.
func (*ReleasePlanAdmission) DeepCopy ¶
func (in *ReleasePlanAdmission) DeepCopy() *ReleasePlanAdmission
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleasePlanAdmission.
func (*ReleasePlanAdmission) DeepCopyInto ¶
func (in *ReleasePlanAdmission) DeepCopyInto(out *ReleasePlanAdmission)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleasePlanAdmission) DeepCopyObject ¶
func (in *ReleasePlanAdmission) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (*ReleasePlanAdmission) MarkMatched ¶
func (rpa *ReleasePlanAdmission) MarkMatched(releasePlan *ReleasePlan)
MarkMatched marks the ReleasePlanAdmission as matched to a given ReleasePlan.
type ReleasePlanAdmissionList ¶
type ReleasePlanAdmissionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ReleasePlanAdmission `json:"items"` }
ReleasePlanAdmissionList contains a list of ReleasePlanAdmission.
func (*ReleasePlanAdmissionList) DeepCopy ¶
func (in *ReleasePlanAdmissionList) DeepCopy() *ReleasePlanAdmissionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleasePlanAdmissionList.
func (*ReleasePlanAdmissionList) DeepCopyInto ¶
func (in *ReleasePlanAdmissionList) DeepCopyInto(out *ReleasePlanAdmissionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleasePlanAdmissionList) DeepCopyObject ¶
func (in *ReleasePlanAdmissionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReleasePlanAdmissionSpec ¶
type ReleasePlanAdmissionSpec struct { // Applications is a list of references to applications to be released in the managed namespace // +required Applications []string `json:"applications"` // Collectors is a list of data collectors to be executed as part of the release process // +optional Collectors []Collector `json:"collectors,omitempty"` // Data is an unstructured key used for providing data for the managed Release Pipeline // +kubebuilder:pruning:PreserveUnknownFields // +optional Data *runtime.RawExtension `json:"data,omitempty"` // Environment defines which Environment will be used to release the Application // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +optional Environment string `json:"environment,omitempty"` // Origin references where the release requests should come from // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +required Origin string `json:"origin"` // Pipeline contains all the information about the managed Pipeline // +optional Pipeline *tektonutils.Pipeline `json:"pipeline,omitempty"` // Policy to validate before releasing an artifact // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +required Policy string `json:"policy"` }
ReleasePlanAdmissionSpec defines the desired state of ReleasePlanAdmission.
func (*ReleasePlanAdmissionSpec) DeepCopy ¶
func (in *ReleasePlanAdmissionSpec) DeepCopy() *ReleasePlanAdmissionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleasePlanAdmissionSpec.
func (*ReleasePlanAdmissionSpec) DeepCopyInto ¶
func (in *ReleasePlanAdmissionSpec) DeepCopyInto(out *ReleasePlanAdmissionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleasePlanAdmissionStatus ¶
type ReleasePlanAdmissionStatus struct { // Conditions represent the latest available observations for the releasePlanAdmission // +optional Conditions []metav1.Condition `json:"conditions"` // ReleasePlan is a list of releasePlans matched to the ReleasePlanAdmission // +optional ReleasePlans []MatchedReleasePlan `json:"releasePlans"` }
ReleasePlanAdmissionStatus defines the observed state of ReleasePlanAdmission.
func (*ReleasePlanAdmissionStatus) DeepCopy ¶
func (in *ReleasePlanAdmissionStatus) DeepCopy() *ReleasePlanAdmissionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleasePlanAdmissionStatus.
func (*ReleasePlanAdmissionStatus) DeepCopyInto ¶
func (in *ReleasePlanAdmissionStatus) DeepCopyInto(out *ReleasePlanAdmissionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleasePlanList ¶
type ReleasePlanList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ReleasePlan `json:"items"` }
ReleasePlanList contains a list of ReleasePlan.
func (*ReleasePlanList) DeepCopy ¶
func (in *ReleasePlanList) DeepCopy() *ReleasePlanList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleasePlanList.
func (*ReleasePlanList) DeepCopyInto ¶
func (in *ReleasePlanList) DeepCopyInto(out *ReleasePlanList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleasePlanList) DeepCopyObject ¶
func (in *ReleasePlanList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReleasePlanSpec ¶
type ReleasePlanSpec struct { // Application is a reference to the application to be released in the managed namespace // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +required Application string `json:"application"` // Collectors is a list of data collectors to be executed as part of the release process // +optional Collectors []Collector `json:"collectors,omitempty"` // Data is an unstructured key used for providing data for the managed Release Pipeline // +kubebuilder:pruning:PreserveUnknownFields // +optional Data *runtime.RawExtension `json:"data,omitempty"` // TenantPipeline contains all the information about the tenant Pipeline // +optional TenantPipeline *tektonutils.ParameterizedPipeline `json:"tenantPipeline,omitempty"` // FinalPipeline contains all the information about the final Pipeline // +optional FinalPipeline *tektonutils.ParameterizedPipeline `json:"finalPipeline,omitempty"` // ReleaseGracePeriodDays is the number of days a Release should be kept // This value is used to define the Release ExpirationTime // +kubebuilder:default:=7 // +optional ReleaseGracePeriodDays int `json:"releaseGracePeriodDays,omitempty"` // Target references where to send the release requests // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +optional Target string `json:"target,omitempty"` }
ReleasePlanSpec defines the desired state of ReleasePlan.
func (*ReleasePlanSpec) DeepCopy ¶
func (in *ReleasePlanSpec) DeepCopy() *ReleasePlanSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleasePlanSpec.
func (*ReleasePlanSpec) DeepCopyInto ¶
func (in *ReleasePlanSpec) DeepCopyInto(out *ReleasePlanSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleasePlanStatus ¶
type ReleasePlanStatus struct { // Conditions represent the latest available observations for the releasePlan // +optional Conditions []metav1.Condition `json:"conditions"` // ReleasePlanAdmission contains the information of the releasePlanAdmission this ReleasePlan is // matched to // +optional ReleasePlanAdmission MatchedReleasePlanAdmission `json:"releasePlanAdmission,omitempty"` }
ReleasePlanStatus defines the observed state of ReleasePlan.
func (*ReleasePlanStatus) DeepCopy ¶
func (in *ReleasePlanStatus) DeepCopy() *ReleasePlanStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleasePlanStatus.
func (*ReleasePlanStatus) DeepCopyInto ¶
func (in *ReleasePlanStatus) DeepCopyInto(out *ReleasePlanStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseServiceConfig ¶
type ReleaseServiceConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec ReleaseServiceConfigSpec `json:"spec,omitempty"` Status ReleaseServiceConfigStatus `json:"status,omitempty"` }
ReleaseServiceConfig is the Schema for the releaseserviceconfigs API
func (*ReleaseServiceConfig) DeepCopy ¶
func (in *ReleaseServiceConfig) DeepCopy() *ReleaseServiceConfig
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseServiceConfig.
func (*ReleaseServiceConfig) DeepCopyInto ¶
func (in *ReleaseServiceConfig) DeepCopyInto(out *ReleaseServiceConfig)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleaseServiceConfig) DeepCopyObject ¶
func (in *ReleaseServiceConfig) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReleaseServiceConfigList ¶
type ReleaseServiceConfigList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []ReleaseServiceConfig `json:"items"` }
ReleaseServiceConfigList contains a list of ReleaseServiceConfig
func (*ReleaseServiceConfigList) DeepCopy ¶
func (in *ReleaseServiceConfigList) DeepCopy() *ReleaseServiceConfigList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseServiceConfigList.
func (*ReleaseServiceConfigList) DeepCopyInto ¶
func (in *ReleaseServiceConfigList) DeepCopyInto(out *ReleaseServiceConfigList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*ReleaseServiceConfigList) DeepCopyObject ¶
func (in *ReleaseServiceConfigList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type ReleaseServiceConfigSpec ¶
type ReleaseServiceConfigSpec struct { // Debug is the boolean that specifies whether or not the Release Service should run // in debug mode // +optional Debug bool `json:"debug,omitempty"` // DefaultTimeouts contain the default Tekton timeouts to be used in case they are // not specified in the ReleasePlanAdmission resource. DefaultTimeouts tektonv1.TimeoutFields `json:"defaultTimeouts,omitempty"` }
ReleaseServiceConfigSpec defines the desired state of ReleaseServiceConfig.
func (*ReleaseServiceConfigSpec) DeepCopy ¶
func (in *ReleaseServiceConfigSpec) DeepCopy() *ReleaseServiceConfigSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseServiceConfigSpec.
func (*ReleaseServiceConfigSpec) DeepCopyInto ¶
func (in *ReleaseServiceConfigSpec) DeepCopyInto(out *ReleaseServiceConfigSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseServiceConfigStatus ¶
type ReleaseServiceConfigStatus struct { }
ReleaseServiceConfigStatus defines the observed state of ReleaseServiceConfig.
func (*ReleaseServiceConfigStatus) DeepCopy ¶
func (in *ReleaseServiceConfigStatus) DeepCopy() *ReleaseServiceConfigStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseServiceConfigStatus.
func (*ReleaseServiceConfigStatus) DeepCopyInto ¶
func (in *ReleaseServiceConfigStatus) DeepCopyInto(out *ReleaseServiceConfigStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseSpec ¶
type ReleaseSpec struct { // Snapshot to be released // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +required Snapshot string `json:"snapshot"` // ReleasePlan to use for this particular Release // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +required ReleasePlan string `json:"releasePlan"` // Data is an unstructured key used for providing data for the managed Release Pipeline // +kubebuilder:pruning:PreserveUnknownFields // +optional Data *runtime.RawExtension `json:"data,omitempty"` // GracePeriodDays is the number of days a Release should be kept // This value is used to define the Release ExpirationTime // +optional GracePeriodDays int `json:"gracePeriodDays,omitempty"` }
ReleaseSpec defines the desired state of Release.
func (*ReleaseSpec) DeepCopy ¶
func (in *ReleaseSpec) DeepCopy() *ReleaseSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseSpec.
func (*ReleaseSpec) DeepCopyInto ¶
func (in *ReleaseSpec) DeepCopyInto(out *ReleaseSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ReleaseStatus ¶
type ReleaseStatus struct { // Artifacts is an unstructured key used for storing all the artifacts generated by the managed Release Pipeline // +kubebuilder:pruning:PreserveUnknownFields // +optional Artifacts *runtime.RawExtension `json:"artifacts,omitempty"` // Attribution contains information about the entity authorizing the release // +optional Attribution AttributionInfo `json:"attribution,omitempty"` // Collectors is an unstructured key used for storing all the collectors results generated by the Collectors Pipeline // +kubebuilder:pruning:PreserveUnknownFields // +optional Collectors *runtime.RawExtension `json:"collectors,omitempty"` // Conditions represent the latest available observations for the release // +optional Conditions []metav1.Condition `json:"conditions"` // FinalProcessing contains information about the release final processing // +optional FinalProcessing PipelineInfo `json:"finalProcessing,omitempty"` // ManagedProcessing contains information about the release managed processing // +optional ManagedProcessing PipelineInfo `json:"managedProcessing,omitempty"` // TenantProcessing contains information about the release tenant processing // +optional TenantProcessing PipelineInfo `json:"tenantProcessing,omitempty"` // Validation contains information about the release validation // +optional Validation ValidationInfo `json:"validation,omitempty"` // Target references where this release is intended to be released to // +kubebuilder:validation:Pattern=^[a-z0-9]([-a-z0-9]*[a-z0-9])?$ // +optional Target string `json:"target,omitempty"` // Automated indicates whether the Release was created as part of an automated process or manually by an end-user // +optional Automated bool `json:"automated,omitempty"` // CompletionTime is the time when a Release was completed // +optional CompletionTime *metav1.Time `json:"completionTime,omitempty"` // StartTime is the time when a Release started // +optional StartTime *metav1.Time `json:"startTime,omitempty"` // ExpirationTime is the time when a Release can be purged // +optional ExpirationTime *metav1.Time `json:"expirationTime,omitempty"` }
ReleaseStatus defines the observed state of Release.
func (*ReleaseStatus) DeepCopy ¶
func (in *ReleaseStatus) DeepCopy() *ReleaseStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ReleaseStatus.
func (*ReleaseStatus) DeepCopyInto ¶
func (in *ReleaseStatus) DeepCopyInto(out *ReleaseStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ValidationInfo ¶
type ValidationInfo struct { // FailedPostValidation indicates whether the Release was marked as invalid after being initially marked as valid FailedPostValidation bool `json:"failedPostValidation,omitempty"` // Time is the time when the Release was validated or when the validation state changed // +optional Time *metav1.Time `json:"time,omitempty"` }
ValidationInfo defines the observed state of the release validation.
func (*ValidationInfo) DeepCopy ¶
func (in *ValidationInfo) DeepCopy() *ValidationInfo
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ValidationInfo.
func (*ValidationInfo) DeepCopyInto ¶
func (in *ValidationInfo) DeepCopyInto(out *ValidationInfo)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.