Documentation ¶
Index ¶
- type Client
- func (c *Client) Create(ctx context.Context, obj runtime.Object, opts ...client.CreateOption) error
- func (c *Client) Delete(ctx context.Context, obj runtime.Object, opts ...client.DeleteOption) error
- func (c *Client) DeleteAllOf(ctx context.Context, obj runtime.Object, opts ...client.DeleteAllOfOption) error
- func (c *Client) Get(ctx context.Context, key types.NamespacedName, obj runtime.Object) error
- func (c *Client) List(ctx context.Context, list runtime.Object, opts ...client.ListOption) error
- func (c *Client) Patch(ctx context.Context, obj runtime.Object, patch client.Patch, ...) error
- func (c *Client) Status() client.StatusWriter
- func (c *Client) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error
- type StatusClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { mock.Mock StatusMock *StatusClient }
Client is a mock for the controller-runtime dynamic client interface.
func (*Client) DeleteAllOf ¶
func (*Client) Status ¶
func (c *Client) Status() client.StatusWriter
type StatusClient ¶
func (*StatusClient) Patch ¶
func (c *StatusClient) Patch(ctx context.Context, obj runtime.Object, patch client.Patch, opts ...client.PatchOption) error
func (*StatusClient) Update ¶
func (c *StatusClient) Update(ctx context.Context, obj runtime.Object, opts ...client.UpdateOption) error
Click to show internal directories.
Click to hide internal directories.