NOTE: The following implementations can go away following https://go.dev/issue/47487. The function types above would become single-method interfaces.
(ctx context.Context, obj client.Object, opts ...client.CreateOption)
| 52 | // The function types above would become single-method interfaces. |
| 53 | |
| 54 | func (fn ClientCreate) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error { |
| 55 | return fn(ctx, obj, opts...) |
| 56 | } |
| 57 | |
| 58 | func (fn ClientDelete) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error { |
| 59 | return fn(ctx, obj, opts...) |
no outgoing calls