Skip to content

feat(backup): support recurring and ondemand full backup

codefactor.io / CodeFactor failed Jun 26, 2024 in 6s

3 issues fixed. 5 issues found.

Annotations

Check notice on line 420 in datastore/longhorn.go

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

datastore/longhorn.go#L275-L420

Complex Method

Check notice on line 1680 in api/model.go

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

api/model.go#L1349-L1680

Complex Method

Check notice on line 176 in app/recurring_job.go

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

app/recurring_job.go#L84-L176

Complex Method

Check warning on line 492 in controller/backup_controller.go

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

controller/backup_controller.go#L218-L492

Very Complex Method

Check notice on line 780 in controller/backup_controller.go

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

controller/backup_controller.go#L687-L780

Complex Method