Provisioning: add most mocks to unit test provisioning jobs (#103446)

* Use interface for factories

* Add most mocks to unit test jobs

* Generate more mocks for main jobs package

* Interface for parser

* Use clients directly without parser

* Regenerate mock

* Eliminate resource clients from Parser

* Interface for folder tree
This commit is contained in:
Roberto Jiménez Sánchez
2025-04-04 15:42:20 +03:00
committed by GitHub
parent 5465abd5a1
commit 364247e26b
45 changed files with 3025 additions and 112 deletions
@@ -29,7 +29,7 @@ const CleanFinalizer = "cleanup"
type finalizer struct {
lister resources.ResourceLister
clientFactory *resources.ClientFactory
clientFactory resources.ClientFactory
}
func (f *finalizer) process(ctx context.Context,