mirror of
https://github.com/lukaszraczylo/jobs-manager-operator.git
synced 2026-10-19 06:18:15 +00:00
chore(deps): update Go modules to latest
Update k8s libraries to v0.37.1 and controller-runtime to v0.25.2. Pin kube-openapi to the version that k8s v0.37.1 requires. Add the new Apply method to the test status writer mock.
This commit is contained in:
@@ -366,6 +366,10 @@ func (m *MockStatusWriter) Patch(ctx context.Context, obj client.Object, patch c
|
||||
return m.client.Patch(ctx, obj, patch)
|
||||
}
|
||||
|
||||
func (m *MockStatusWriter) Apply(ctx context.Context, obj runtime.ApplyConfiguration, opts ...client.SubResourceApplyOption) error {
|
||||
return nil
|
||||
}
|
||||
|
||||
// Helper to add test data
|
||||
func (m *MockClient) AddManagedJob(mj *jobsmanagerv1beta1.ManagedJob) {
|
||||
m.mu.Lock()
|
||||
|
||||
Reference in New Issue
Block a user