feat(managed-job): add update job method

This commit is contained in:
2024-12-01 02:05:49 +03:30
parent ac8453bb57
commit fb646086b0
7 changed files with 29 additions and 6 deletions

View File

@@ -24,3 +24,7 @@ func NewManagedJob(client *api.Client, db *buntdb.DB, def v1alpha1.FlinkJob) *Ma
job.startCycle()
return job
}
func (job *ManagedJob) Update(def v1alpha1.FlinkJob) {
job.def = def
}