Documentation ¶
Overview ¶
Package v1alpha2 contains API Schema definitions for the lifecycle v1alpha2 API group +kubebuilder:object:generate=true +groupName=lifecycle.keptn.sh
Index ¶
- Variables
- type ConfigMapReference
- type ContainerSpec
- type EvaluationStatusItem
- type FunctionReference
- type FunctionSpec
- type FunctionStatus
- type HttpReference
- type Inline
- type ItemStatus
- type KeptnApp
- func (dst *KeptnApp) ConvertFrom(srcRaw conversion.Hub) error
- func (src *KeptnApp) ConvertTo(dstRaw conversion.Hub) error
- func (in *KeptnApp) DeepCopy() *KeptnApp
- func (in *KeptnApp) DeepCopyInto(out *KeptnApp)
- func (in *KeptnApp) DeepCopyObject() runtime.Object
- func (a KeptnApp) GenerateAppVersion(previousVersion string, traceContextCarrier map[string]string) KeptnAppVersion
- func (a KeptnApp) GetAppVersionName() string
- func (a KeptnApp) GetEventAnnotations() map[string]string
- func (a KeptnApp) GetSpanAttributes() []attribute.KeyValue
- func (a KeptnApp) SetSpanAttributes(span trace.Span)
- type KeptnAppList
- type KeptnAppSpec
- type KeptnAppStatus
- type KeptnAppVersion
- func (a KeptnAppVersion) AreWorkloadsCompleted() bool
- func (a KeptnAppVersion) AreWorkloadsFailed() bool
- func (a KeptnAppVersion) AreWorkloadsSucceeded() bool
- func (a *KeptnAppVersion) Complete()
- 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
- func (a *KeptnAppVersion) DeprecateRemainingPhases(phase common.KeptnPhaseType)
- func (a KeptnAppVersion) GenerateEvaluation(evaluationDefinition string, checkType common.CheckType) KeptnEvaluation
- func (a KeptnAppVersion) GenerateTask(taskDefinition string, checkType common.CheckType) KeptnTask
- func (a KeptnAppVersion) GetActiveMetricsAttributes() []attribute.KeyValue
- func (a KeptnAppVersion) GetAppName() string
- func (a KeptnAppVersion) GetCurrentPhase() string
- func (a KeptnAppVersion) GetDurationMetricsAttributes() []attribute.KeyValue
- func (a KeptnAppVersion) GetEndTime() time.Time
- func (a KeptnAppVersion) GetEventAnnotations() map[string]string
- func (a KeptnAppVersion) GetMetricsAttributes() []attribute.KeyValue
- func (a KeptnAppVersion) GetNamespace() string
- func (a KeptnAppVersion) GetParentName() string
- func (a KeptnAppVersion) GetPostDeploymentEvaluationTaskStatus() []ItemStatus
- func (a KeptnAppVersion) GetPostDeploymentEvaluations() []string
- func (a KeptnAppVersion) GetPostDeploymentTaskStatus() []ItemStatus
- func (a KeptnAppVersion) GetPostDeploymentTasks() []string
- func (a KeptnAppVersion) GetPreDeploymentEvaluationTaskStatus() []ItemStatus
- func (a KeptnAppVersion) GetPreDeploymentEvaluations() []string
- func (a KeptnAppVersion) GetPreDeploymentTaskStatus() []ItemStatus
- func (a KeptnAppVersion) GetPreDeploymentTasks() []string
- func (a KeptnAppVersion) GetPreviousVersion() string
- func (a KeptnAppVersion) GetSpanAttributes() []attribute.KeyValue
- func (a KeptnAppVersion) GetSpanKey(phase string) string
- func (a KeptnAppVersion) GetSpanName(phase string) string
- func (a KeptnAppVersion) GetStartTime() time.Time
- func (a KeptnAppVersion) GetState() common.KeptnState
- func (a KeptnAppVersion) GetVersion() string
- func (v KeptnAppVersion) GetWorkloadNameOfApp(workloadName string) string
- func (a *KeptnAppVersion) IsEndTimeSet() bool
- func (a KeptnAppVersion) IsPostDeploymentCompleted() bool
- func (a KeptnAppVersion) IsPostDeploymentEvaluationCompleted() bool
- func (a KeptnAppVersion) IsPostDeploymentEvaluationFailed() bool
- func (a KeptnAppVersion) IsPostDeploymentEvaluationSucceeded() bool
- func (a KeptnAppVersion) IsPostDeploymentFailed() bool
- func (a KeptnAppVersion) IsPostDeploymentSucceeded() bool
- func (a KeptnAppVersion) IsPreDeploymentCompleted() bool
- func (a KeptnAppVersion) IsPreDeploymentEvaluationCompleted() bool
- func (a KeptnAppVersion) IsPreDeploymentEvaluationFailed() bool
- func (a KeptnAppVersion) IsPreDeploymentEvaluationSucceeded() bool
- func (a KeptnAppVersion) IsPreDeploymentFailed() bool
- func (a KeptnAppVersion) IsPreDeploymentSucceeded() bool
- func (a *KeptnAppVersion) IsStartTimeSet() bool
- func (a *KeptnAppVersion) SetCurrentPhase(phase string)
- func (a *KeptnAppVersion) SetEndTime()
- func (a *KeptnAppVersion) SetPhaseTraceID(phase string, carrier propagation.MapCarrier)
- func (a KeptnAppVersion) SetSpanAttributes(span trace.Span)
- func (a *KeptnAppVersion) SetStartTime()
- func (a *KeptnAppVersion) SetState(state common.KeptnState)
- type KeptnAppVersionList
- func (in *KeptnAppVersionList) DeepCopy() *KeptnAppVersionList
- func (in *KeptnAppVersionList) DeepCopyInto(out *KeptnAppVersionList)
- func (in *KeptnAppVersionList) DeepCopyObject() runtime.Object
- func (a KeptnAppVersionList) GetItems() []client.Object
- func (a *KeptnAppVersionList) RemoveDeprecated()
- type KeptnAppVersionSpec
- type KeptnAppVersionStatus
- type KeptnEvaluation
- func (e *KeptnEvaluation) AddEvaluationStatus(objective Objective)
- func (in *KeptnEvaluation) DeepCopy() *KeptnEvaluation
- func (in *KeptnEvaluation) DeepCopyInto(out *KeptnEvaluation)
- func (in *KeptnEvaluation) DeepCopyObject() runtime.Object
- func (e KeptnEvaluation) GetActiveMetricsAttributes() []attribute.KeyValue
- func (e KeptnEvaluation) GetEventAnnotations() map[string]string
- func (e KeptnEvaluation) GetMetricsAttributes() []attribute.KeyValue
- func (e KeptnEvaluation) GetSpanAttributes() []attribute.KeyValue
- func (e KeptnEvaluation) GetSpanKey(phase string) string
- func (e KeptnEvaluation) GetSpanName(phase string) string
- func (e *KeptnEvaluation) IsEndTimeSet() bool
- func (e *KeptnEvaluation) IsStartTimeSet() bool
- func (e *KeptnEvaluation) SetEndTime()
- func (e *KeptnEvaluation) SetPhaseTraceID(phase string, carrier propagation.MapCarrier)
- func (e KeptnEvaluation) SetSpanAttributes(span trace.Span)
- func (e *KeptnEvaluation) SetStartTime()
- type KeptnEvaluationDefinition
- type KeptnEvaluationDefinitionList
- type KeptnEvaluationDefinitionSpec
- type KeptnEvaluationDefinitionStatus
- type KeptnEvaluationList
- type KeptnEvaluationProvider
- func (dst *KeptnEvaluationProvider) ConvertFrom(srcRaw conversion.Hub) error
- func (src *KeptnEvaluationProvider) ConvertTo(dstRaw conversion.Hub) error
- func (in *KeptnEvaluationProvider) DeepCopy() *KeptnEvaluationProvider
- func (in *KeptnEvaluationProvider) DeepCopyInto(out *KeptnEvaluationProvider)
- func (in *KeptnEvaluationProvider) DeepCopyObject() runtime.Object
- func (p *KeptnEvaluationProvider) HasSecretDefined() bool
- type KeptnEvaluationProviderList
- type KeptnEvaluationProviderSpec
- type KeptnEvaluationProviderStatus
- type KeptnEvaluationSpec
- type KeptnEvaluationStatus
- type KeptnTask
- func (t KeptnTask) CreateKeptnLabels() map[string]string
- func (in *KeptnTask) DeepCopy() *KeptnTask
- func (in *KeptnTask) DeepCopyInto(out *KeptnTask)
- func (in *KeptnTask) DeepCopyObject() runtime.Object
- func (t KeptnTask) GetActiveMetricsAttributes() []attribute.KeyValue
- func (t KeptnTask) GetEventAnnotations() map[string]string
- func (t KeptnTask) GetMetricsAttributes() []attribute.KeyValue
- func (t KeptnTask) GetSpanAttributes() []attribute.KeyValue
- func (t KeptnTask) GetSpanKey(phase string) string
- func (t KeptnTask) GetSpanName(phase string) string
- func (t *KeptnTask) IsEndTimeSet() bool
- func (t *KeptnTask) IsStartTimeSet() bool
- func (t *KeptnTask) SetEndTime()
- func (t *KeptnTask) SetPhaseTraceID(phase string, carrier propagation.MapCarrier)
- func (t KeptnTask) SetSpanAttributes(span trace.Span)
- func (t *KeptnTask) SetStartTime()
- type KeptnTaskDefinition
- type KeptnTaskDefinitionList
- type KeptnTaskDefinitionSpec
- type KeptnTaskDefinitionStatus
- type KeptnTaskList
- type KeptnTaskSpec
- type KeptnTaskStatus
- type KeptnWorkload
- func (in *KeptnWorkload) DeepCopy() *KeptnWorkload
- func (in *KeptnWorkload) DeepCopyInto(out *KeptnWorkload)
- func (in *KeptnWorkload) DeepCopyObject() runtime.Object
- func (w KeptnWorkload) GenerateWorkloadInstance(previousVersion string, traceContextCarrier map[string]string) KeptnWorkloadInstance
- func (w KeptnWorkload) GetEventAnnotations() map[string]string
- func (w KeptnWorkload) GetSpanAttributes() []attribute.KeyValue
- func (w KeptnWorkload) GetWorkloadInstanceName() string
- func (w KeptnWorkload) SetSpanAttributes(span trace.Span)
- type KeptnWorkloadInstance
- func (w *KeptnWorkloadInstance) Complete()
- func (dst *KeptnWorkloadInstance) ConvertFrom(srcRaw conversion.Hub) error
- func (src *KeptnWorkloadInstance) ConvertTo(dstRaw conversion.Hub) error
- func (in *KeptnWorkloadInstance) DeepCopy() *KeptnWorkloadInstance
- func (in *KeptnWorkloadInstance) DeepCopyInto(out *KeptnWorkloadInstance)
- func (in *KeptnWorkloadInstance) DeepCopyObject() runtime.Object
- func (w *KeptnWorkloadInstance) DeprecateRemainingPhases(phase common.KeptnPhaseType)
- func (w KeptnWorkloadInstance) GenerateEvaluation(evaluationDefinition string, checkType common.CheckType) KeptnEvaluation
- func (w KeptnWorkloadInstance) GenerateTask(taskDefinition string, checkType common.CheckType) KeptnTask
- func (w KeptnWorkloadInstance) GetActiveMetricsAttributes() []attribute.KeyValue
- func (w KeptnWorkloadInstance) GetAppName() string
- func (w KeptnWorkloadInstance) GetCurrentPhase() string
- func (w KeptnWorkloadInstance) GetDurationMetricsAttributes() []attribute.KeyValue
- func (w KeptnWorkloadInstance) GetEndTime() time.Time
- func (w KeptnWorkloadInstance) GetEventAnnotations() map[string]string
- func (w KeptnWorkloadInstance) GetMetricsAttributes() []attribute.KeyValue
- func (w KeptnWorkloadInstance) GetNamespace() string
- func (w KeptnWorkloadInstance) GetParentName() string
- func (w KeptnWorkloadInstance) GetPostDeploymentEvaluationTaskStatus() []ItemStatus
- func (w KeptnWorkloadInstance) GetPostDeploymentEvaluations() []string
- func (w KeptnWorkloadInstance) GetPostDeploymentTaskStatus() []ItemStatus
- func (w KeptnWorkloadInstance) GetPostDeploymentTasks() []string
- func (w KeptnWorkloadInstance) GetPreDeploymentEvaluationTaskStatus() []ItemStatus
- func (w KeptnWorkloadInstance) GetPreDeploymentEvaluations() []string
- func (w KeptnWorkloadInstance) GetPreDeploymentTaskStatus() []ItemStatus
- func (w KeptnWorkloadInstance) GetPreDeploymentTasks() []string
- func (w KeptnWorkloadInstance) GetPreviousVersion() string
- func (w KeptnWorkloadInstance) GetSpanAttributes() []attribute.KeyValue
- func (w KeptnWorkloadInstance) GetSpanKey(phase string) string
- func (w KeptnWorkloadInstance) GetSpanName(phase string) string
- func (w KeptnWorkloadInstance) GetStartTime() time.Time
- func (w KeptnWorkloadInstance) GetState() common.KeptnState
- func (w KeptnWorkloadInstance) GetVersion() string
- func (w KeptnWorkloadInstance) IsDeploymentCompleted() bool
- func (w KeptnWorkloadInstance) IsDeploymentFailed() bool
- func (w KeptnWorkloadInstance) IsDeploymentSucceeded() bool
- func (w *KeptnWorkloadInstance) IsEndTimeSet() bool
- func (w KeptnWorkloadInstance) IsPostDeploymentCompleted() bool
- func (w KeptnWorkloadInstance) IsPostDeploymentEvaluationCompleted() bool
- func (w KeptnWorkloadInstance) IsPostDeploymentEvaluationFailed() bool
- func (w KeptnWorkloadInstance) IsPostDeploymentEvaluationSucceeded() bool
- func (w KeptnWorkloadInstance) IsPostDeploymentFailed() bool
- func (w KeptnWorkloadInstance) IsPostDeploymentSucceeded() bool
- func (w KeptnWorkloadInstance) IsPreDeploymentCompleted() bool
- func (w KeptnWorkloadInstance) IsPreDeploymentEvaluationCompleted() bool
- func (w KeptnWorkloadInstance) IsPreDeploymentEvaluationFailed() bool
- func (w KeptnWorkloadInstance) IsPreDeploymentEvaluationSucceeded() bool
- func (w KeptnWorkloadInstance) IsPreDeploymentFailed() bool
- func (w KeptnWorkloadInstance) IsPreDeploymentSucceeded() bool
- func (w *KeptnWorkloadInstance) IsStartTimeSet() bool
- func (w *KeptnWorkloadInstance) SetCurrentPhase(phase string)
- func (w *KeptnWorkloadInstance) SetEndTime()
- func (w *KeptnWorkloadInstance) SetPhaseTraceID(phase string, carrier propagation.MapCarrier)
- func (w KeptnWorkloadInstance) SetSpanAttributes(span trace.Span)
- func (w *KeptnWorkloadInstance) SetStartTime()
- func (w *KeptnWorkloadInstance) SetState(state common.KeptnState)
- type KeptnWorkloadInstanceList
- type KeptnWorkloadInstanceSpec
- type KeptnWorkloadInstanceStatus
- type KeptnWorkloadList
- type KeptnWorkloadRef
- type KeptnWorkloadSpec
- type KeptnWorkloadStatus
- type Objective
- type ResourceReference
- type SecureParameters
- 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: "v1alpha2"} // 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 ConfigMapReference ¶
type ConfigMapReference struct {
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 ¶
type ContainerSpec struct { }
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 string `json:"value"` Status common.KeptnState `json:"status"` 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 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 FunctionSpec ¶
type FunctionSpec struct { FunctionReference FunctionReference `json:"functionRef,omitempty"` Inline Inline `json:"inline,omitempty"` HttpReference HttpReference `json:"httpRef,omitempty"` ConfigMapReference ConfigMapReference `json:"configMapRef,omitempty"` Parameters TaskParameters `json:"parameters,omitempty"` SecureParameters SecureParameters `json:"secureParameters,omitempty"` }
func (*FunctionSpec) DeepCopy ¶
func (in *FunctionSpec) DeepCopy() *FunctionSpec
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new FunctionSpec.
func (*FunctionSpec) DeepCopyInto ¶
func (in *FunctionSpec) DeepCopyInto(out *FunctionSpec)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type FunctionStatus ¶
type FunctionStatus struct { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file 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 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 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/TaskDefiniton DefinitionName string `json:"definitionName,omitempty"` // +kubebuilder:default:=Pending Status common.KeptnState `json:"status,omitempty"` // Name is the name of the Evaluation/Task Name string `json:"name,omitempty"` StartTime metav1.Time `json:"startTime,omitempty"` 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.
func (*ItemStatus) SetEndTime ¶
func (e *ItemStatus) SetEndTime()
func (*ItemStatus) SetStartTime ¶
func (e *ItemStatus) SetStartTime()
type KeptnApp ¶
type KeptnApp struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeptnAppSpec `json:"spec,omitempty"` 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 (v1alpha3.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 (v1alpha3.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.
func (KeptnApp) GenerateAppVersion ¶
func (a KeptnApp) GenerateAppVersion(previousVersion string, traceContextCarrier map[string]string) KeptnAppVersion
func (KeptnApp) GetAppVersionName ¶
func (KeptnApp) GetEventAnnotations ¶
func (KeptnApp) GetSpanAttributes ¶
func (KeptnApp) SetSpanAttributes ¶
type KeptnAppList ¶
type KeptnAppList struct { metav1.TypeMeta `json:",inline"` 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 string `json:"version"` // +kubebuilder:default:=1 Revision uint `json:"revision,omitempty"` Workloads []KeptnWorkloadRef `json:"workloads,omitempty"` PreDeploymentTasks []string `json:"preDeploymentTasks,omitempty"` PostDeploymentTasks []string `json:"postDeploymentTasks,omitempty"` PreDeploymentEvaluations []string `json:"preDeploymentEvaluations,omitempty"` 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 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"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeptnAppVersionSpec `json:"spec,omitempty"` Status KeptnAppVersionStatus `json:"status,omitempty"` }
KeptnAppVersion is the Schema for the keptnappversions API
func (KeptnAppVersion) AreWorkloadsCompleted ¶
func (a KeptnAppVersion) AreWorkloadsCompleted() bool
func (KeptnAppVersion) AreWorkloadsFailed ¶
func (a KeptnAppVersion) AreWorkloadsFailed() bool
func (KeptnAppVersion) AreWorkloadsSucceeded ¶
func (a KeptnAppVersion) AreWorkloadsSucceeded() bool
func (*KeptnAppVersion) Complete ¶
func (a *KeptnAppVersion) Complete()
func (*KeptnAppVersion) ConvertFrom ¶
func (dst *KeptnAppVersion) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the hub version (v1alpha3.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 (v1alpha3.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.
func (*KeptnAppVersion) DeprecateRemainingPhases ¶
func (a *KeptnAppVersion) DeprecateRemainingPhases(phase common.KeptnPhaseType)
func (KeptnAppVersion) GenerateEvaluation ¶
func (a KeptnAppVersion) GenerateEvaluation(evaluationDefinition string, checkType common.CheckType) KeptnEvaluation
func (KeptnAppVersion) GenerateTask ¶
func (a KeptnAppVersion) GenerateTask(taskDefinition string, checkType common.CheckType) KeptnTask
func (KeptnAppVersion) GetActiveMetricsAttributes ¶
func (a KeptnAppVersion) GetActiveMetricsAttributes() []attribute.KeyValue
func (KeptnAppVersion) GetAppName ¶
func (a KeptnAppVersion) GetAppName() string
func (KeptnAppVersion) GetCurrentPhase ¶
func (a KeptnAppVersion) GetCurrentPhase() string
func (KeptnAppVersion) GetDurationMetricsAttributes ¶
func (a KeptnAppVersion) GetDurationMetricsAttributes() []attribute.KeyValue
func (KeptnAppVersion) GetEndTime ¶
func (a KeptnAppVersion) GetEndTime() time.Time
func (KeptnAppVersion) GetEventAnnotations ¶
func (a KeptnAppVersion) GetEventAnnotations() map[string]string
func (KeptnAppVersion) GetMetricsAttributes ¶
func (a KeptnAppVersion) GetMetricsAttributes() []attribute.KeyValue
func (KeptnAppVersion) GetNamespace ¶
func (a KeptnAppVersion) GetNamespace() string
func (KeptnAppVersion) GetParentName ¶
func (a KeptnAppVersion) GetParentName() string
func (KeptnAppVersion) GetPostDeploymentEvaluationTaskStatus ¶
func (a KeptnAppVersion) GetPostDeploymentEvaluationTaskStatus() []ItemStatus
func (KeptnAppVersion) GetPostDeploymentEvaluations ¶
func (a KeptnAppVersion) GetPostDeploymentEvaluations() []string
func (KeptnAppVersion) GetPostDeploymentTaskStatus ¶
func (a KeptnAppVersion) GetPostDeploymentTaskStatus() []ItemStatus
func (KeptnAppVersion) GetPostDeploymentTasks ¶
func (a KeptnAppVersion) GetPostDeploymentTasks() []string
func (KeptnAppVersion) GetPreDeploymentEvaluationTaskStatus ¶
func (a KeptnAppVersion) GetPreDeploymentEvaluationTaskStatus() []ItemStatus
func (KeptnAppVersion) GetPreDeploymentEvaluations ¶
func (a KeptnAppVersion) GetPreDeploymentEvaluations() []string
func (KeptnAppVersion) GetPreDeploymentTaskStatus ¶
func (a KeptnAppVersion) GetPreDeploymentTaskStatus() []ItemStatus
func (KeptnAppVersion) GetPreDeploymentTasks ¶
func (a KeptnAppVersion) GetPreDeploymentTasks() []string
func (KeptnAppVersion) GetPreviousVersion ¶
func (a KeptnAppVersion) GetPreviousVersion() string
func (KeptnAppVersion) GetSpanAttributes ¶
func (a KeptnAppVersion) GetSpanAttributes() []attribute.KeyValue
func (KeptnAppVersion) GetSpanKey ¶
func (a KeptnAppVersion) GetSpanKey(phase string) string
func (KeptnAppVersion) GetSpanName ¶
func (a KeptnAppVersion) GetSpanName(phase string) string
func (KeptnAppVersion) GetStartTime ¶
func (a KeptnAppVersion) GetStartTime() time.Time
func (KeptnAppVersion) GetState ¶
func (a KeptnAppVersion) GetState() common.KeptnState
func (KeptnAppVersion) GetVersion ¶
func (a KeptnAppVersion) GetVersion() string
func (KeptnAppVersion) GetWorkloadNameOfApp ¶
func (v KeptnAppVersion) GetWorkloadNameOfApp(workloadName string) string
func (*KeptnAppVersion) IsEndTimeSet ¶
func (a *KeptnAppVersion) IsEndTimeSet() bool
func (KeptnAppVersion) IsPostDeploymentCompleted ¶
func (a KeptnAppVersion) IsPostDeploymentCompleted() bool
func (KeptnAppVersion) IsPostDeploymentEvaluationCompleted ¶
func (a KeptnAppVersion) IsPostDeploymentEvaluationCompleted() bool
func (KeptnAppVersion) IsPostDeploymentEvaluationFailed ¶
func (a KeptnAppVersion) IsPostDeploymentEvaluationFailed() bool
func (KeptnAppVersion) IsPostDeploymentEvaluationSucceeded ¶
func (a KeptnAppVersion) IsPostDeploymentEvaluationSucceeded() bool
func (KeptnAppVersion) IsPostDeploymentFailed ¶
func (a KeptnAppVersion) IsPostDeploymentFailed() bool
func (KeptnAppVersion) IsPostDeploymentSucceeded ¶
func (a KeptnAppVersion) IsPostDeploymentSucceeded() bool
func (KeptnAppVersion) IsPreDeploymentCompleted ¶
func (a KeptnAppVersion) IsPreDeploymentCompleted() bool
func (KeptnAppVersion) IsPreDeploymentEvaluationCompleted ¶
func (a KeptnAppVersion) IsPreDeploymentEvaluationCompleted() bool
func (KeptnAppVersion) IsPreDeploymentEvaluationFailed ¶
func (a KeptnAppVersion) IsPreDeploymentEvaluationFailed() bool
func (KeptnAppVersion) IsPreDeploymentEvaluationSucceeded ¶
func (a KeptnAppVersion) IsPreDeploymentEvaluationSucceeded() bool
func (KeptnAppVersion) IsPreDeploymentFailed ¶
func (a KeptnAppVersion) IsPreDeploymentFailed() bool
func (KeptnAppVersion) IsPreDeploymentSucceeded ¶
func (a KeptnAppVersion) IsPreDeploymentSucceeded() bool
func (*KeptnAppVersion) IsStartTimeSet ¶
func (a *KeptnAppVersion) IsStartTimeSet() bool
func (*KeptnAppVersion) SetCurrentPhase ¶
func (a *KeptnAppVersion) SetCurrentPhase(phase string)
func (*KeptnAppVersion) SetEndTime ¶
func (a *KeptnAppVersion) SetEndTime()
func (*KeptnAppVersion) SetPhaseTraceID ¶
func (a *KeptnAppVersion) SetPhaseTraceID(phase string, carrier propagation.MapCarrier)
func (KeptnAppVersion) SetSpanAttributes ¶
func (a KeptnAppVersion) SetSpanAttributes(span trace.Span)
func (*KeptnAppVersion) SetStartTime ¶
func (a *KeptnAppVersion) SetStartTime()
func (*KeptnAppVersion) SetState ¶
func (a *KeptnAppVersion) SetState(state common.KeptnState)
type KeptnAppVersionList ¶
type KeptnAppVersionList struct { metav1.TypeMeta `json:",inline"` 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.
func (KeptnAppVersionList) GetItems ¶
func (a KeptnAppVersionList) GetItems() []client.Object
func (*KeptnAppVersionList) RemoveDeprecated ¶
func (a *KeptnAppVersionList) RemoveDeprecated()
type KeptnAppVersionSpec ¶
type KeptnAppVersionSpec struct { KeptnAppSpec `json:",inline"` AppName string `json:"appName"` PreviousVersion string `json:"previousVersion,omitempty"` 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 { // +kubebuilder:default:=Pending PreDeploymentStatus common.KeptnState `json:"preDeploymentStatus,omitempty"` // +kubebuilder:default:=Pending PostDeploymentStatus common.KeptnState `json:"postDeploymentStatus,omitempty"` // +kubebuilder:default:=Pending PreDeploymentEvaluationStatus common.KeptnState `json:"preDeploymentEvaluationStatus,omitempty"` // +kubebuilder:default:=Pending PostDeploymentEvaluationStatus common.KeptnState `json:"postDeploymentEvaluationStatus,omitempty"` // +kubebuilder:default:=Pending WorkloadOverallStatus common.KeptnState `json:"workloadOverallStatus,omitempty"` WorkloadStatus []WorkloadStatus `json:"workloadStatus,omitempty"` CurrentPhase string `json:"currentPhase,omitempty"` PreDeploymentTaskStatus []ItemStatus `json:"preDeploymentTaskStatus,omitempty"` PostDeploymentTaskStatus []ItemStatus `json:"postDeploymentTaskStatus,omitempty"` PreDeploymentEvaluationTaskStatus []ItemStatus `json:"preDeploymentEvaluationTaskStatus,omitempty"` PostDeploymentEvaluationTaskStatus []ItemStatus `json:"postDeploymentEvaluationTaskStatus,omitempty"` PhaseTraceIDs common.PhaseTraceID `json:"phaseTraceIDs,omitempty"` // +kubebuilder:default:=Pending Status common.KeptnState `json:"status,omitempty"` StartTime metav1.Time `json:"startTime,omitempty"` 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"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeptnEvaluationSpec `json:"spec,omitempty"` Status KeptnEvaluationStatus `json:"status,omitempty"` }
KeptnEvaluation is the Schema for the keptnevaluations API
func (*KeptnEvaluation) AddEvaluationStatus ¶
func (e *KeptnEvaluation) AddEvaluationStatus(objective Objective)
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.
func (KeptnEvaluation) GetActiveMetricsAttributes ¶
func (e KeptnEvaluation) GetActiveMetricsAttributes() []attribute.KeyValue
func (KeptnEvaluation) GetEventAnnotations ¶
func (e KeptnEvaluation) GetEventAnnotations() map[string]string
func (KeptnEvaluation) GetMetricsAttributes ¶
func (e KeptnEvaluation) GetMetricsAttributes() []attribute.KeyValue
func (KeptnEvaluation) GetSpanAttributes ¶
func (e KeptnEvaluation) GetSpanAttributes() []attribute.KeyValue
func (KeptnEvaluation) GetSpanKey ¶
func (e KeptnEvaluation) GetSpanKey(phase string) string
func (KeptnEvaluation) GetSpanName ¶
func (e KeptnEvaluation) GetSpanName(phase string) string
func (*KeptnEvaluation) IsEndTimeSet ¶
func (e *KeptnEvaluation) IsEndTimeSet() bool
func (*KeptnEvaluation) IsStartTimeSet ¶
func (e *KeptnEvaluation) IsStartTimeSet() bool
func (*KeptnEvaluation) SetEndTime ¶
func (e *KeptnEvaluation) SetEndTime()
func (*KeptnEvaluation) SetPhaseTraceID ¶
func (e *KeptnEvaluation) SetPhaseTraceID(phase string, carrier propagation.MapCarrier)
func (KeptnEvaluation) SetSpanAttributes ¶
func (e KeptnEvaluation) SetSpanAttributes(span trace.Span)
func (*KeptnEvaluation) SetStartTime ¶
func (e *KeptnEvaluation) SetStartTime()
type KeptnEvaluationDefinition ¶
type KeptnEvaluationDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeptnEvaluationDefinitionSpec `json:"spec,omitempty"` Status KeptnEvaluationDefinitionStatus `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"` 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 { Source string `json:"source"` 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 KeptnEvaluationDefinitionStatus ¶
type KeptnEvaluationDefinitionStatus struct { }
KeptnEvaluationDefinitionStatus defines the observed state of KeptnEvaluationDefinition
func (*KeptnEvaluationDefinitionStatus) DeepCopy ¶
func (in *KeptnEvaluationDefinitionStatus) DeepCopy() *KeptnEvaluationDefinitionStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationDefinitionStatus.
func (*KeptnEvaluationDefinitionStatus) DeepCopyInto ¶
func (in *KeptnEvaluationDefinitionStatus) DeepCopyInto(out *KeptnEvaluationDefinitionStatus)
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"` 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.
func (KeptnEvaluationList) GetItems ¶
func (e KeptnEvaluationList) GetItems() []client.Object
type KeptnEvaluationProvider ¶
type KeptnEvaluationProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeptnEvaluationProviderSpec `json:"spec,omitempty"` Status KeptnEvaluationProviderStatus `json:"status,omitempty"` }
KeptnEvaluationProvider is the Schema for the keptnevaluationproviders API
func (*KeptnEvaluationProvider) ConvertFrom ¶
func (dst *KeptnEvaluationProvider) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the hub version (v1alpha3.KeptnEvaluationProvider) to this version (v1alpha2.KeptnEvaluationProvider)
func (*KeptnEvaluationProvider) ConvertTo ¶
func (src *KeptnEvaluationProvider) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts the src v1alpha2.KeptnEvaluationProvider to the hub version (v1alpha3.KeptnEvaluationProvider)
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.
func (*KeptnEvaluationProvider) HasSecretDefined ¶
func (p *KeptnEvaluationProvider) HasSecretDefined() bool
type KeptnEvaluationProviderList ¶
type KeptnEvaluationProviderList struct { metav1.TypeMeta `json:",inline"` 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"` 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 KeptnEvaluationProviderStatus ¶
type KeptnEvaluationProviderStatus struct { }
KeptnEvaluationProviderStatus defines the observed state of KeptnEvaluationProvider
func (*KeptnEvaluationProviderStatus) DeepCopy ¶
func (in *KeptnEvaluationProviderStatus) DeepCopy() *KeptnEvaluationProviderStatus
DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationProviderStatus.
func (*KeptnEvaluationProviderStatus) DeepCopyInto ¶
func (in *KeptnEvaluationProviderStatus) DeepCopyInto(out *KeptnEvaluationProviderStatus)
DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.
type KeptnEvaluationSpec ¶
type KeptnEvaluationSpec struct { Workload string `json:"workload,omitempty"` WorkloadVersion string `json:"workloadVersion"` AppName string `json:"appName,omitempty"` AppVersion string `json:"appVersion,omitempty"` EvaluationDefinition string `json:"evaluationDefinition"` // +kubebuilder:default:=10 Retries int `json:"retries,omitempty"` // +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"` FailAction string `json:"failAction,omitempty"` 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 { // +kubebuilder:default:=0 RetryCount int `json:"retryCount"` EvaluationStatus map[string]EvaluationStatusItem `json:"evaluationStatus"` // +kubebuilder:default:=Pending OverallStatus common.KeptnState `json:"overallStatus"` StartTime metav1.Time `json:"startTime,omitempty"` 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 KeptnTask ¶
type KeptnTask struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeptnTaskSpec `json:"spec,omitempty"` Status KeptnTaskStatus `json:"status,omitempty"` }
KeptnTask is the Schema for the keptntasks API
func (KeptnTask) CreateKeptnLabels ¶
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.
func (KeptnTask) GetActiveMetricsAttributes ¶
func (KeptnTask) GetEventAnnotations ¶
func (KeptnTask) GetMetricsAttributes ¶
func (KeptnTask) GetSpanAttributes ¶
func (KeptnTask) GetSpanKey ¶
func (KeptnTask) GetSpanName ¶
func (*KeptnTask) IsEndTimeSet ¶
func (*KeptnTask) IsStartTimeSet ¶
func (*KeptnTask) SetEndTime ¶
func (t *KeptnTask) SetEndTime()
func (*KeptnTask) SetPhaseTraceID ¶
func (t *KeptnTask) SetPhaseTraceID(phase string, carrier propagation.MapCarrier)
func (KeptnTask) SetSpanAttributes ¶
func (*KeptnTask) SetStartTime ¶
func (t *KeptnTask) SetStartTime()
type KeptnTaskDefinition ¶
type KeptnTaskDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeptnTaskDefinitionSpec `json:"spec,omitempty"` 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"` 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 {
Function FunctionSpec `json:"function,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 { // INSERT ADDITIONAL STATUS FIELD - define observed state of cluster // Important: Run "make" to regenerate code after modifying this file 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"` 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.
func (KeptnTaskList) GetItems ¶
func (t KeptnTaskList) GetItems() []client.Object
type KeptnTaskSpec ¶
type KeptnTaskSpec struct { Workload string `json:"workload"` WorkloadVersion string `json:"workloadVersion"` AppName string `json:"app"` AppVersion string `json:"appVersion"` TaskDefinition string `json:"taskDefinition"` Context TaskContext `json:"context"` Parameters TaskParameters `json:"parameters,omitempty"` SecureParameters SecureParameters `json:"secureParameters,omitempty"` Type common.CheckType `json:"checkType,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 string `json:"jobName,omitempty"` // +kubebuilder:default:=Pending Status common.KeptnState `json:"status,omitempty"` Message string `json:"message,omitempty"` StartTime metav1.Time `json:"startTime,omitempty"` EndTime metav1.Time `json:"endTime,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"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeptnWorkloadSpec `json:"spec,omitempty"` 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.
func (KeptnWorkload) GenerateWorkloadInstance ¶
func (w KeptnWorkload) GenerateWorkloadInstance(previousVersion string, traceContextCarrier map[string]string) KeptnWorkloadInstance
func (KeptnWorkload) GetEventAnnotations ¶
func (w KeptnWorkload) GetEventAnnotations() map[string]string
func (KeptnWorkload) GetSpanAttributes ¶
func (w KeptnWorkload) GetSpanAttributes() []attribute.KeyValue
func (KeptnWorkload) GetWorkloadInstanceName ¶
func (w KeptnWorkload) GetWorkloadInstanceName() string
func (KeptnWorkload) SetSpanAttributes ¶
func (w KeptnWorkload) SetSpanAttributes(span trace.Span)
type KeptnWorkloadInstance ¶
type KeptnWorkloadInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` Spec KeptnWorkloadInstanceSpec `json:"spec,omitempty"` Status KeptnWorkloadInstanceStatus `json:"status,omitempty"` }
KeptnWorkloadInstance is the Schema for the keptnworkloadinstances API
func (*KeptnWorkloadInstance) Complete ¶
func (w *KeptnWorkloadInstance) Complete()
func (*KeptnWorkloadInstance) ConvertFrom ¶
func (dst *KeptnWorkloadInstance) ConvertFrom(srcRaw conversion.Hub) error
ConvertFrom converts from the hub version (v1alpha3.KeptnWorkloadInstance) to this version (v1alpha3.KeptnWorkloadInstance)
func (*KeptnWorkloadInstance) ConvertTo ¶
func (src *KeptnWorkloadInstance) ConvertTo(dstRaw conversion.Hub) error
ConvertTo converts the src v1alpha3.KeptnWorkloadInstance to the hub version (v1alpha3.KeptnWorkloadInstance)
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.
func (*KeptnWorkloadInstance) DeprecateRemainingPhases ¶
func (w *KeptnWorkloadInstance) DeprecateRemainingPhases(phase common.KeptnPhaseType)
func (KeptnWorkloadInstance) GenerateEvaluation ¶
func (w KeptnWorkloadInstance) GenerateEvaluation(evaluationDefinition string, checkType common.CheckType) KeptnEvaluation
func (KeptnWorkloadInstance) GenerateTask ¶
func (w KeptnWorkloadInstance) GenerateTask(taskDefinition string, checkType common.CheckType) KeptnTask
func (KeptnWorkloadInstance) GetActiveMetricsAttributes ¶
func (w KeptnWorkloadInstance) GetActiveMetricsAttributes() []attribute.KeyValue
func (KeptnWorkloadInstance) GetAppName ¶
func (w KeptnWorkloadInstance) GetAppName() string
func (KeptnWorkloadInstance) GetCurrentPhase ¶
func (w KeptnWorkloadInstance) GetCurrentPhase() string
func (KeptnWorkloadInstance) GetDurationMetricsAttributes ¶
func (w KeptnWorkloadInstance) GetDurationMetricsAttributes() []attribute.KeyValue
func (KeptnWorkloadInstance) GetEndTime ¶
func (w KeptnWorkloadInstance) GetEndTime() time.Time
func (KeptnWorkloadInstance) GetEventAnnotations ¶
func (w KeptnWorkloadInstance) GetEventAnnotations() map[string]string
func (KeptnWorkloadInstance) GetMetricsAttributes ¶
func (w KeptnWorkloadInstance) GetMetricsAttributes() []attribute.KeyValue
func (KeptnWorkloadInstance) GetNamespace ¶
func (w KeptnWorkloadInstance) GetNamespace() string
func (KeptnWorkloadInstance) GetParentName ¶
func (w KeptnWorkloadInstance) GetParentName() string
func (KeptnWorkloadInstance) GetPostDeploymentEvaluationTaskStatus ¶
func (w KeptnWorkloadInstance) GetPostDeploymentEvaluationTaskStatus() []ItemStatus
func (KeptnWorkloadInstance) GetPostDeploymentEvaluations ¶
func (w KeptnWorkloadInstance) GetPostDeploymentEvaluations() []string
func (KeptnWorkloadInstance) GetPostDeploymentTaskStatus ¶
func (w KeptnWorkloadInstance) GetPostDeploymentTaskStatus() []ItemStatus
func (KeptnWorkloadInstance) GetPostDeploymentTasks ¶
func (w KeptnWorkloadInstance) GetPostDeploymentTasks() []string
func (KeptnWorkloadInstance) GetPreDeploymentEvaluationTaskStatus ¶
func (w KeptnWorkloadInstance) GetPreDeploymentEvaluationTaskStatus() []ItemStatus
func (KeptnWorkloadInstance) GetPreDeploymentEvaluations ¶
func (w KeptnWorkloadInstance) GetPreDeploymentEvaluations() []string
func (KeptnWorkloadInstance) GetPreDeploymentTaskStatus ¶
func (w KeptnWorkloadInstance) GetPreDeploymentTaskStatus() []ItemStatus
func (KeptnWorkloadInstance) GetPreDeploymentTasks ¶
func (w KeptnWorkloadInstance) GetPreDeploymentTasks() []string
func (KeptnWorkloadInstance) GetPreviousVersion ¶
func (w KeptnWorkloadInstance) GetPreviousVersion() string
func (KeptnWorkloadInstance) GetSpanAttributes ¶
func (w KeptnWorkloadInstance) GetSpanAttributes() []attribute.KeyValue
func (KeptnWorkloadInstance) GetSpanKey ¶
func (w KeptnWorkloadInstance) GetSpanKey(phase string) string
func (KeptnWorkloadInstance) GetSpanName ¶
func (w KeptnWorkloadInstance) GetSpanName(phase string) string
func (KeptnWorkloadInstance) GetStartTime ¶
func (w KeptnWorkloadInstance) GetStartTime() time.Time
func (KeptnWorkloadInstance) GetState ¶
func (w KeptnWorkloadInstance) GetState() common.KeptnState
func (KeptnWorkloadInstance) GetVersion ¶
func (w KeptnWorkloadInstance) GetVersion() string
func (KeptnWorkloadInstance) IsDeploymentCompleted ¶
func (w KeptnWorkloadInstance) IsDeploymentCompleted() bool
func (KeptnWorkloadInstance) IsDeploymentFailed ¶
func (w KeptnWorkloadInstance) IsDeploymentFailed() bool
func (KeptnWorkloadInstance) IsDeploymentSucceeded ¶
func (w KeptnWorkloadInstance) IsDeploymentSucceeded() bool
func (*KeptnWorkloadInstance) IsEndTimeSet ¶
func (w *KeptnWorkloadInstance) IsEndTimeSet() bool
func (KeptnWorkloadInstance) IsPostDeploymentCompleted ¶
func (w KeptnWorkloadInstance) IsPostDeploymentCompleted() bool
func (KeptnWorkloadInstance) IsPostDeploymentEvaluationCompleted ¶
func (w KeptnWorkloadInstance) IsPostDeploymentEvaluationCompleted() bool
func (KeptnWorkloadInstance) IsPostDeploymentEvaluationFailed ¶
func (w KeptnWorkloadInstance) IsPostDeploymentEvaluationFailed() bool
func (KeptnWorkloadInstance) IsPostDeploymentEvaluationSucceeded ¶
func (w KeptnWorkloadInstance) IsPostDeploymentEvaluationSucceeded() bool
func (KeptnWorkloadInstance) IsPostDeploymentFailed ¶
func (w KeptnWorkloadInstance) IsPostDeploymentFailed() bool
func (KeptnWorkloadInstance) IsPostDeploymentSucceeded ¶
func (w KeptnWorkloadInstance) IsPostDeploymentSucceeded() bool
func (KeptnWorkloadInstance) IsPreDeploymentCompleted ¶
func (w KeptnWorkloadInstance) IsPreDeploymentCompleted() bool
func (KeptnWorkloadInstance) IsPreDeploymentEvaluationCompleted ¶
func (w KeptnWorkloadInstance) IsPreDeploymentEvaluationCompleted() bool
func (KeptnWorkloadInstance) IsPreDeploymentEvaluationFailed ¶
func (w KeptnWorkloadInstance) IsPreDeploymentEvaluationFailed() bool
func (KeptnWorkloadInstance) IsPreDeploymentEvaluationSucceeded ¶
func (w KeptnWorkloadInstance) IsPreDeploymentEvaluationSucceeded() bool
func (KeptnWorkloadInstance) IsPreDeploymentFailed ¶
func (w KeptnWorkloadInstance) IsPreDeploymentFailed() bool
func (KeptnWorkloadInstance) IsPreDeploymentSucceeded ¶
func (w KeptnWorkloadInstance) IsPreDeploymentSucceeded() bool
func (*KeptnWorkloadInstance) IsStartTimeSet ¶
func (w *KeptnWorkloadInstance) IsStartTimeSet() bool
func (*KeptnWorkloadInstance) SetCurrentPhase ¶
func (w *KeptnWorkloadInstance) SetCurrentPhase(phase string)
func (*KeptnWorkloadInstance) SetEndTime ¶
func (w *KeptnWorkloadInstance) SetEndTime()
func (*KeptnWorkloadInstance) SetPhaseTraceID ¶
func (w *KeptnWorkloadInstance) SetPhaseTraceID(phase string, carrier propagation.MapCarrier)
func (KeptnWorkloadInstance) SetSpanAttributes ¶
func (w KeptnWorkloadInstance) SetSpanAttributes(span trace.Span)
func (*KeptnWorkloadInstance) SetStartTime ¶
func (w *KeptnWorkloadInstance) SetStartTime()
func (*KeptnWorkloadInstance) SetState ¶
func (w *KeptnWorkloadInstance) SetState(state common.KeptnState)
type KeptnWorkloadInstanceList ¶
type KeptnWorkloadInstanceList struct { metav1.TypeMeta `json:",inline"` 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.
func (KeptnWorkloadInstanceList) GetItems ¶
func (w KeptnWorkloadInstanceList) GetItems() []client.Object
type KeptnWorkloadInstanceSpec ¶
type KeptnWorkloadInstanceSpec struct { KeptnWorkloadSpec `json:",inline"` WorkloadName string `json:"workloadName"` PreviousVersion string `json:"previousVersion,omitempty"` 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 { // +kubebuilder:default:=Pending PreDeploymentStatus common.KeptnState `json:"preDeploymentStatus,omitempty"` // +kubebuilder:default:=Pending DeploymentStatus common.KeptnState `json:"deploymentStatus,omitempty"` // +kubebuilder:default:=Pending PreDeploymentEvaluationStatus common.KeptnState `json:"preDeploymentEvaluationStatus,omitempty"` // +kubebuilder:default:=Pending PostDeploymentEvaluationStatus common.KeptnState `json:"postDeploymentEvaluationStatus,omitempty"` // +kubebuilder:default:=Pending PostDeploymentStatus common.KeptnState `json:"postDeploymentStatus,omitempty"` PreDeploymentTaskStatus []ItemStatus `json:"preDeploymentTaskStatus,omitempty"` PostDeploymentTaskStatus []ItemStatus `json:"postDeploymentTaskStatus,omitempty"` PreDeploymentEvaluationTaskStatus []ItemStatus `json:"preDeploymentEvaluationTaskStatus,omitempty"` PostDeploymentEvaluationTaskStatus []ItemStatus `json:"postDeploymentEvaluationTaskStatus,omitempty"` StartTime metav1.Time `json:"startTime,omitempty"` EndTime metav1.Time `json:"endTime,omitempty"` CurrentPhase string `json:"currentPhase,omitempty"` PhaseTraceIDs common.PhaseTraceID `json:"phaseTraceIDs,omitempty"` // +kubebuilder:default:=Pending 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"` 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 ¶
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 string `json:"app"` Version string `json:"version"` PreDeploymentTasks []string `json:"preDeploymentTasks,omitempty"` PostDeploymentTasks []string `json:"postDeploymentTasks,omitempty"` PreDeploymentEvaluations []string `json:"preDeploymentEvaluations,omitempty"` PostDeploymentEvaluations []string `json:"postDeploymentEvaluations,omitempty"` 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 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 { Name string `json:"name"` Query string `json:"query"` 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"` }
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 SecureParameters ¶
type SecureParameters struct {
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 TaskContext ¶
type TaskContext struct { WorkloadName string `json:"workloadName"` AppName string `json:"appName"` AppVersion string `json:"appVersion"` WorkloadVersion string `json:"workloadVersion"` TaskType string `json:"taskType"` 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 ¶
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 KeptnWorkloadRef `json:"workload,omitempty"` // +kubebuilder:default:=Pending 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
- keptnappversion_conversion.go
- keptnappversion_types.go
- keptnevaluation_types.go
- keptnevaluationdefinition_types.go
- keptnevaluationprovider_conversion.go
- keptnevaluationprovider_types.go
- keptntask_types.go
- keptntaskdefinition_types.go
- keptnworkload_types.go
- keptnworkloadinstance_conversion.go
- keptnworkloadinstance_types.go
- zz_generated.deepcopy.go