fixup! Utilise shared workflows.

This commit is contained in:
2025-12-25 23:20:03 +00:00
parent 7d2c113308
commit ca0cff3be3
3 changed files with 167 additions and 150 deletions
+5
View File
@@ -109,6 +109,11 @@ func (m *MockClient) SubResource(subResource string) client.SubResourceClient {
return args.Get(0).(client.SubResourceClient)
}
func (m *MockClient) Apply(ctx context.Context, obj runtime.ApplyConfiguration, opts ...client.ApplyOption) error {
args := m.Called(ctx, obj, opts)
return args.Error(0)
}
// MockNamespaceLister is a mock implementation of NamespaceLister for testing.
type MockNamespaceLister struct {
mock.Mock