Documentation ¶
Index ¶
- Constants
- func DoesNotContainFinalizer(resource client.Object, finalizer string) bool
- func FinalizersAreDeleted(resource client.Object, finalizers []string) bool
- func FinalizersAreMissing(resource client.Object, finalizers []string) bool
- func GetCondition(obj *unstructured.Unstructured, conditionType clusterv1.ConditionType) *clusterv1.Condition
- func GetPipelineCompletedConditionStatus(obj *unstructured.Unstructured) v1.ConditionStatus
- func GetResourceNames(items []unstructured.Unstructured) []string
- func HasCondition(obj *unstructured.Unstructured, conditionType clusterv1.ConditionType) bool
- func IsPromiseMarkedAsUnavailable(obj *unstructured.Unstructured) bool
- func IsThereAPipelineRunning(logger logr.Logger, jobs []batchv1.Job) bool
- func MarkPipelineAsCompleted(logger logr.Logger, obj *unstructured.Unstructured)
- func MarkPipelineAsRunning(logger logr.Logger, obj *unstructured.Unstructured)
- func MarkPromiseConditionAsAvailable(obj *unstructured.Unstructured, logger logr.Logger)
- func MarkPromiseConditionAsNotAvailable(obj *unstructured.Unstructured, logger logr.Logger)
- func PipelineWithDesiredSpecExists(logger logr.Logger, obj *unstructured.Unstructured, jobs []batchv1.Job) (*batchv1.Job, error)
- func SetCondition(obj *unstructured.Unstructured, condition *clusterv1.Condition)
- func SetStatus(rr *unstructured.Unstructured, logger logr.Logger, statuses ...string)
- func SortJobsByCreationDateTime(jobs []batchv1.Job) []batchv1.Job
- func SuspendablePipelines(logger logr.Logger, jobs []batchv1.Job) []batchv1.Job
Constants ¶
View Source
const ( PipelineCompletedCondition = clusterv1.ConditionType("PipelineCompleted") ManualReconciliationLabel = "kratix.io/manual-reconciliation" )
Variables ¶
This section is empty.
Functions ¶
func DoesNotContainFinalizer ¶
func FinalizersAreDeleted ¶
func FinalizersAreMissing ¶
func GetCondition ¶
func GetCondition(obj *unstructured.Unstructured, conditionType clusterv1.ConditionType) *clusterv1.Condition
func GetPipelineCompletedConditionStatus ¶
func GetPipelineCompletedConditionStatus(obj *unstructured.Unstructured) v1.ConditionStatus
func GetResourceNames ¶
func GetResourceNames(items []unstructured.Unstructured) []string
func HasCondition ¶
func HasCondition(obj *unstructured.Unstructured, conditionType clusterv1.ConditionType) bool
func IsPromiseMarkedAsUnavailable ¶ added in v0.1.0
func IsPromiseMarkedAsUnavailable(obj *unstructured.Unstructured) bool
func IsThereAPipelineRunning ¶
func MarkPipelineAsCompleted ¶
func MarkPipelineAsCompleted(logger logr.Logger, obj *unstructured.Unstructured)
func MarkPipelineAsRunning ¶
func MarkPipelineAsRunning(logger logr.Logger, obj *unstructured.Unstructured)
func MarkPromiseConditionAsAvailable ¶ added in v0.1.0
func MarkPromiseConditionAsAvailable(obj *unstructured.Unstructured, logger logr.Logger)
func MarkPromiseConditionAsNotAvailable ¶ added in v0.1.0
func MarkPromiseConditionAsNotAvailable(obj *unstructured.Unstructured, logger logr.Logger)
func PipelineWithDesiredSpecExists ¶
func PipelineWithDesiredSpecExists(logger logr.Logger, obj *unstructured.Unstructured, jobs []batchv1.Job) (*batchv1.Job, error)
func SetCondition ¶
func SetCondition(obj *unstructured.Unstructured, condition *clusterv1.Condition)
func SetStatus ¶
func SetStatus(rr *unstructured.Unstructured, logger logr.Logger, statuses ...string)
func SortJobsByCreationDateTime ¶ added in v0.44.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.