Documentation ¶
Overview ¶
Package v1alpha3 contains API Schema definitions for the lifecycle v1alpha3 API group +kubebuilder:object:generate=true +groupName=lifecycle.keptn.sh
Index ¶
- Variables
- type ItemStatus
- type KeptnWorkload
- type KeptnWorkloadInstance
- func (in *KeptnWorkloadInstance) DeepCopy() *KeptnWorkloadInstance
- func (in *KeptnWorkloadInstance) DeepCopyInto(out *KeptnWorkloadInstance)
- func (in *KeptnWorkloadInstance) DeepCopyObject() runtime.Object
- func (i KeptnWorkloadInstance) IsDeploymentCompleted() bool
- func (i KeptnWorkloadInstance) IsDeploymentFailed() bool
- func (i KeptnWorkloadInstance) IsDeploymentSucceeded() bool
- func (i *KeptnWorkloadInstance) IsEndTimeSet() bool
- func (i KeptnWorkloadInstance) IsPostDeploymentCompleted() bool
- func (v KeptnWorkloadInstance) IsPostDeploymentEvaluationCompleted() bool
- func (v KeptnWorkloadInstance) IsPostDeploymentEvaluationFailed() bool
- func (v KeptnWorkloadInstance) IsPostDeploymentEvaluationSucceeded() bool
- func (i KeptnWorkloadInstance) IsPostDeploymentFailed() bool
- func (i KeptnWorkloadInstance) IsPostDeploymentSucceeded() bool
- func (i KeptnWorkloadInstance) IsPreDeploymentCompleted() bool
- func (v KeptnWorkloadInstance) IsPreDeploymentEvaluationCompleted() bool
- func (v KeptnWorkloadInstance) IsPreDeploymentEvaluationFailed() bool
- func (v KeptnWorkloadInstance) IsPreDeploymentEvaluationSucceeded() bool
- func (i KeptnWorkloadInstance) IsPreDeploymentFailed() bool
- func (i KeptnWorkloadInstance) IsPreDeploymentSucceeded() bool
- func (i *KeptnWorkloadInstance) IsStartTimeSet() bool
- func (i *KeptnWorkloadInstance) SetEndTime()
- func (i *KeptnWorkloadInstance) SetStartTime()
- type KeptnWorkloadInstanceList
- type KeptnWorkloadInstanceSpec
- type KeptnWorkloadInstanceStatus
- type KeptnWorkloadList
- type KeptnWorkloadSpec
- type KeptnWorkloadStatus
- type ResourceReference
Constants ¶
This section is empty.
Variables ¶
var ( // GroupVersion is group version used to register these objects GroupVersion = schema.GroupVersion{Group: "lifecycle.keptn.sh", Version: "v1alpha3"} // SchemeBuilder is used to add go types to the GroupVersionKind scheme SchemeBuilder = &scheme.Builder{GroupVersion: GroupVersion} // AddToScheme adds the types in this group-version to the given scheme. AddToScheme = SchemeBuilder.AddToScheme )
Functions ¶
This section is empty.
Types ¶
type ItemStatus ¶
type ItemStatus struct { // name of EvaluationDefinition/TaskDefinition DefinitionName string `json:"definitionName,omitempty"` // +kubebuilder:default:=Pending Status common.KeptnState `json:"status,omitempty"` // name of 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 (i *ItemStatus) SetEndTime()
func (*ItemStatus) SetStartTime ¶
func (i *ItemStatus) SetStartTime()
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) GetWorkloadVersionName ¶
func (w KeptnWorkload) GetWorkloadVersionName() string
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) 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) IsDeploymentCompleted ¶
func (i KeptnWorkloadInstance) IsDeploymentCompleted() bool
func (KeptnWorkloadInstance) IsDeploymentFailed ¶
func (i KeptnWorkloadInstance) IsDeploymentFailed() bool
func (KeptnWorkloadInstance) IsDeploymentSucceeded ¶
func (i KeptnWorkloadInstance) IsDeploymentSucceeded() bool
func (*KeptnWorkloadInstance) IsEndTimeSet ¶
func (i *KeptnWorkloadInstance) IsEndTimeSet() bool
func (KeptnWorkloadInstance) IsPostDeploymentCompleted ¶
func (i KeptnWorkloadInstance) IsPostDeploymentCompleted() bool
func (KeptnWorkloadInstance) IsPostDeploymentEvaluationCompleted ¶
func (v KeptnWorkloadInstance) IsPostDeploymentEvaluationCompleted() bool
func (KeptnWorkloadInstance) IsPostDeploymentEvaluationFailed ¶
func (v KeptnWorkloadInstance) IsPostDeploymentEvaluationFailed() bool
func (KeptnWorkloadInstance) IsPostDeploymentEvaluationSucceeded ¶
func (v KeptnWorkloadInstance) IsPostDeploymentEvaluationSucceeded() bool
func (KeptnWorkloadInstance) IsPostDeploymentFailed ¶
func (i KeptnWorkloadInstance) IsPostDeploymentFailed() bool
func (KeptnWorkloadInstance) IsPostDeploymentSucceeded ¶
func (i KeptnWorkloadInstance) IsPostDeploymentSucceeded() bool
func (KeptnWorkloadInstance) IsPreDeploymentCompleted ¶
func (i KeptnWorkloadInstance) IsPreDeploymentCompleted() bool
func (KeptnWorkloadInstance) IsPreDeploymentEvaluationCompleted ¶
func (v KeptnWorkloadInstance) IsPreDeploymentEvaluationCompleted() bool
func (KeptnWorkloadInstance) IsPreDeploymentEvaluationFailed ¶
func (v KeptnWorkloadInstance) IsPreDeploymentEvaluationFailed() bool
func (KeptnWorkloadInstance) IsPreDeploymentEvaluationSucceeded ¶
func (v KeptnWorkloadInstance) IsPreDeploymentEvaluationSucceeded() bool
func (KeptnWorkloadInstance) IsPreDeploymentFailed ¶
func (i KeptnWorkloadInstance) IsPreDeploymentFailed() bool
func (KeptnWorkloadInstance) IsPreDeploymentSucceeded ¶
func (i KeptnWorkloadInstance) IsPreDeploymentSucceeded() bool
func (*KeptnWorkloadInstance) IsStartTimeSet ¶
func (i *KeptnWorkloadInstance) IsStartTimeSet() bool
func (*KeptnWorkloadInstance) SetEndTime ¶
func (i *KeptnWorkloadInstance) SetEndTime()
func (*KeptnWorkloadInstance) SetStartTime ¶
func (i *KeptnWorkloadInstance) SetStartTime()
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.
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"` // +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 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 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.