Documentation ¶
Overview ¶
Package v1alpha4 contains API Schema definitions for the lifecycle v1alpha4 API group +kubebuilder:object:generate=true +groupName=lifecycle.keptn.sh
Index ¶
- Variables
- type KeptnWorkloadVersion
- func (w *KeptnWorkloadVersion) Complete()
- func (in *KeptnWorkloadVersion) DeepCopy() *KeptnWorkloadVersion
- func (in *KeptnWorkloadVersion) DeepCopyInto(out *KeptnWorkloadVersion)
- func (in *KeptnWorkloadVersion) DeepCopyObject() runtime.Object
- func (w KeptnWorkloadVersion) GetActiveMetricsAttributes() []attribute.KeyValue
- func (w KeptnWorkloadVersion) GetAppName() string
- func (w KeptnWorkloadVersion) GetCurrentPhase() string
- func (w KeptnWorkloadVersion) GetDurationMetricsAttributes() []attribute.KeyValue
- func (w KeptnWorkloadVersion) GetEndTime() time.Time
- func (w KeptnWorkloadVersion) GetEventAnnotations() map[string]string
- func (w KeptnWorkloadVersion) GetMetricsAttributes() []attribute.KeyValue
- func (w KeptnWorkloadVersion) GetNamespace() string
- func (w KeptnWorkloadVersion) GetParentName() string
- func (w KeptnWorkloadVersion) GetPostDeploymentEvaluationTaskStatus() []v1alpha3.ItemStatus
- func (w KeptnWorkloadVersion) GetPostDeploymentEvaluations() []string
- func (w KeptnWorkloadVersion) GetPostDeploymentTaskStatus() []v1alpha3.ItemStatus
- func (w KeptnWorkloadVersion) GetPostDeploymentTasks() []string
- func (w KeptnWorkloadVersion) GetPreDeploymentEvaluationTaskStatus() []v1alpha3.ItemStatus
- func (w KeptnWorkloadVersion) GetPreDeploymentEvaluations() []string
- func (w KeptnWorkloadVersion) GetPreDeploymentTaskStatus() []v1alpha3.ItemStatus
- func (w KeptnWorkloadVersion) GetPreDeploymentTasks() []string
- func (w KeptnWorkloadVersion) GetPreviousVersion() string
- func (w KeptnWorkloadVersion) GetSpanAttributes() []attribute.KeyValue
- func (w KeptnWorkloadVersion) GetSpanKey(phase string) string
- func (w KeptnWorkloadVersion) GetSpanName(phase string) string
- func (w KeptnWorkloadVersion) GetStartTime() time.Time
- func (w KeptnWorkloadVersion) GetState() common.KeptnState
- func (w KeptnWorkloadVersion) GetVersion() string
- func (w KeptnWorkloadVersion) IsDeploymentCompleted() bool
- func (w KeptnWorkloadVersion) IsDeploymentFailed() bool
- func (w KeptnWorkloadVersion) IsDeploymentSucceeded() bool
- func (w *KeptnWorkloadVersion) IsEndTimeSet() bool
- func (w KeptnWorkloadVersion) IsPostDeploymentCompleted() bool
- func (w KeptnWorkloadVersion) IsPostDeploymentEvaluationCompleted() bool
- func (w KeptnWorkloadVersion) IsPostDeploymentEvaluationFailed() bool
- func (w KeptnWorkloadVersion) IsPostDeploymentEvaluationSucceeded() bool
- func (w KeptnWorkloadVersion) IsPostDeploymentFailed() bool
- func (w KeptnWorkloadVersion) IsPostDeploymentSucceeded() bool
- func (w KeptnWorkloadVersion) IsPreDeploymentCompleted() bool
- func (w KeptnWorkloadVersion) IsPreDeploymentEvaluationCompleted() bool
- func (w KeptnWorkloadVersion) IsPreDeploymentEvaluationFailed() bool
- func (w KeptnWorkloadVersion) IsPreDeploymentEvaluationSucceeded() bool
- func (w KeptnWorkloadVersion) IsPreDeploymentFailed() bool
- func (w KeptnWorkloadVersion) IsPreDeploymentSucceeded() bool
- func (w *KeptnWorkloadVersion) IsStartTimeSet() bool
- func (w *KeptnWorkloadVersion) SetCurrentPhase(phase string)
- func (w *KeptnWorkloadVersion) SetEndTime()
- func (w KeptnWorkloadVersion) SetSpanAttributes(span trace.Span)
- func (w *KeptnWorkloadVersion) SetStartTime()
- func (w *KeptnWorkloadVersion) SetState(state common.KeptnState)
- type KeptnWorkloadVersionList
- type KeptnWorkloadVersionSpec
- type KeptnWorkloadVersionStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "lifecycle.keptn.sh", Version: "v1alpha4"} // 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 KeptnWorkloadVersion ¶
type KeptnWorkloadVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnWorkloadVersion. Spec KeptnWorkloadVersionSpec `json:"spec,omitempty"` // Status describes the current state of the KeptnWorkloadVersion. Status KeptnWorkloadVersionStatus `json:"status,omitempty"` }
KeptnWorkloadVersion is the Schema for the keptnworkloadversions API
func (*KeptnWorkloadVersion) Complete ¶
func (w *KeptnWorkloadVersion) Complete()
func (*KeptnWorkloadVersion) DeepCopy ¶
func (in *KeptnWorkloadVersion) DeepCopy() *KeptnWorkloadVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadVersion.
func (*KeptnWorkloadVersion) DeepCopyInto ¶
func (in *KeptnWorkloadVersion) DeepCopyInto(out *KeptnWorkloadVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnWorkloadVersion) DeepCopyObject ¶
func (in *KeptnWorkloadVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (KeptnWorkloadVersion) GetActiveMetricsAttributes ¶
func (w KeptnWorkloadVersion) GetActiveMetricsAttributes() []attribute.KeyValue
func (KeptnWorkloadVersion) GetAppName ¶
func (w KeptnWorkloadVersion) GetAppName() string
func (KeptnWorkloadVersion) GetCurrentPhase ¶
func (w KeptnWorkloadVersion) GetCurrentPhase() string
func (KeptnWorkloadVersion) GetDurationMetricsAttributes ¶
func (w KeptnWorkloadVersion) GetDurationMetricsAttributes() []attribute.KeyValue
func (KeptnWorkloadVersion) GetEndTime ¶
func (w KeptnWorkloadVersion) GetEndTime() time.Time
func (KeptnWorkloadVersion) GetEventAnnotations ¶
func (w KeptnWorkloadVersion) GetEventAnnotations() map[string]string
func (KeptnWorkloadVersion) GetMetricsAttributes ¶
func (w KeptnWorkloadVersion) GetMetricsAttributes() []attribute.KeyValue
func (KeptnWorkloadVersion) GetNamespace ¶
func (w KeptnWorkloadVersion) GetNamespace() string
func (KeptnWorkloadVersion) GetParentName ¶
func (w KeptnWorkloadVersion) GetParentName() string
func (KeptnWorkloadVersion) GetPostDeploymentEvaluationTaskStatus ¶
func (w KeptnWorkloadVersion) GetPostDeploymentEvaluationTaskStatus() []v1alpha3.ItemStatus
func (KeptnWorkloadVersion) GetPostDeploymentEvaluations ¶
func (w KeptnWorkloadVersion) GetPostDeploymentEvaluations() []string
func (KeptnWorkloadVersion) GetPostDeploymentTaskStatus ¶
func (w KeptnWorkloadVersion) GetPostDeploymentTaskStatus() []v1alpha3.ItemStatus
func (KeptnWorkloadVersion) GetPostDeploymentTasks ¶
func (w KeptnWorkloadVersion) GetPostDeploymentTasks() []string
func (KeptnWorkloadVersion) GetPreDeploymentEvaluationTaskStatus ¶
func (w KeptnWorkloadVersion) GetPreDeploymentEvaluationTaskStatus() []v1alpha3.ItemStatus
func (KeptnWorkloadVersion) GetPreDeploymentEvaluations ¶
func (w KeptnWorkloadVersion) GetPreDeploymentEvaluations() []string
func (KeptnWorkloadVersion) GetPreDeploymentTaskStatus ¶
func (w KeptnWorkloadVersion) GetPreDeploymentTaskStatus() []v1alpha3.ItemStatus
func (KeptnWorkloadVersion) GetPreDeploymentTasks ¶
func (w KeptnWorkloadVersion) GetPreDeploymentTasks() []string
func (KeptnWorkloadVersion) GetPreviousVersion ¶
func (w KeptnWorkloadVersion) GetPreviousVersion() string
func (KeptnWorkloadVersion) GetSpanAttributes ¶
func (w KeptnWorkloadVersion) GetSpanAttributes() []attribute.KeyValue
func (KeptnWorkloadVersion) GetSpanKey ¶
func (w KeptnWorkloadVersion) GetSpanKey(phase string) string
func (KeptnWorkloadVersion) GetSpanName ¶
func (w KeptnWorkloadVersion) GetSpanName(phase string) string
func (KeptnWorkloadVersion) GetStartTime ¶
func (w KeptnWorkloadVersion) GetStartTime() time.Time
func (KeptnWorkloadVersion) GetState ¶
func (w KeptnWorkloadVersion) GetState() common.KeptnState
func (KeptnWorkloadVersion) GetVersion ¶
func (w KeptnWorkloadVersion) GetVersion() string
func (KeptnWorkloadVersion) IsDeploymentCompleted ¶
func (w KeptnWorkloadVersion) IsDeploymentCompleted() bool
func (KeptnWorkloadVersion) IsDeploymentFailed ¶
func (w KeptnWorkloadVersion) IsDeploymentFailed() bool
func (KeptnWorkloadVersion) IsDeploymentSucceeded ¶
func (w KeptnWorkloadVersion) IsDeploymentSucceeded() bool
func (*KeptnWorkloadVersion) IsEndTimeSet ¶
func (w *KeptnWorkloadVersion) IsEndTimeSet() bool
func (KeptnWorkloadVersion) IsPostDeploymentCompleted ¶
func (w KeptnWorkloadVersion) IsPostDeploymentCompleted() bool
func (KeptnWorkloadVersion) IsPostDeploymentEvaluationCompleted ¶
func (w KeptnWorkloadVersion) IsPostDeploymentEvaluationCompleted() bool
func (KeptnWorkloadVersion) IsPostDeploymentEvaluationFailed ¶
func (w KeptnWorkloadVersion) IsPostDeploymentEvaluationFailed() bool
func (KeptnWorkloadVersion) IsPostDeploymentEvaluationSucceeded ¶
func (w KeptnWorkloadVersion) IsPostDeploymentEvaluationSucceeded() bool
func (KeptnWorkloadVersion) IsPostDeploymentFailed ¶
func (w KeptnWorkloadVersion) IsPostDeploymentFailed() bool
func (KeptnWorkloadVersion) IsPostDeploymentSucceeded ¶
func (w KeptnWorkloadVersion) IsPostDeploymentSucceeded() bool
func (KeptnWorkloadVersion) IsPreDeploymentCompleted ¶
func (w KeptnWorkloadVersion) IsPreDeploymentCompleted() bool
func (KeptnWorkloadVersion) IsPreDeploymentEvaluationCompleted ¶
func (w KeptnWorkloadVersion) IsPreDeploymentEvaluationCompleted() bool
func (KeptnWorkloadVersion) IsPreDeploymentEvaluationFailed ¶
func (w KeptnWorkloadVersion) IsPreDeploymentEvaluationFailed() bool
func (KeptnWorkloadVersion) IsPreDeploymentEvaluationSucceeded ¶
func (w KeptnWorkloadVersion) IsPreDeploymentEvaluationSucceeded() bool
func (KeptnWorkloadVersion) IsPreDeploymentFailed ¶
func (w KeptnWorkloadVersion) IsPreDeploymentFailed() bool
func (KeptnWorkloadVersion) IsPreDeploymentSucceeded ¶
func (w KeptnWorkloadVersion) IsPreDeploymentSucceeded() bool
func (*KeptnWorkloadVersion) IsStartTimeSet ¶
func (w *KeptnWorkloadVersion) IsStartTimeSet() bool
func (*KeptnWorkloadVersion) SetCurrentPhase ¶
func (w *KeptnWorkloadVersion) SetCurrentPhase(phase string)
func (*KeptnWorkloadVersion) SetEndTime ¶
func (w *KeptnWorkloadVersion) SetEndTime()
func (KeptnWorkloadVersion) SetSpanAttributes ¶
func (w KeptnWorkloadVersion) SetSpanAttributes(span trace.Span)
func (*KeptnWorkloadVersion) SetStartTime ¶
func (w *KeptnWorkloadVersion) SetStartTime()
func (*KeptnWorkloadVersion) SetState ¶
func (w *KeptnWorkloadVersion) SetState(state common.KeptnState)
type KeptnWorkloadVersionList ¶
type KeptnWorkloadVersionList struct { metav1.TypeMeta `json:",inline"` metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnWorkloadVersion `json:"items"` }
KeptnWorkloadVersionList contains a list of KeptnWorkloadVersion
func (*KeptnWorkloadVersionList) DeepCopy ¶
func (in *KeptnWorkloadVersionList) DeepCopy() *KeptnWorkloadVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadVersionList.
func (*KeptnWorkloadVersionList) DeepCopyInto ¶
func (in *KeptnWorkloadVersionList) DeepCopyInto(out *KeptnWorkloadVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnWorkloadVersionList) DeepCopyObject ¶
func (in *KeptnWorkloadVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
func (KeptnWorkloadVersionList) GetItems ¶
func (w KeptnWorkloadVersionList) GetItems() []client.Object
type KeptnWorkloadVersionSpec ¶
type KeptnWorkloadVersionSpec struct { v1alpha3.KeptnWorkloadSpec `json:",inline"` // WorkloadName is the name of the KeptnWorkload. WorkloadName string `json:"workloadName"` // PreviousVersion is the version of the KeptnWorkload that has been deployed prior to this version. PreviousVersion string `json:"previousVersion,omitempty"` // TraceId contains the OpenTelemetry trace ID. TraceId map[string]string `json:"traceId,omitempty"` }
KeptnWorkloadVersionSpec defines the desired state of KeptnWorkloadVersion
func (*KeptnWorkloadVersionSpec) DeepCopy ¶
func (in *KeptnWorkloadVersionSpec) DeepCopy() *KeptnWorkloadVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadVersionSpec.
func (*KeptnWorkloadVersionSpec) DeepCopyInto ¶
func (in *KeptnWorkloadVersionSpec) DeepCopyInto(out *KeptnWorkloadVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnWorkloadVersionStatus ¶
type KeptnWorkloadVersionStatus struct { // PreDeploymentStatus indicates the current status of the KeptnWorkloadVersion's PreDeployment phase. // +kubebuilder:default:=Pending PreDeploymentStatus common.KeptnState `json:"preDeploymentStatus,omitempty"` // DeploymentStatus indicates the current status of the KeptnWorkloadVersion's Deployment phase. // +kubebuilder:default:=Pending DeploymentStatus common.KeptnState `json:"deploymentStatus,omitempty"` // PreDeploymentEvaluationStatus indicates the current status of the KeptnWorkloadVersion's PreDeploymentEvaluation phase. // +kubebuilder:default:=Pending PreDeploymentEvaluationStatus common.KeptnState `json:"preDeploymentEvaluationStatus,omitempty"` // PostDeploymentEvaluationStatus indicates the current status of the KeptnWorkloadVersion's PostDeploymentEvaluation phase. // +kubebuilder:default:=Pending PostDeploymentEvaluationStatus common.KeptnState `json:"postDeploymentEvaluationStatus,omitempty"` // PostDeploymentStatus indicates the current status of the KeptnWorkloadVersion's PostDeployment phase. // +kubebuilder:default:=Pending PostDeploymentStatus common.KeptnState `json:"postDeploymentStatus,omitempty"` // PreDeploymentTaskStatus indicates the current state of each preDeploymentTask of the KeptnWorkloadVersion. PreDeploymentTaskStatus []v1alpha3.ItemStatus `json:"preDeploymentTaskStatus,omitempty"` // PostDeploymentTaskStatus indicates the current state of each postDeploymentTask of the KeptnWorkloadVersion. PostDeploymentTaskStatus []v1alpha3.ItemStatus `json:"postDeploymentTaskStatus,omitempty"` // PreDeploymentEvaluationTaskStatus indicates the current state of each preDeploymentEvaluation of the KeptnWorkloadVersion. PreDeploymentEvaluationTaskStatus []v1alpha3.ItemStatus `json:"preDeploymentEvaluationTaskStatus,omitempty"` // PostDeploymentEvaluationTaskStatus indicates the current state of each postDeploymentEvaluation of the KeptnWorkloadVersion. PostDeploymentEvaluationTaskStatus []v1alpha3.ItemStatus `json:"postDeploymentEvaluationTaskStatus,omitempty"` // StartTime represents the time at which the deployment of the KeptnWorkloadVersion started. StartTime metav1.Time `json:"startTime,omitempty"` // EndTime represents the time at which the deployment of the KeptnWorkloadVersion finished. EndTime metav1.Time `json:"endTime,omitempty"` // CurrentPhase indicates the current phase of the KeptnWorkloadVersion. This can be: // - PreDeploymentTasks // - PreDeploymentEvaluations // - Deployment // - PostDeploymentTasks // - PostDeploymentEvaluations CurrentPhase string `json:"currentPhase,omitempty"` // Status represents the overall status of the KeptnWorkloadVersion. // +kubebuilder:default:=Pending Status common.KeptnState `json:"status,omitempty"` }
KeptnWorkloadVersionStatus defines the observed state of KeptnWorkloadVersion
func (*KeptnWorkloadVersionStatus) DeepCopy ¶
func (in *KeptnWorkloadVersionStatus) DeepCopy() *KeptnWorkloadVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadVersionStatus.
func (*KeptnWorkloadVersionStatus) DeepCopyInto ¶
func (in *KeptnWorkloadVersionStatus) DeepCopyInto(out *KeptnWorkloadVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.