v1alpha2

package
v0.0.0-...-9d026b8 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package v1alpha2 contains API Schema definitions for the lifecycle v1alpha2 API group +kubebuilder:object:generate=true +groupName=lifecycle.keptn.sh

Index

Constants

This section is empty.

Variables

View Source
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 {
	// +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

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"`
	// +optional
	Message string `json:"message,omitempty"`
}

func (*EvaluationStatusItem) DeepCopy

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 {
	// +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 FunctionSpec

type FunctionSpec struct {
	// +optional
	FunctionReference FunctionReference `json:"functionRef,omitempty"`
	// +optional
	Inline Inline `json:"inline,omitempty"`
	// +optional
	HttpReference HttpReference `json:"httpRef,omitempty"`
	// +optional
	ConfigMapReference ConfigMapReference `json:"configMapRef,omitempty"`
	// +optional
	Parameters TaskParameters `json:"parameters,omitempty"`
	// +optional
	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 {
	// +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 {
	// +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 {
	// +optional
	Code string `json:"code,omitempty"`
}

func (*Inline) DeepCopy

func (in *Inline) DeepCopy() *Inline

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Inline.

func (*Inline) DeepCopyInto

func (in *Inline) DeepCopyInto(out *Inline)

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"`
	// +optional
	StartTime metav1.Time `json:"startTime,omitempty"`
	// +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"`

	// +optional
	Spec KeptnAppSpec `json:"spec,omitempty"`
	// +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 (v1alpha2.KeptnApp)

func (*KeptnApp) ConvertTo

func (src *KeptnApp) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts the src v1alpha2.KeptnApp to the hub version (v1.KeptnApp)

func (*KeptnApp) DeepCopy

func (in *KeptnApp) DeepCopy() *KeptnApp

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnApp.

func (*KeptnApp) DeepCopyInto

func (in *KeptnApp) DeepCopyInto(out *KeptnApp)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KeptnApp) DeepCopyObject

func (in *KeptnApp) DeepCopyObject() runtime.Object

DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.

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 string `json:"version"`
	// +kubebuilder:default:=1
	// +optional
	Revision uint `json:"revision,omitempty"`
	// +optional
	Workloads []KeptnWorkloadRef `json:"workloads,omitempty"`
	// +optional
	PreDeploymentTasks []string `json:"preDeploymentTasks,omitempty"`
	// +optional
	PostDeploymentTasks []string `json:"postDeploymentTasks,omitempty"`
	// +optional
	PreDeploymentEvaluations []string `json:"preDeploymentEvaluations,omitempty"`
	// +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 {
	// +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"`

	// +optional
	Spec KeptnAppVersionSpec `json:"spec,omitempty"`
	// +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 (v1alpha2.KeptnAppVersion)

func (*KeptnAppVersion) ConvertTo

func (src *KeptnAppVersion) ConvertTo(dstRaw conversion.Hub) error

ConvertTo converts the src v1alpha2.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      string `json:"appName"`
	// +optional
	PreviousVersion string `json:"previousVersion,omitempty"`

	// +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 {
	// +kubebuilder:default:=Pending
	// +optional
	PreDeploymentStatus common.KeptnState `json:"preDeploymentStatus,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	PostDeploymentStatus common.KeptnState `json:"postDeploymentStatus,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	PreDeploymentEvaluationStatus common.KeptnState `json:"preDeploymentEvaluationStatus,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	PostDeploymentEvaluationStatus common.KeptnState `json:"postDeploymentEvaluationStatus,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	WorkloadOverallStatus common.KeptnState `json:"workloadOverallStatus,omitempty"`
	// +optional
	WorkloadStatus []WorkloadStatus `json:"workloadStatus,omitempty"`
	// +optional
	CurrentPhase string `json:"currentPhase,omitempty"`
	// +optional
	PreDeploymentTaskStatus []ItemStatus `json:"preDeploymentTaskStatus,omitempty"`
	// +optional
	PostDeploymentTaskStatus []ItemStatus `json:"postDeploymentTaskStatus,omitempty"`
	// +optional
	PreDeploymentEvaluationTaskStatus []ItemStatus `json:"preDeploymentEvaluationTaskStatus,omitempty"`
	// +optional
	PostDeploymentEvaluationTaskStatus []ItemStatus `json:"postDeploymentEvaluationTaskStatus,omitempty"`
	// +optional
	PhaseTraceIDs common.PhaseTraceID `json:"phaseTraceIDs,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	Status common.KeptnState `json:"status,omitempty"`

	// +optional
	StartTime metav1.Time `json:"startTime,omitempty"`
	// +optional
	EndTime metav1.Time `json:"endTime,omitempty"`
}

KeptnAppVersionStatus defines the observed state of KeptnAppVersion

func (*KeptnAppVersionStatus) DeepCopy

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"`

	// +optional
	Spec KeptnEvaluationSpec `json:"spec,omitempty"`
	// +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"`

	// +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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationDefinition.

func (*KeptnEvaluationDefinition) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationDefinitionList.

func (*KeptnEvaluationDefinitionList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationDefinitionSpec.

func (*KeptnEvaluationDefinitionSpec) DeepCopyInto

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

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationProviderList.

func (*KeptnEvaluationProviderList) DeepCopyInto

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnEvaluationProviderSpec.

func (*KeptnEvaluationProviderSpec) DeepCopyInto

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

type KeptnEvaluationSpec

type KeptnEvaluationSpec struct {
	// +optional
	Workload        string `json:"workload,omitempty"`
	WorkloadVersion string `json:"workloadVersion"`
	// +optional
	AppName string `json:"appName,omitempty"`
	// +optional
	AppVersion           string `json:"appVersion,omitempty"`
	EvaluationDefinition string `json:"evaluationDefinition"`
	// +kubebuilder:default:=10
	// +optional
	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"`
	// +optional
	FailAction string `json:"failAction,omitempty"`
	// +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 {
	// +kubebuilder:default:=0
	RetryCount       int                             `json:"retryCount"`
	EvaluationStatus map[string]EvaluationStatusItem `json:"evaluationStatus"`
	// +kubebuilder:default:=Pending
	OverallStatus common.KeptnState `json:"overallStatus"`
	// +optional
	StartTime metav1.Time `json:"startTime,omitempty"`
	// +optional
	EndTime metav1.Time `json:"endTime,omitempty"`
}

KeptnEvaluationStatus defines the observed state of KeptnEvaluation

func (*KeptnEvaluationStatus) DeepCopy

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"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec KeptnTaskSpec `json:"spec,omitempty"`
	// +optional
	Status KeptnTaskStatus `json:"status,omitempty"`
}

KeptnTask is the Schema for the keptntasks API

func (*KeptnTask) DeepCopy

func (in *KeptnTask) DeepCopy() *KeptnTask

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTask.

func (*KeptnTask) DeepCopyInto

func (in *KeptnTask) DeepCopyInto(out *KeptnTask)

DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil.

func (*KeptnTask) DeepCopyObject

func (in *KeptnTask) DeepCopyObject() runtime.Object

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"`

	// +optional
	Spec KeptnTaskDefinitionSpec `json:"spec,omitempty"`
	// +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

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 {
	// +optional
	Function FunctionSpec `json:"function,omitempty"`
}

KeptnTaskDefinitionSpec defines the desired state of KeptnTaskDefinition

func (*KeptnTaskDefinitionSpec) DeepCopy

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 {
	// +optional
	Function FunctionStatus `json:"function,omitempty"`
}

KeptnTaskDefinitionStatus defines the observed state of KeptnTaskDefinition

func (*KeptnTaskDefinitionStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnTaskDefinitionStatus.

func (*KeptnTaskDefinitionStatus) DeepCopyInto

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 {
	Workload        string      `json:"workload"`
	WorkloadVersion string      `json:"workloadVersion"`
	AppName         string      `json:"app"`
	AppVersion      string      `json:"appVersion"`
	TaskDefinition  string      `json:"taskDefinition"`
	Context         TaskContext `json:"context"`
	// +optional
	Parameters TaskParameters `json:"parameters,omitempty"`
	// +optional
	SecureParameters SecureParameters `json:"secureParameters,omitempty"`
	// +optional
	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 {
	// +optional
	JobName string `json:"jobName,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	Status common.KeptnState `json:"status,omitempty"`
	// +optional
	Message string `json:"message,omitempty"`
	// +optional
	StartTime metav1.Time `json:"startTime,omitempty"`
	// +optional
	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"`
	// +optional
	metav1.ObjectMeta `json:"metadata,omitempty"`

	// +optional
	Spec KeptnWorkloadSpec `json:"spec,omitempty"`
	// +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"`

	// +optional
	Spec KeptnWorkloadInstanceSpec `json:"spec,omitempty"`
	// +optional
	Status KeptnWorkloadInstanceStatus `json:"status,omitempty"`
}

KeptnWorkloadInstance is the Schema for the keptnworkloadinstances API

func (*KeptnWorkloadInstance) DeepCopy

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

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadInstanceList.

func (*KeptnWorkloadInstanceList) DeepCopyInto

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      string `json:"workloadName"`
	// +optional
	PreviousVersion string `json:"previousVersion,omitempty"`
	// +optional
	TraceId map[string]string `json:"traceId,omitempty"`
}

KeptnWorkloadInstanceSpec defines the desired state of KeptnWorkloadInstance

func (*KeptnWorkloadInstanceSpec) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadInstanceSpec.

func (*KeptnWorkloadInstanceSpec) DeepCopyInto

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
	// +optional
	PreDeploymentStatus common.KeptnState `json:"preDeploymentStatus,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	DeploymentStatus common.KeptnState `json:"deploymentStatus,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	PreDeploymentEvaluationStatus common.KeptnState `json:"preDeploymentEvaluationStatus,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	PostDeploymentEvaluationStatus common.KeptnState `json:"postDeploymentEvaluationStatus,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	PostDeploymentStatus common.KeptnState `json:"postDeploymentStatus,omitempty"`
	// +optional
	PreDeploymentTaskStatus []ItemStatus `json:"preDeploymentTaskStatus,omitempty"`
	// +optional
	PostDeploymentTaskStatus []ItemStatus `json:"postDeploymentTaskStatus,omitempty"`
	// +optional
	PreDeploymentEvaluationTaskStatus []ItemStatus `json:"preDeploymentEvaluationTaskStatus,omitempty"`
	// +optional
	PostDeploymentEvaluationTaskStatus []ItemStatus `json:"postDeploymentEvaluationTaskStatus,omitempty"`
	// +optional
	StartTime metav1.Time `json:"startTime,omitempty"`
	// +optional
	EndTime metav1.Time `json:"endTime,omitempty"`
	// +optional
	CurrentPhase string `json:"currentPhase,omitempty"`
	// +optional
	PhaseTraceIDs common.PhaseTraceID `json:"phaseTraceIDs,omitempty"`
	// +kubebuilder:default:=Pending
	// +optional
	Status common.KeptnState `json:"status,omitempty"`
}

KeptnWorkloadInstanceStatus defines the observed state of KeptnWorkloadInstance

func (*KeptnWorkloadInstanceStatus) DeepCopy

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new KeptnWorkloadInstanceStatus.

func (*KeptnWorkloadInstanceStatus) DeepCopyInto

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    string `json:"name"`
	Version string `json:"version"`
}

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"`
	// +optional
	PreDeploymentTasks []string `json:"preDeploymentTasks,omitempty"`
	// +optional
	PostDeploymentTasks []string `json:"postDeploymentTasks,omitempty"`
	// +optional
	PreDeploymentEvaluations []string `json:"preDeploymentEvaluations,omitempty"`
	// +optional
	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 {
	// +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 {
	Name             string `json:"name"`
	Query            string `json:"query"`
	EvaluationTarget string `json:"evaluationTarget"`
}

func (*Objective) DeepCopy

func (in *Objective) DeepCopy() *Objective

DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new Objective.

func (*Objective) DeepCopyInto

func (in *Objective) DeepCopyInto(out *Objective)

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 SecureParameters

type SecureParameters struct {
	// +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 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

type TaskParameters struct {
	// +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 {
	// +optional
	Workload KeptnWorkloadRef `json:"workload,omitempty"`
	// +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.

Directories

Path Synopsis
Package v1alpha2 contains API Schema definitions for the lifecycle v1alpha2 API group +groupName=lifecycle.keptn.sh +versionName=v1alpha2
Package v1alpha2 contains API Schema definitions for the lifecycle v1alpha2 API group +groupName=lifecycle.keptn.sh +versionName=v1alpha2

Jump to

Keyboard shortcuts

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