mirror of
https://github.com/lukaszraczylo/kubemirror.git
synced 2026-06-09 23:03:49 +00:00
fixup! Utilise shared workflows.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user