Skip to content

Commit

Permalink
demo controller as ut
Browse files Browse the repository at this point in the history
  • Loading branch information
WeichengWang1 committed Sep 13, 2023
1 parent dcbc2da commit ea835dc
Show file tree
Hide file tree
Showing 9 changed files with 1,027 additions and 645 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,6 @@ func (r *ReconcileAdapter) DeleteEmployer(employer client.Object, toDelete []res
return nil, nil, nil
}

func (r *ReconcileAdapter) RecordEmployer(succCreate, succUpdate, succDelete []resourceconsist.IEmployer) error {
return nil
}

func (r *ReconcileAdapter) GetExpectEmployee(ctx context.Context, employer client.Object) ([]resourceconsist.IEmployee, error) {
svc, ok := employer.(*corev1.Service)
if !ok {
Expand Down
333 changes: 0 additions & 333 deletions pkg/controllers/demoresourceconsist/demoresourceconsist_controller.go

This file was deleted.

Loading

0 comments on commit ea835dc

Please sign in to comment.