mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-03 06:44:50 -04:00
deps: update K8s dependencies (#766)
Co-authored-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
0e35649724
commit
35a58316f4
12 changed files with 244 additions and 274 deletions
|
@ -165,14 +165,19 @@ func (c *stubReadWriterClient) Status() client.StatusWriter {
|
|||
}
|
||||
|
||||
type stubStatusWriter struct {
|
||||
createErr error
|
||||
updateErr error
|
||||
patchErr error
|
||||
}
|
||||
|
||||
func (w *stubStatusWriter) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error {
|
||||
func (w *stubStatusWriter) Create(ctx context.Context, obj client.Object, subResource client.Object, opts ...client.SubResourceCreateOption) error {
|
||||
return w.createErr
|
||||
}
|
||||
|
||||
func (w *stubStatusWriter) Update(ctx context.Context, obj client.Object, opts ...client.SubResourceUpdateOption) error {
|
||||
return w.updateErr
|
||||
}
|
||||
|
||||
func (w *stubStatusWriter) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.PatchOption) error {
|
||||
func (w *stubStatusWriter) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.SubResourcePatchOption) error {
|
||||
return w.patchErr
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue