Documentation ¶
Index ¶
- func NewPhysicalPluginClientFactory(delegate client.NewClientFunc) client.NewClientFunc
- func NewPluginClient(virtual bool, delegate client.NewClientFunc) client.NewClientFunc
- func NewVirtualPluginClientFactory(delegate client.NewClientFunc) client.NewClientFunc
- func WrapPhysicalClient(delegate client.Client) client.Client
- func WrapVirtualClient(delegate client.Client) client.Client
- type Client
- func (c *Client) Create(ctx context.Context, obj client.Object, opts ...client.CreateOption) error
- func (c *Client) Delete(ctx context.Context, obj client.Object, opts ...client.DeleteOption) error
- func (c *Client) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (c *Client) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
- func (c *Client) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (c *Client) Status() client.StatusWriter
- func (c *Client) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
- type StatusClient
- func (c *StatusClient) Create(ctx context.Context, obj client.Object, subResource client.Object, ...) error
- func (c *StatusClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, ...) error
- func (c *StatusClient) Update(ctx context.Context, obj client.Object, opts ...client.SubResourceUpdateOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPhysicalPluginClientFactory ¶
func NewPhysicalPluginClientFactory(delegate client.NewClientFunc) client.NewClientFunc
func NewPluginClient ¶
func NewPluginClient(virtual bool, delegate client.NewClientFunc) client.NewClientFunc
func NewVirtualPluginClientFactory ¶
func NewVirtualPluginClientFactory(delegate client.NewClientFunc) client.NewClientFunc
Types ¶
type Client ¶
Client makes sure that the Create/Update/Patch/Delete functions block until the local cache is updated
func (*Client) List ¶
func (c *Client) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
func (*Client) Status ¶
func (c *Client) Status() client.StatusWriter
type StatusClient ¶
StatusClient makes sure that the Update/Patch functions will be mutated if hooks exist
func (*StatusClient) Create ¶ added in v0.14.0
func (c *StatusClient) Create(ctx context.Context, obj client.Object, subResource client.Object, opts ...client.SubResourceCreateOption) error
func (*StatusClient) Patch ¶
func (c *StatusClient) Patch(ctx context.Context, obj client.Object, patch client.Patch, opts ...client.SubResourcePatchOption) error
func (*StatusClient) Update ¶
func (c *StatusClient) Update(ctx context.Context, obj client.Object, opts ...client.SubResourceUpdateOption) error
Click to show internal directories.
Click to hide internal directories.