Documentation ¶
Overview ¶
Package subresource provides a fake client for testing subresources.
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, obj client.Object, subResource client.Object, ...) error
- func (c *Client) Get(ctx context.Context, obj client.Object, subResource client.Object, ...) error
- func (c *Client) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (c *Client) Reset()
- func (c *Client) Update(ctx context.Context, obj client.Object, opts ...client.SubResourceUpdateOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.