Documentation ¶
Overview ¶
Package v1alpha3 contains API Schema definitions for the lifecycle v1alpha3 API group +kubebuilder:object:generate=true +groupName=lifecycle.keptn.sh
Index ¶
- Variables
- type AutomountServiceAccountTokenSpec
- type ConfigMapReference
- type ContainerSpec
- type EvaluationStatusItem
- type FunctionReference
- type FunctionStatus
- type HttpReference
- type Inline
- type ItemStatus
- type KeptnApp
- type KeptnAppCreationRequest
- type KeptnAppCreationRequestList
- type KeptnAppCreationRequestSpec
- type KeptnAppList
- type KeptnAppSpec
- type KeptnAppStatus
- type KeptnAppVersion
- func (dst *KeptnAppVersion) ConvertFrom(srcRaw conversion.Hub) error
- func (src *KeptnAppVersion) ConvertTo(dstRaw conversion.Hub) error
- func (in *KeptnAppVersion) DeepCopy() *KeptnAppVersion
- func (in *KeptnAppVersion) DeepCopyInto(out *KeptnAppVersion)
- func (in *KeptnAppVersion) DeepCopyObject() runtime.Object
- type KeptnAppVersionList
- type KeptnAppVersionSpec
- type KeptnAppVersionStatus
- type KeptnEvaluation
- type KeptnEvaluationDefinition
- type KeptnEvaluationDefinitionList
- type KeptnEvaluationDefinitionSpec
- type KeptnEvaluationList
- type KeptnEvaluationProvider
- type KeptnEvaluationProviderList
- type KeptnEvaluationProviderSpec
- type KeptnEvaluationSpec
- type KeptnEvaluationStatus
- type KeptnMetricReference
- type KeptnTask
- type KeptnTaskDefinition
- type KeptnTaskDefinitionList
- type KeptnTaskDefinitionSpec
- type KeptnTaskDefinitionStatus
- type KeptnTaskList
- type KeptnTaskSpec
- type KeptnTaskStatus
- type KeptnWorkload
- type KeptnWorkloadInstance
- type KeptnWorkloadInstanceList
- type KeptnWorkloadInstanceSpec
- type KeptnWorkloadInstanceStatus
- type KeptnWorkloadList
- type KeptnWorkloadRef
- type KeptnWorkloadSpec
- type KeptnWorkloadStatus
- type Objective
- type ResourceReference
- type RuntimeSpec
- type SecureParameters
- type ServiceAccountSpec
- type TaskContext
- type TaskParameters
- type WorkloadStatus
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "lifecycle.keptn.sh", Version: "v1alpha3"} // 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 AutomountServiceAccountTokenSpec ¶
type AutomountServiceAccountTokenSpec struct {
Type *bool `json:"type"`
}
func (*AutomountServiceAccountTokenSpec) DeepCopy ¶
func (in *AutomountServiceAccountTokenSpec) DeepCopy() *AutomountServiceAccountTokenSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new AutomountServiceAccountTokenSpec.
func (*AutomountServiceAccountTokenSpec) DeepCopyInto ¶
func (in *AutomountServiceAccountTokenSpec) DeepCopyInto(out *AutomountServiceAccountTokenSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ConfigMapReference ¶
type ConfigMapReference struct { // Name is the name of the referenced ConfigMap. // +optional Name string `json:"name,omitempty"` }
func (*ConfigMapReference) DeepCopy ¶
func (in *ConfigMapReference) DeepCopy() *ConfigMapReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ConfigMapReference.
func (*ConfigMapReference) DeepCopyInto ¶
func (in *ConfigMapReference) DeepCopyInto(out *ConfigMapReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ContainerSpec ¶
func (*ContainerSpec) DeepCopy ¶
func (in *ContainerSpec) DeepCopy() *ContainerSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ContainerSpec.
func (*ContainerSpec) DeepCopyInto ¶
func (in *ContainerSpec) DeepCopyInto(out *ContainerSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type EvaluationStatusItem ¶
type EvaluationStatusItem struct { // Value represents the value of the KeptnMetric being evaluated. Value string `json:"value"` // Status indicates the status of the objective being evaluated. Status common.KeptnState `json:"status"` // Message contains additional information about the evaluation of an objective. // This can include explanations about why an evaluation has failed (e.g. due to a missed objective), // or if there was any error during the evaluation of the objective. // +optional Message string `json:"message,omitempty"` }
func (*EvaluationStatusItem) DeepCopy ¶
func (in *EvaluationStatusItem) DeepCopy() *EvaluationStatusItem
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new EvaluationStatusItem.
func (*EvaluationStatusItem) DeepCopyInto ¶
func (in *EvaluationStatusItem) DeepCopyInto(out *EvaluationStatusItem)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionReference ¶
type FunctionReference struct { // Name is the name of the referenced KeptnTaskDefinition. // +optional Name string `json:"name,omitempty"` }
func (*FunctionReference) DeepCopy ¶
func (in *FunctionReference) DeepCopy() *FunctionReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionReference.
func (*FunctionReference) DeepCopyInto ¶
func (in *FunctionReference) DeepCopyInto(out *FunctionReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionStatus ¶
type FunctionStatus struct { // ConfigMap indicates the ConfigMap in which the function code is stored. // +optional ConfigMap string `json:"configMap,omitempty"` }
func (*FunctionStatus) DeepCopy ¶
func (in *FunctionStatus) DeepCopy() *FunctionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionStatus.
func (*FunctionStatus) DeepCopyInto ¶
func (in *FunctionStatus) DeepCopyInto(out *FunctionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type HttpReference ¶
type HttpReference struct { // Url is the URL containing the code of the function. // +optional Url string `json:"url,omitempty"` }
func (*HttpReference) DeepCopy ¶
func (in *HttpReference) DeepCopy() *HttpReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new HttpReference.
func (*HttpReference) DeepCopyInto ¶
func (in *HttpReference) DeepCopyInto(out *HttpReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Inline ¶
type Inline struct { // Code contains the code of the function. // +optional Code string `json:"code,omitempty"` }
func (*Inline) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Inline.
func (*Inline) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ItemStatus ¶
type ItemStatus struct { // DefinitionName is the name of the EvaluationDefinition/TaskDefinition // +optional DefinitionName string `json:"definitionName,omitempty"` // +kubebuilder:default:=Pending // +optional Status common.KeptnState `json:"status,omitempty"` // Name is the name of the Evaluation/Task // +optional Name string `json:"name,omitempty"` // StartTime represents the time at which the Item (Evaluation/Task) started. // +optional StartTime metav1.Time `json:"startTime,omitempty"` // EndTime represents the time at which the Item (Evaluation/Task) started. // +optional EndTime metav1.Time `json:"endTime,omitempty"` }
func (*ItemStatus) DeepCopy ¶
func (in *ItemStatus) DeepCopy() *ItemStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ItemStatus.
func (*ItemStatus) DeepCopyInto ¶
func (in *ItemStatus) DeepCopyInto(out *ItemStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnApp ¶
type KeptnApp struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnApp. // +optional Spec KeptnAppSpec `json:"spec,omitempty"` // Status describes the current state of the KeptnApp. // +optional Status KeptnAppStatus `json:"status,omitempty"` }
KeptnApp is the Schema for the keptnapps API
func (*KeptnApp) ConvertFrom ¶
func (dst *KeptnApp) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the hub version (v1.KeptnApp) to this version (v1alpha3.KeptnApp)
func (*KeptnApp) ConvertTo ¶
func (src *KeptnApp) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts the src v1alpha3.KeptnApp to the hub version (v1.KeptnApp)
func (*KeptnApp) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnApp.
func (*KeptnApp) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnApp) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnAppCreationRequest ¶
type KeptnAppCreationRequest struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnAppCreationRequest. // +optional Spec KeptnAppCreationRequestSpec `json:"spec,omitempty"` // Status describes the current state of the KeptnAppCreationRequest. // +optional Status string `json:"status,omitempty"` }
KeptnAppCreationRequest is the Schema for the keptnappcreationrequests API
func (*KeptnAppCreationRequest) DeepCopy ¶
func (in *KeptnAppCreationRequest) DeepCopy() *KeptnAppCreationRequest
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppCreationRequest.
func (*KeptnAppCreationRequest) DeepCopyInto ¶
func (in *KeptnAppCreationRequest) DeepCopyInto(out *KeptnAppCreationRequest)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnAppCreationRequest) DeepCopyObject ¶
func (in *KeptnAppCreationRequest) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnAppCreationRequestList ¶
type KeptnAppCreationRequestList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnAppCreationRequest `json:"items"` }
KeptnAppCreationRequestList contains a list of KeptnAppCreationRequest
func (*KeptnAppCreationRequestList) DeepCopy ¶
func (in *KeptnAppCreationRequestList) DeepCopy() *KeptnAppCreationRequestList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppCreationRequestList.
func (*KeptnAppCreationRequestList) DeepCopyInto ¶
func (in *KeptnAppCreationRequestList) DeepCopyInto(out *KeptnAppCreationRequestList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnAppCreationRequestList) DeepCopyObject ¶
func (in *KeptnAppCreationRequestList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnAppCreationRequestSpec ¶
type KeptnAppCreationRequestSpec struct { // AppName is the name of the KeptnApp the KeptnAppCreationRequest should create if no user-defined object with that name is found. AppName string `json:"appName"` }
KeptnAppCreationRequestSpec defines the desired state of KeptnAppCreationRequest
func (*KeptnAppCreationRequestSpec) DeepCopy ¶
func (in *KeptnAppCreationRequestSpec) DeepCopy() *KeptnAppCreationRequestSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppCreationRequestSpec.
func (*KeptnAppCreationRequestSpec) DeepCopyInto ¶
func (in *KeptnAppCreationRequestSpec) DeepCopyInto(out *KeptnAppCreationRequestSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnAppList ¶
type KeptnAppList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnApp `json:"items"` }
KeptnAppList contains a list of KeptnApp
func (*KeptnAppList) DeepCopy ¶
func (in *KeptnAppList) DeepCopy() *KeptnAppList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppList.
func (*KeptnAppList) DeepCopyInto ¶
func (in *KeptnAppList) DeepCopyInto(out *KeptnAppList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnAppList) DeepCopyObject ¶
func (in *KeptnAppList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnAppSpec ¶
type KeptnAppSpec struct { // Version defines the version of the application. For automatically created KeptnApps, // the version is a function of all KeptnWorkloads that are part of the KeptnApp. Version string `json:"version"` // Revision can be modified to trigger another deployment of a KeptnApp of the same version. // This can be used for restarting a KeptnApp which failed to deploy, // e.g. due to a failed preDeploymentEvaluation/preDeploymentTask. // +kubebuilder:default:=1 // +optional Revision uint `json:"revision,omitempty"` // Workloads is a list of all KeptnWorkloads that are part of the KeptnApp. // +optional Workloads []KeptnWorkloadRef `json:"workloads,omitempty"` // PreDeploymentTasks is a list of all tasks to be performed during the pre-deployment phase of the KeptnApp. // The items of this list refer to the names of KeptnTaskDefinitions // located in the same namespace as the KeptnApp, or in the Keptn namespace. // +optional PreDeploymentTasks []string `json:"preDeploymentTasks,omitempty"` // PostDeploymentTasks is a list of all tasks to be performed during the post-deployment phase of the KeptnApp. // The items of this list refer to the names of KeptnTaskDefinitions // located in the same namespace as the KeptnApp, or in the Keptn namespace. // +optional PostDeploymentTasks []string `json:"postDeploymentTasks,omitempty"` // PreDeploymentEvaluations is a list of all evaluations to be performed // during the pre-deployment phase of the KeptnApp. // The items of this list refer to the names of KeptnEvaluationDefinitions // located in the same namespace as the KeptnApp, or in the Keptn namespace. // +optional PreDeploymentEvaluations []string `json:"preDeploymentEvaluations,omitempty"` // PostDeploymentEvaluations is a list of all evaluations to be performed // during the post-deployment phase of the KeptnApp. // The items of this list refer to the names of KeptnEvaluationDefinitions // located in the same namespace as the KeptnApp, or in the Keptn namespace. // +optional PostDeploymentEvaluations []string `json:"postDeploymentEvaluations,omitempty"` }
KeptnAppSpec defines the desired state of KeptnApp
func (*KeptnAppSpec) DeepCopy ¶
func (in *KeptnAppSpec) DeepCopy() *KeptnAppSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppSpec.
func (*KeptnAppSpec) DeepCopyInto ¶
func (in *KeptnAppSpec) DeepCopyInto(out *KeptnAppSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnAppStatus ¶
type KeptnAppStatus struct { // CurrentVersion indicates the version that is currently deployed or being reconciled. // +optional CurrentVersion string `json:"currentVersion,omitempty"` }
KeptnAppStatus defines the observed state of KeptnApp
func (*KeptnAppStatus) DeepCopy ¶
func (in *KeptnAppStatus) DeepCopy() *KeptnAppStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppStatus.
func (*KeptnAppStatus) DeepCopyInto ¶
func (in *KeptnAppStatus) DeepCopyInto(out *KeptnAppStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnAppVersion ¶
type KeptnAppVersion struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnAppVersion. // +optional Spec KeptnAppVersionSpec `json:"spec,omitempty"` // Status describes the current state of the KeptnAppVersion. // +optional Status KeptnAppVersionStatus `json:"status,omitempty"` }
KeptnAppVersion is the Schema for the keptnappversions API
func (*KeptnAppVersion) ConvertFrom ¶
func (dst *KeptnAppVersion) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the hub version (v1.KeptnAppVersion) to this version (v1alpha3.KeptnAppVersion)
func (*KeptnAppVersion) ConvertTo ¶
func (src *KeptnAppVersion) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts the src v1alpha3.KeptnAppVersion to the hub version (v1.KeptnAppVersion)
func (*KeptnAppVersion) DeepCopy ¶
func (in *KeptnAppVersion) DeepCopy() *KeptnAppVersion
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppVersion.
func (*KeptnAppVersion) DeepCopyInto ¶
func (in *KeptnAppVersion) DeepCopyInto(out *KeptnAppVersion)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnAppVersion) DeepCopyObject ¶
func (in *KeptnAppVersion) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnAppVersionList ¶
type KeptnAppVersionList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnAppVersion `json:"items"` }
KeptnAppVersionList contains a list of KeptnAppVersion
func (*KeptnAppVersionList) DeepCopy ¶
func (in *KeptnAppVersionList) DeepCopy() *KeptnAppVersionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppVersionList.
func (*KeptnAppVersionList) DeepCopyInto ¶
func (in *KeptnAppVersionList) DeepCopyInto(out *KeptnAppVersionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnAppVersionList) DeepCopyObject ¶
func (in *KeptnAppVersionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnAppVersionSpec ¶
type KeptnAppVersionSpec struct { KeptnAppSpec `json:",inline"` // AppName is the name of the KeptnApp. AppName string `json:"appName"` // PreviousVersion is the version of the KeptnApp that has been deployed prior to this version. // +optional PreviousVersion string `json:"previousVersion,omitempty"` // TraceId contains the OpenTelemetry trace ID. // +optional TraceId map[string]string `json:"traceId,omitempty"` }
KeptnAppVersionSpec defines the desired state of KeptnAppVersion
func (*KeptnAppVersionSpec) DeepCopy ¶
func (in *KeptnAppVersionSpec) DeepCopy() *KeptnAppVersionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppVersionSpec.
func (*KeptnAppVersionSpec) DeepCopyInto ¶
func (in *KeptnAppVersionSpec) DeepCopyInto(out *KeptnAppVersionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnAppVersionStatus ¶
type KeptnAppVersionStatus struct { // PreDeploymentStatus indicates the current status of the KeptnAppVersion's PreDeployment phase. // +kubebuilder:default:=Pending // +optional PreDeploymentStatus common.KeptnState `json:"preDeploymentStatus,omitempty"` // PostDeploymentStatus indicates the current status of the KeptnAppVersion's PostDeployment phase. // +kubebuilder:default:=Pending // +optional PostDeploymentStatus common.KeptnState `json:"postDeploymentStatus,omitempty"` // PreDeploymentEvaluationStatus indicates the current status of the KeptnAppVersion's PreDeploymentEvaluation phase. // +kubebuilder:default:=Pending // +optional PreDeploymentEvaluationStatus common.KeptnState `json:"preDeploymentEvaluationStatus,omitempty"` // PostDeploymentEvaluationStatus indicates the current status of the KeptnAppVersion's PostDeploymentEvaluation phase. // +kubebuilder:default:=Pending // +optional PostDeploymentEvaluationStatus common.KeptnState `json:"postDeploymentEvaluationStatus,omitempty"` // WorkloadOverallStatus indicates the current status of the KeptnAppVersion's Workload deployment phase. // +kubebuilder:default:=Pending // +optional WorkloadOverallStatus common.KeptnState `json:"workloadOverallStatus,omitempty"` // WorkloadStatus contains the current status of each KeptnWorkload that is part of the KeptnAppVersion. // +optional WorkloadStatus []WorkloadStatus `json:"workloadStatus,omitempty"` // CurrentPhase indicates the current phase of the KeptnAppVersion. // +optional CurrentPhase string `json:"currentPhase,omitempty"` // PreDeploymentTaskStatus indicates the current state of each preDeploymentTask of the KeptnAppVersion. // +optional PreDeploymentTaskStatus []ItemStatus `json:"preDeploymentTaskStatus,omitempty"` // PostDeploymentTaskStatus indicates the current state of each postDeploymentTask of the KeptnAppVersion. // +optional PostDeploymentTaskStatus []ItemStatus `json:"postDeploymentTaskStatus,omitempty"` // PreDeploymentEvaluationTaskStatus indicates the current state of each preDeploymentEvaluation of the KeptnAppVersion. // +optional PreDeploymentEvaluationTaskStatus []ItemStatus `json:"preDeploymentEvaluationTaskStatus,omitempty"` // PostDeploymentEvaluationTaskStatus indicates the current state of each postDeploymentEvaluation of the KeptnAppVersion. // +optional PostDeploymentEvaluationTaskStatus []ItemStatus `json:"postDeploymentEvaluationTaskStatus,omitempty"` // PhaseTraceIDs contains the trace IDs of the OpenTelemetry spans of each phase of the KeptnAppVersion. // +optional PhaseTraceIDs common.PhaseTraceID `json:"phaseTraceIDs,omitempty"` // Status represents the overall status of the KeptnAppVersion. // +kubebuilder:default:=Pending // +optional Status common.KeptnState `json:"status,omitempty"` // StartTime represents the time at which the deployment of the KeptnAppVersion started. // +optional StartTime metav1.Time `json:"startTime,omitempty"` // EndTime represents the time at which the deployment of the KeptnAppVersion finished. // +optional EndTime metav1.Time `json:"endTime,omitempty"` }
KeptnAppVersionStatus defines the observed state of KeptnAppVersion
func (*KeptnAppVersionStatus) DeepCopy ¶
func (in *KeptnAppVersionStatus) DeepCopy() *KeptnAppVersionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnAppVersionStatus.
func (*KeptnAppVersionStatus) DeepCopyInto ¶
func (in *KeptnAppVersionStatus) DeepCopyInto(out *KeptnAppVersionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnEvaluation ¶
type KeptnEvaluation struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnEvaluation. // +optional Spec KeptnEvaluationSpec `json:"spec,omitempty"` // Status describes the current state of the KeptnEvaluation. // +optional Status KeptnEvaluationStatus `json:"status,omitempty"` }
KeptnEvaluation is the Schema for the keptnevaluations API
func (*KeptnEvaluation) DeepCopy ¶
func (in *KeptnEvaluation) DeepCopy() *KeptnEvaluation
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluation.
func (*KeptnEvaluation) DeepCopyInto ¶
func (in *KeptnEvaluation) DeepCopyInto(out *KeptnEvaluation)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnEvaluation) DeepCopyObject ¶
func (in *KeptnEvaluation) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnEvaluationDefinition ¶
type KeptnEvaluationDefinition struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnEvaluationDefinition. // +optional Spec KeptnEvaluationDefinitionSpec `json:"spec,omitempty"` // unused field // +optional Status string `json:"status,omitempty"` }
KeptnEvaluationDefinition is the Schema for the keptnevaluationdefinitions API
func (*KeptnEvaluationDefinition) DeepCopy ¶
func (in *KeptnEvaluationDefinition) DeepCopy() *KeptnEvaluationDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationDefinition.
func (*KeptnEvaluationDefinition) DeepCopyInto ¶
func (in *KeptnEvaluationDefinition) DeepCopyInto(out *KeptnEvaluationDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnEvaluationDefinition) DeepCopyObject ¶
func (in *KeptnEvaluationDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnEvaluationDefinitionList ¶
type KeptnEvaluationDefinitionList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnEvaluationDefinition `json:"items"` }
KeptnEvaluationDefinitionList contains a list of KeptnEvaluationDefinition
func (*KeptnEvaluationDefinitionList) DeepCopy ¶
func (in *KeptnEvaluationDefinitionList) DeepCopy() *KeptnEvaluationDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationDefinitionList.
func (*KeptnEvaluationDefinitionList) DeepCopyInto ¶
func (in *KeptnEvaluationDefinitionList) DeepCopyInto(out *KeptnEvaluationDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnEvaluationDefinitionList) DeepCopyObject ¶
func (in *KeptnEvaluationDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnEvaluationDefinitionSpec ¶
type KeptnEvaluationDefinitionSpec struct { // Objectives is a list of objectives that have to be met for a KeptnEvaluation referencing this // KeptnEvaluationDefinition to be successful. Objectives []Objective `json:"objectives"` }
KeptnEvaluationDefinitionSpec defines the desired state of KeptnEvaluationDefinition
func (*KeptnEvaluationDefinitionSpec) DeepCopy ¶
func (in *KeptnEvaluationDefinitionSpec) DeepCopy() *KeptnEvaluationDefinitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationDefinitionSpec.
func (*KeptnEvaluationDefinitionSpec) DeepCopyInto ¶
func (in *KeptnEvaluationDefinitionSpec) DeepCopyInto(out *KeptnEvaluationDefinitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnEvaluationList ¶
type KeptnEvaluationList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnEvaluation `json:"items"` }
KeptnEvaluationList contains a list of KeptnEvaluation
func (*KeptnEvaluationList) DeepCopy ¶
func (in *KeptnEvaluationList) DeepCopy() *KeptnEvaluationList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationList.
func (*KeptnEvaluationList) DeepCopyInto ¶
func (in *KeptnEvaluationList) DeepCopyInto(out *KeptnEvaluationList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnEvaluationList) DeepCopyObject ¶
func (in *KeptnEvaluationList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnEvaluationProvider ¶
type KeptnEvaluationProvider struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // +optional Spec KeptnEvaluationProviderSpec `json:"spec,omitempty"` // unused field // +optional Status string `json:"status,omitempty"` }
KeptnEvaluationProvider is the Schema for the keptnevaluationproviders API
func (*KeptnEvaluationProvider) DeepCopy ¶
func (in *KeptnEvaluationProvider) DeepCopy() *KeptnEvaluationProvider
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationProvider.
func (*KeptnEvaluationProvider) DeepCopyInto ¶
func (in *KeptnEvaluationProvider) DeepCopyInto(out *KeptnEvaluationProvider)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnEvaluationProvider) DeepCopyObject ¶
func (in *KeptnEvaluationProvider) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnEvaluationProviderList ¶
type KeptnEvaluationProviderList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnEvaluationProvider `json:"items"` }
KeptnEvaluationProviderList contains a list of KeptnEvaluationProvider
func (*KeptnEvaluationProviderList) DeepCopy ¶
func (in *KeptnEvaluationProviderList) DeepCopy() *KeptnEvaluationProviderList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationProviderList.
func (*KeptnEvaluationProviderList) DeepCopyInto ¶
func (in *KeptnEvaluationProviderList) DeepCopyInto(out *KeptnEvaluationProviderList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnEvaluationProviderList) DeepCopyObject ¶
func (in *KeptnEvaluationProviderList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnEvaluationProviderSpec ¶
type KeptnEvaluationProviderSpec struct { TargetServer string `json:"targetServer"` // +optional SecretKeyRef corev1.SecretKeySelector `json:"secretKeyRef,omitempty"` }
KeptnEvaluationProviderSpec defines the desired state of KeptnEvaluationProvider
func (*KeptnEvaluationProviderSpec) DeepCopy ¶
func (in *KeptnEvaluationProviderSpec) DeepCopy() *KeptnEvaluationProviderSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationProviderSpec.
func (*KeptnEvaluationProviderSpec) DeepCopyInto ¶
func (in *KeptnEvaluationProviderSpec) DeepCopyInto(out *KeptnEvaluationProviderSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnEvaluationSpec ¶
type KeptnEvaluationSpec struct { // Workload defines the KeptnWorkload for which the KeptnEvaluation is done. // +optional Workload string `json:"workload,omitempty"` // WorkloadVersion defines the version of the KeptnWorkload for which the KeptnEvaluation is done. WorkloadVersion string `json:"workloadVersion"` // AppName defines the KeptnApp for which the KeptnEvaluation is done. // +optional AppName string `json:"appName,omitempty"` // AppVersion defines the version of the KeptnApp for which the KeptnEvaluation is done. // +optional AppVersion string `json:"appVersion,omitempty"` // EvaluationDefinition refers to the name of the KeptnEvaluationDefinition // which includes the objectives for the KeptnEvaluation. // The KeptnEvaluationDefinition can be // located in the same namespace as the KeptnEvaluation, or in the Keptn namespace. EvaluationDefinition string `json:"evaluationDefinition"` // Retries indicates how many times the KeptnEvaluation can be attempted in the case of an error or // missed evaluation objective, before considering the KeptnEvaluation to be failed. // +kubebuilder:default:=10 // +optional Retries int `json:"retries,omitempty"` // RetryInterval specifies the interval at which the KeptnEvaluation is retried in the case of an error // or a missed objective. // +optional // +kubebuilder:default:="5s" // +kubebuilder:validation:Pattern="^0|([0-9]+(\\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$" // +kubebuilder:validation:Type:=string // +optional RetryInterval metav1.Duration `json:"retryInterval,omitempty"` // +optional FailAction string `json:"failAction,omitempty"` // Type indicates whether the KeptnEvaluation is part of the pre- or postDeployment phase. // +optional Type common.CheckType `json:"checkType,omitempty"` }
KeptnEvaluationSpec defines the desired state of KeptnEvaluation
func (*KeptnEvaluationSpec) DeepCopy ¶
func (in *KeptnEvaluationSpec) DeepCopy() *KeptnEvaluationSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationSpec.
func (*KeptnEvaluationSpec) DeepCopyInto ¶
func (in *KeptnEvaluationSpec) DeepCopyInto(out *KeptnEvaluationSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnEvaluationStatus ¶
type KeptnEvaluationStatus struct { // RetryCount indicates how many times the KeptnEvaluation has been attempted already. // +kubebuilder:default:=0 RetryCount int `json:"retryCount"` // EvaluationStatus describes the status of each objective of the KeptnEvaluationDefinition // referenced by the KeptnEvaluation. EvaluationStatus map[string]EvaluationStatusItem `json:"evaluationStatus"` // OverallStatus describes the overall status of the KeptnEvaluation. The Overall status is derived // from the status of the individual objectives of the KeptnEvaluationDefinition // referenced by the KeptnEvaluation. // +kubebuilder:default:=Pending OverallStatus common.KeptnState `json:"overallStatus"` // StartTime represents the time at which the KeptnEvaluation started. // +optional StartTime metav1.Time `json:"startTime,omitempty"` // EndTime represents the time at which the KeptnEvaluation finished. // +optional EndTime metav1.Time `json:"endTime,omitempty"` }
KeptnEvaluationStatus defines the observed state of KeptnEvaluation
func (*KeptnEvaluationStatus) DeepCopy ¶
func (in *KeptnEvaluationStatus) DeepCopy() *KeptnEvaluationStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationStatus.
func (*KeptnEvaluationStatus) DeepCopyInto ¶
func (in *KeptnEvaluationStatus) DeepCopyInto(out *KeptnEvaluationStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnMetricReference ¶
type KeptnMetricReference struct { // Name is the name of the referenced KeptnMetric. Name string `json:"name"` // Namespace is the namespace where the referenced KeptnMetric is located. // +optional Namespace string `json:"namespace,omitempty"` }
func (*KeptnMetricReference) DeepCopy ¶
func (in *KeptnMetricReference) DeepCopy() *KeptnMetricReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnMetricReference.
func (*KeptnMetricReference) DeepCopyInto ¶
func (in *KeptnMetricReference) DeepCopyInto(out *KeptnMetricReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnTask ¶
type KeptnTask struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnTask. // +optional Spec KeptnTaskSpec `json:"spec,omitempty"` // Status describes the current state of the KeptnTask. // +optional Status KeptnTaskStatus `json:"status,omitempty"` }
KeptnTask is the Schema for the keptntasks API
func (*KeptnTask) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTask.
func (*KeptnTask) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnTask) DeepCopyObject ¶
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnTaskDefinition ¶
type KeptnTaskDefinition struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnTaskDefinition. // +optional Spec KeptnTaskDefinitionSpec `json:"spec,omitempty"` // Status describes the current state of the KeptnTaskDefinition. // +optional Status KeptnTaskDefinitionStatus `json:"status,omitempty"` }
KeptnTaskDefinition is the Schema for the keptntaskdefinitions API
func (*KeptnTaskDefinition) DeepCopy ¶
func (in *KeptnTaskDefinition) DeepCopy() *KeptnTaskDefinition
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTaskDefinition.
func (*KeptnTaskDefinition) DeepCopyInto ¶
func (in *KeptnTaskDefinition) DeepCopyInto(out *KeptnTaskDefinition)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnTaskDefinition) DeepCopyObject ¶
func (in *KeptnTaskDefinition) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnTaskDefinitionList ¶
type KeptnTaskDefinitionList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnTaskDefinition `json:"items"` }
KeptnTaskDefinitionList contains a list of KeptnTaskDefinition
func (*KeptnTaskDefinitionList) DeepCopy ¶
func (in *KeptnTaskDefinitionList) DeepCopy() *KeptnTaskDefinitionList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTaskDefinitionList.
func (*KeptnTaskDefinitionList) DeepCopyInto ¶
func (in *KeptnTaskDefinitionList) DeepCopyInto(out *KeptnTaskDefinitionList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnTaskDefinitionList) DeepCopyObject ¶
func (in *KeptnTaskDefinitionList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnTaskDefinitionSpec ¶
type KeptnTaskDefinitionSpec struct { // Deprecated // Function contains the definition for the function that is to be executed in KeptnTasks. // +optional Function *RuntimeSpec `json:"function,omitempty"` // Python contains the definition for the python function that is to be executed in KeptnTasks. // +optional Python *RuntimeSpec `json:"python,omitempty"` // Deno contains the definition for the Deno function that is to be executed in KeptnTasks. // +optional Deno *RuntimeSpec `json:"deno,omitempty"` // Container contains the definition for the container that is to be used in Job. // +optional Container *ContainerSpec `json:"container,omitempty"` // Retries specifies how many times a job executing the KeptnTaskDefinition should be restarted in the case // of an unsuccessful attempt. // +kubebuilder:default:=10 // +optional Retries *int32 `json:"retries,omitempty"` // Timeout specifies the maximum time to wait for the task to be completed successfully. // If the task does not complete successfully within this time frame, it will be // considered to be failed. // +kubebuilder:default:="5m" // +kubebuilder:validation:Pattern="^0|([0-9]+(\\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$" // +kubebuilder:validation:Type:=string // +optional Timeout metav1.Duration `json:"timeout,omitempty"` // ServiceAccount specifies the service account to be used in jobs to authenticate with the Kubernetes API and access cluster resources. // +optional ServiceAccount *ServiceAccountSpec `json:"serviceAccount,omitempty"` // AutomountServiceAccountToken allows to enable K8s to assign cluster API credentials to a pod, if set to false // the pod will decline the service account // +optional AutomountServiceAccountToken *AutomountServiceAccountTokenSpec `json:"automountServiceAccountToken,omitempty"` // TTLSecondsAfterFinished controller makes a job eligible to be cleaned up after it is finished. // The timer starts when the status shows up to be Complete or Failed. // +kubebuilder:default:=300 // +optional TTLSecondsAfterFinished *int32 `json:"ttlSecondsAfterFinished,omitempty"` // ImagePullSecrets is an optional field to specify the names of secrets to use for pulling container images // +optional ImagePullSecrets []v1.LocalObjectReference `json:"imagePullSecrets,omitempty"` }
KeptnTaskDefinitionSpec defines the desired state of KeptnTaskDefinition
func (*KeptnTaskDefinitionSpec) DeepCopy ¶
func (in *KeptnTaskDefinitionSpec) DeepCopy() *KeptnTaskDefinitionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTaskDefinitionSpec.
func (*KeptnTaskDefinitionSpec) DeepCopyInto ¶
func (in *KeptnTaskDefinitionSpec) DeepCopyInto(out *KeptnTaskDefinitionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnTaskDefinitionStatus ¶
type KeptnTaskDefinitionStatus struct { // Function contains status information of the function definition for the task. // +optional Function FunctionStatus `json:"function,omitempty"` }
KeptnTaskDefinitionStatus defines the observed state of KeptnTaskDefinition
func (*KeptnTaskDefinitionStatus) DeepCopy ¶
func (in *KeptnTaskDefinitionStatus) DeepCopy() *KeptnTaskDefinitionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTaskDefinitionStatus.
func (*KeptnTaskDefinitionStatus) DeepCopyInto ¶
func (in *KeptnTaskDefinitionStatus) DeepCopyInto(out *KeptnTaskDefinitionStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnTaskList ¶
type KeptnTaskList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnTask `json:"items"` }
KeptnTaskList contains a list of KeptnTask
func (*KeptnTaskList) DeepCopy ¶
func (in *KeptnTaskList) DeepCopy() *KeptnTaskList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTaskList.
func (*KeptnTaskList) DeepCopyInto ¶
func (in *KeptnTaskList) DeepCopyInto(out *KeptnTaskList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnTaskList) DeepCopyObject ¶
func (in *KeptnTaskList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnTaskSpec ¶
type KeptnTaskSpec struct { // TaskDefinition refers to the name of the KeptnTaskDefinition // which includes the specification for the task to be performed. // The KeptnTaskDefinition can be // located in the same namespace as the KeptnTask, or in the Keptn namespace. TaskDefinition string `json:"taskDefinition"` // Context contains contextual information about the task execution. // +optional Context TaskContext `json:"context"` // Parameters contains parameters that will be passed to the job that executes the task. // +optional Parameters TaskParameters `json:"parameters,omitempty"` // SecureParameters contains secure parameters that will be passed to the job that executes the task. // These will be stored and accessed as secrets in the cluster. // +optional SecureParameters SecureParameters `json:"secureParameters,omitempty"` // Type indicates whether the KeptnTask is part of the pre- or postDeployment phase. // +optional Type common.CheckType `json:"checkType,omitempty"` // Retries indicates how many times the KeptnTask can be attempted in the case of an error // before considering the KeptnTask to be failed. // +kubebuilder:default:=10 // +optional Retries *int32 `json:"retries,omitempty"` // Timeout specifies the maximum time to wait for the task to be completed successfully. // If the task does not complete successfully within this time frame, it will be // considered to be failed. // +optional // +kubebuilder:default:="5m" // +kubebuilder:validation:Pattern="^0|([0-9]+(\\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$" // +kubebuilder:validation:Type:=string // +optional Timeout metav1.Duration `json:"timeout,omitempty"` }
KeptnTaskSpec defines the desired state of KeptnTask
func (*KeptnTaskSpec) DeepCopy ¶
func (in *KeptnTaskSpec) DeepCopy() *KeptnTaskSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTaskSpec.
func (*KeptnTaskSpec) DeepCopyInto ¶
func (in *KeptnTaskSpec) DeepCopyInto(out *KeptnTaskSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnTaskStatus ¶
type KeptnTaskStatus struct { // JobName is the name of the Job executing the Task. // +optional JobName string `json:"jobName,omitempty"` // Status represents the overall state of the KeptnTask. // +kubebuilder:default:=Pending // +optional Status common.KeptnState `json:"status,omitempty"` // Message contains information about unexpected errors encountered during the execution of the KeptnTask. // +optional Message string `json:"message,omitempty"` // StartTime represents the time at which the KeptnTask started. // +optional StartTime metav1.Time `json:"startTime,omitempty"` // EndTime represents the time at which the KeptnTask finished. // +optional EndTime metav1.Time `json:"endTime,omitempty"` // Reason contains more information about the reason for the last transition of the Job executing the KeptnTask. // +optional Reason string `json:"reason,omitempty"` }
KeptnTaskStatus defines the observed state of KeptnTask
func (*KeptnTaskStatus) DeepCopy ¶
func (in *KeptnTaskStatus) DeepCopy() *KeptnTaskStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTaskStatus.
func (*KeptnTaskStatus) DeepCopyInto ¶
func (in *KeptnTaskStatus) DeepCopyInto(out *KeptnTaskStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnWorkload ¶
type KeptnWorkload struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnWorkload. // +optional Spec KeptnWorkloadSpec `json:"spec,omitempty"` // Status describes the current state of the KeptnWorkload. // +optional Status KeptnWorkloadStatus `json:"status,omitempty"` }
KeptnWorkload is the Schema for the keptnworkloads API
func (*KeptnWorkload) DeepCopy ¶
func (in *KeptnWorkload) DeepCopy() *KeptnWorkload
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkload.
func (*KeptnWorkload) DeepCopyInto ¶
func (in *KeptnWorkload) DeepCopyInto(out *KeptnWorkload)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnWorkload) DeepCopyObject ¶
func (in *KeptnWorkload) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnWorkloadInstance ¶
type KeptnWorkloadInstance struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ObjectMeta `json:"metadata,omitempty"` // Spec describes the desired state of the KeptnWorkloadInstance. // +optional Spec KeptnWorkloadInstanceSpec `json:"spec,omitempty"` // Status describes the current state of the KeptnWorkloadInstance. // +optional Status KeptnWorkloadInstanceStatus `json:"status,omitempty"` }
KeptnWorkloadInstance is the Schema for the keptnworkloadinstances API
func (*KeptnWorkloadInstance) DeepCopy ¶
func (in *KeptnWorkloadInstance) DeepCopy() *KeptnWorkloadInstance
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadInstance.
func (*KeptnWorkloadInstance) DeepCopyInto ¶
func (in *KeptnWorkloadInstance) DeepCopyInto(out *KeptnWorkloadInstance)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnWorkloadInstance) DeepCopyObject ¶
func (in *KeptnWorkloadInstance) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnWorkloadInstanceList ¶
type KeptnWorkloadInstanceList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnWorkloadInstance `json:"items"` }
KeptnWorkloadInstanceList contains a list of KeptnWorkloadInstance
func (*KeptnWorkloadInstanceList) DeepCopy ¶
func (in *KeptnWorkloadInstanceList) DeepCopy() *KeptnWorkloadInstanceList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadInstanceList.
func (*KeptnWorkloadInstanceList) DeepCopyInto ¶
func (in *KeptnWorkloadInstanceList) DeepCopyInto(out *KeptnWorkloadInstanceList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnWorkloadInstanceList) DeepCopyObject ¶
func (in *KeptnWorkloadInstanceList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnWorkloadInstanceSpec ¶
type KeptnWorkloadInstanceSpec struct { 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. // +optional PreviousVersion string `json:"previousVersion,omitempty"` // TraceId contains the OpenTelemetry trace ID. // +optional TraceId map[string]string `json:"traceId,omitempty"` }
KeptnWorkloadInstanceSpec defines the desired state of KeptnWorkloadInstance
func (*KeptnWorkloadInstanceSpec) DeepCopy ¶
func (in *KeptnWorkloadInstanceSpec) DeepCopy() *KeptnWorkloadInstanceSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadInstanceSpec.
func (*KeptnWorkloadInstanceSpec) DeepCopyInto ¶
func (in *KeptnWorkloadInstanceSpec) DeepCopyInto(out *KeptnWorkloadInstanceSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnWorkloadInstanceStatus ¶
type KeptnWorkloadInstanceStatus struct { // PreDeploymentStatus indicates the current status of the KeptnWorkloadInstance's PreDeployment phase. // +kubebuilder:default:=Pending // +optional PreDeploymentStatus common.KeptnState `json:"preDeploymentStatus,omitempty"` // DeploymentStatus indicates the current status of the KeptnWorkloadInstance's Deployment phase. // +kubebuilder:default:=Pending // +optional DeploymentStatus common.KeptnState `json:"deploymentStatus,omitempty"` // PreDeploymentEvaluationStatus indicates the current status of the KeptnWorkloadInstance's PreDeploymentEvaluation phase. // +kubebuilder:default:=Pending // +optional PreDeploymentEvaluationStatus common.KeptnState `json:"preDeploymentEvaluationStatus,omitempty"` // PostDeploymentEvaluationStatus indicates the current status of the KeptnWorkloadInstance's PostDeploymentEvaluation phase. // +kubebuilder:default:=Pending // +optional PostDeploymentEvaluationStatus common.KeptnState `json:"postDeploymentEvaluationStatus,omitempty"` // PostDeploymentStatus indicates the current status of the KeptnWorkloadInstance's PostDeployment phase. // +kubebuilder:default:=Pending // +optional PostDeploymentStatus common.KeptnState `json:"postDeploymentStatus,omitempty"` // PreDeploymentTaskStatus indicates the current state of each preDeploymentTask of the KeptnWorkloadInstance. // +optional PreDeploymentTaskStatus []ItemStatus `json:"preDeploymentTaskStatus,omitempty"` // PostDeploymentTaskStatus indicates the current state of each postDeploymentTask of the KeptnWorkloadInstance. // +optional PostDeploymentTaskStatus []ItemStatus `json:"postDeploymentTaskStatus,omitempty"` // PreDeploymentEvaluationTaskStatus indicates the current state of each preDeploymentEvaluation of the KeptnWorkloadInstance. // +optional PreDeploymentEvaluationTaskStatus []ItemStatus `json:"preDeploymentEvaluationTaskStatus,omitempty"` // PostDeploymentEvaluationTaskStatus indicates the current state of each postDeploymentEvaluation of the KeptnWorkloadInstance. // +optional PostDeploymentEvaluationTaskStatus []ItemStatus `json:"postDeploymentEvaluationTaskStatus,omitempty"` // StartTime represents the time at which the deployment of the KeptnWorkloadInstance started. // +optional StartTime metav1.Time `json:"startTime,omitempty"` // EndTime represents the time at which the deployment of the KeptnWorkloadInstance finished. // +optional EndTime metav1.Time `json:"endTime,omitempty"` // CurrentPhase indicates the current phase of the KeptnWorkloadInstance. This can be: // - PreDeploymentTasks // - PreDeploymentEvaluations // - Deployment // - PostDeploymentTasks // - PostDeploymentEvaluations // +optional CurrentPhase string `json:"currentPhase,omitempty"` // PhaseTraceIDs contains the trace IDs of the OpenTelemetry spans of each phase of the KeptnWorkloadInstance // +optional PhaseTraceIDs common.PhaseTraceID `json:"phaseTraceIDs,omitempty"` // Status represents the overall status of the KeptnWorkloadInstance. // +kubebuilder:default:=Pending // +optional Status common.KeptnState `json:"status,omitempty"` }
KeptnWorkloadInstanceStatus defines the observed state of KeptnWorkloadInstance
func (*KeptnWorkloadInstanceStatus) DeepCopy ¶
func (in *KeptnWorkloadInstanceStatus) DeepCopy() *KeptnWorkloadInstanceStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadInstanceStatus.
func (*KeptnWorkloadInstanceStatus) DeepCopyInto ¶
func (in *KeptnWorkloadInstanceStatus) DeepCopyInto(out *KeptnWorkloadInstanceStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnWorkloadList ¶
type KeptnWorkloadList struct { metav1.TypeMeta `json:",inline"` // +optional metav1.ListMeta `json:"metadata,omitempty"` Items []KeptnWorkload `json:"items"` }
KeptnWorkloadList contains a list of KeptnWorkload
func (*KeptnWorkloadList) DeepCopy ¶
func (in *KeptnWorkloadList) DeepCopy() *KeptnWorkloadList
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadList.
func (*KeptnWorkloadList) DeepCopyInto ¶
func (in *KeptnWorkloadList) DeepCopyInto(out *KeptnWorkloadList)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
func (*KeptnWorkloadList) DeepCopyObject ¶
func (in *KeptnWorkloadList) DeepCopyObject() runtime.Object
DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
type KeptnWorkloadRef ¶
type KeptnWorkloadRef struct { // Name is the name of the KeptnWorkload. Name string `json:"name"` // Version is the version of the KeptnWorkload. Version string `json:"version"` }
KeptnWorkloadRef refers to a KeptnWorkload that is part of a KeptnApp
func (*KeptnWorkloadRef) DeepCopy ¶
func (in *KeptnWorkloadRef) DeepCopy() *KeptnWorkloadRef
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadRef.
func (*KeptnWorkloadRef) DeepCopyInto ¶
func (in *KeptnWorkloadRef) DeepCopyInto(out *KeptnWorkloadRef)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnWorkloadSpec ¶
type KeptnWorkloadSpec struct { // AppName is the name of the KeptnApp containing the KeptnWorkload. AppName string `json:"app"` // Version defines the version of the KeptnWorkload. Version string `json:"version"` // PreDeploymentTasks is a list of all tasks to be performed during the pre-deployment phase of the KeptnWorkload. // The items of this list refer to the names of KeptnTaskDefinitions // located in the same namespace as the KeptnApp, or in the Keptn namespace. // +optional PreDeploymentTasks []string `json:"preDeploymentTasks,omitempty"` // PostDeploymentTasks is a list of all tasks to be performed during the post-deployment phase of the KeptnWorkload. // The items of this list refer to the names of KeptnTaskDefinitions // located in the same namespace as the KeptnWorkload, or in the Keptn namespace. // +optional PostDeploymentTasks []string `json:"postDeploymentTasks,omitempty"` // PreDeploymentEvaluations is a list of all evaluations to be performed // during the pre-deployment phase of the KeptnWorkload. // The items of this list refer to the names of KeptnEvaluationDefinitions // located in the same namespace as the KeptnWorkload, or in the Keptn namespace. // +optional PreDeploymentEvaluations []string `json:"preDeploymentEvaluations,omitempty"` // PostDeploymentEvaluations is a list of all evaluations to be performed // during the post-deployment phase of the KeptnWorkload. // The items of this list refer to the names of KeptnEvaluationDefinitions // located in the same namespace as the KeptnWorkload, or in the Keptn namespace. // +optional PostDeploymentEvaluations []string `json:"postDeploymentEvaluations,omitempty"` // ResourceReference is a reference to the Kubernetes resource // (Deployment, DaemonSet, StatefulSet or ReplicaSet) the KeptnWorkload is representing. ResourceReference ResourceReference `json:"resourceReference"` }
KeptnWorkloadSpec defines the desired state of KeptnWorkload
func (*KeptnWorkloadSpec) DeepCopy ¶
func (in *KeptnWorkloadSpec) DeepCopy() *KeptnWorkloadSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadSpec.
func (*KeptnWorkloadSpec) DeepCopyInto ¶
func (in *KeptnWorkloadSpec) DeepCopyInto(out *KeptnWorkloadSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnWorkloadStatus ¶
type KeptnWorkloadStatus struct { // CurrentVersion indicates the version that is currently deployed or being reconciled. // +optional CurrentVersion string `json:"currentVersion,omitempty"` }
KeptnWorkloadStatus defines the observed state of KeptnWorkload
func (*KeptnWorkloadStatus) DeepCopy ¶
func (in *KeptnWorkloadStatus) DeepCopy() *KeptnWorkloadStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadStatus.
func (*KeptnWorkloadStatus) DeepCopyInto ¶
func (in *KeptnWorkloadStatus) DeepCopyInto(out *KeptnWorkloadStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type Objective ¶
type Objective struct { // KeptnMetricRef references the KeptnMetric that should be evaluated. KeptnMetricRef KeptnMetricReference `json:"keptnMetricRef"` // EvaluationTarget specifies the target value for the references KeptnMetric. // Needs to start with either '<' or '>', followed by the target value (e.g. '<10'). EvaluationTarget string `json:"evaluationTarget"` }
func (*Objective) DeepCopy ¶
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Objective.
func (*Objective) DeepCopyInto ¶
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ResourceReference ¶
type ResourceReference struct { UID types.UID `json:"uid"` Kind string `json:"kind"` Name string `json:"name"` }
ResourceReference represents the parent resource of Workload
func (*ResourceReference) DeepCopy ¶
func (in *ResourceReference) DeepCopy() *ResourceReference
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ResourceReference.
func (*ResourceReference) DeepCopyInto ¶
func (in *ResourceReference) DeepCopyInto(out *ResourceReference)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type RuntimeSpec ¶
type RuntimeSpec struct { // FunctionReference allows to reference another KeptnTaskDefinition which contains the source code of the // function to be executes for KeptnTasks based on this KeptnTaskDefinition. This can be useful when you have // multiple KeptnTaskDefinitions that should execute the same logic, but each with different parameters. // +optional FunctionReference FunctionReference `json:"functionRef,omitempty"` // Inline allows to specify the code that should be executed directly in the KeptnTaskDefinition, as a multi-line // string. // +optional Inline Inline `json:"inline,omitempty"` // HttpReference allows to point to an HTTP URL containing the code of the function. // +optional HttpReference HttpReference `json:"httpRef,omitempty"` // ConfigMapReference allows to reference a ConfigMap containing the code of the function. // When referencing a ConfigMap, the code of the function must be available as a value of the 'code' key // of the referenced ConfigMap. // +optional ConfigMapReference ConfigMapReference `json:"configMapRef,omitempty"` // Parameters contains parameters that will be passed to the job that executes the task as env variables. // +optional Parameters TaskParameters `json:"parameters,omitempty"` // SecureParameters contains secure parameters that will be passed to the job that executes the task. // These will be stored and accessed as secrets in the cluster. // +optional SecureParameters SecureParameters `json:"secureParameters,omitempty"` // CmdParameters contains parameters that will be passed to the command // +optional CmdParameters string `json:"cmdParameters,omitempty"` }
func (*RuntimeSpec) DeepCopy ¶
func (in *RuntimeSpec) DeepCopy() *RuntimeSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new RuntimeSpec.
func (*RuntimeSpec) DeepCopyInto ¶
func (in *RuntimeSpec) DeepCopyInto(out *RuntimeSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type SecureParameters ¶
type SecureParameters struct { // Secret contains the parameters that will be made available to the job // executing the KeptnTask via the 'SECRET_DATA' environment variable. // The 'SECRET_DATA' environment variable's content will the same as value of the 'SECRET_DATA' // key of the referenced secret. // +optional Secret string `json:"secret,omitempty"` }
func (*SecureParameters) DeepCopy ¶
func (in *SecureParameters) DeepCopy() *SecureParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new SecureParameters.
func (*SecureParameters) DeepCopyInto ¶
func (in *SecureParameters) DeepCopyInto(out *SecureParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type ServiceAccountSpec ¶
type ServiceAccountSpec struct {
Name string `json:"name"`
}
func (*ServiceAccountSpec) DeepCopy ¶
func (in *ServiceAccountSpec) DeepCopy() *ServiceAccountSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ServiceAccountSpec.
func (*ServiceAccountSpec) DeepCopyInto ¶
func (in *ServiceAccountSpec) DeepCopyInto(out *ServiceAccountSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskContext ¶
type TaskContext struct { // WorkloadName the name of the KeptnWorkload the KeptnTask is being executed for. // +optional WorkloadName string `json:"workloadName"` // AppName the name of the KeptnApp the KeptnTask is being executed for. // +optional AppName string `json:"appName"` // AppVersion the version of the KeptnApp the KeptnTask is being executed for. // +optional AppVersion string `json:"appVersion"` // WorkloadVersion the version of the KeptnWorkload the KeptnTask is being executed for. // +optional WorkloadVersion string `json:"workloadVersion"` // TaskType indicates whether the KeptnTask is part of the pre- or postDeployment phase. // +optional TaskType string `json:"taskType"` // ObjectType indicates whether the KeptnTask is being executed for a KeptnApp or KeptnWorkload. // +optional ObjectType string `json:"objectType"` }
func (*TaskContext) DeepCopy ¶
func (in *TaskContext) DeepCopy() *TaskContext
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskContext.
func (*TaskContext) DeepCopyInto ¶
func (in *TaskContext) DeepCopyInto(out *TaskContext)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type TaskParameters ¶
type TaskParameters struct { // Inline contains the parameters that will be made available to the job // executing the KeptnTask via the 'DATA' environment variable. // The 'DATA' environment variable's content will be a json // encoded string containing all properties of the map provided. // +optional Inline map[string]string `json:"map,omitempty"` }
func (*TaskParameters) DeepCopy ¶
func (in *TaskParameters) DeepCopy() *TaskParameters
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new TaskParameters.
func (*TaskParameters) DeepCopyInto ¶
func (in *TaskParameters) DeepCopyInto(out *TaskParameters)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type WorkloadStatus ¶
type WorkloadStatus struct { // Workload refers to a KeptnWorkload that is part of the KeptnAppVersion. // +optional Workload KeptnWorkloadRef `json:"workload,omitempty"` // Status indicates the current status of the KeptnWorkload. // +kubebuilder:default:=Pending // +optional Status common.KeptnState `json:"status,omitempty"` }
func (*WorkloadStatus) DeepCopy ¶
func (in *WorkloadStatus) DeepCopy() *WorkloadStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WorkloadStatus.
func (*WorkloadStatus) DeepCopyInto ¶
func (in *WorkloadStatus) DeepCopyInto(out *WorkloadStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
Source Files ¶
- groupversion_info.go
- keptnapp_conversion.go
- keptnapp_types.go
- keptnappcreationrequest_types.go
- keptnappversion_conversion.go
- keptnappversion_types.go
- keptnevaluation_types.go
- keptnevaluationdefinition_types.go
- keptnevaluationprovider_types.go
- keptntask_types.go
- keptntaskdefinition_types.go
- keptnworkload_types.go
- keptnworkloadinstance_types.go
- zz_generated.deepcopy.go
Directories ¶
Path | Synopsis |
---|---|
Package v1alpha3 contains API Schema definitions for the lifecycle v1alpha3 API group +groupName=lifecycle.keptn.sh +versionName=v1alpha3
|
Package v1alpha3 contains API Schema definitions for the lifecycle v1alpha3 API group +groupName=lifecycle.keptn.sh +versionName=v1alpha3 |