Delete deletes a CAS backend from the DB
(ctx context.Context, id uuid.UUID)
| 337 | |
| 338 | // Delete deletes a CAS backend from the DB |
| 339 | func (r *CASBackendRepo) Delete(ctx context.Context, id uuid.UUID) error { |
| 340 | ctx, span := otelx.Start(ctx, casBackendRepoTracer, "CASBackendRepo.Delete") |
| 341 | defer span.End() |
| 342 | |
| 343 | return r.data.DB.CASBackend.DeleteOneID(id).Exec(ctx) |
| 344 | } |
| 345 | |
| 346 | // UpdateValidationStatus updates the validation status of a CAS backend |
| 347 | func (r *CASBackendRepo) UpdateValidationStatus(ctx context.Context, id uuid.UUID, status biz.CASBackendValidationStatus, validationError *string) error { |
nothing calls this directly
no test coverage detected