Documentation ¶
Index ¶
- func NewClient(c 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) DeleteAllOf(ctx context.Context, obj client.Object, opts ...client.DeleteAllOfOption) error
- func (c *Client) Get(ctx context.Context, key client.ObjectKey, obj client.Object, ...) error
- func (n *Client) GroupVersionKindFor(obj runtime.Object) (schema.GroupVersionKind, error)
- func (n *Client) IsObjectNamespaced(obj runtime.Object) (bool, 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 (n *Client) RESTMapper() meta.RESTMapper
- func (n *Client) Scheme() *runtime.Scheme
- func (c *Client) Status() client.StatusWriter
- func (c *Client) SubResource(subResource string) client.SubResourceClient
- func (c *Client) Update(ctx context.Context, obj client.Object, opts ...client.UpdateOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DeleteAllOf ¶
func (*Client) GroupVersionKindFor ¶
func (*Client) IsObjectNamespaced ¶
func (*Client) List ¶
func (c *Client) List(ctx context.Context, list client.ObjectList, opts ...client.ListOption) error
func (*Client) RESTMapper ¶
func (n *Client) RESTMapper() meta.RESTMapper
RESTMapper returns the scheme this client is using.
func (*Client) Status ¶
func (c *Client) Status() client.StatusWriter
func (*Client) SubResource ¶
func (c *Client) SubResource(subResource string) client.SubResourceClient
Click to show internal directories.
Click to hide internal directories.