Skip to content

Commit

Permalink
Add PoolManagerController mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaelabalutoiu committed Sep 1, 2022
1 parent b74b829 commit 3094ad0
Show file tree
Hide file tree
Showing 2 changed files with 170 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runner/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import (
"garm/runner/common"
)

//go:generate mockery --name=PoolManagerController

type PoolManagerController interface {
CreateRepoPoolManager(ctx context.Context, repo params.Repository, providers map[string]common.Provider, store dbCommon.Store) (common.PoolManager, error)
GetRepoPoolManager(repo params.Repository) (common.PoolManager, error)
Expand Down
168 changes: 168 additions & 0 deletions runner/mocks/poolManagerController.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3094ad0

Please sign in to comment.