Method
Delete
(ctx context.Context, name string, opts metav1.DeleteOptions)
Source from the content-addressed store, hash-verified
| 148 | } |
| 149 | |
| 150 | func (c *configMapClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error { |
| 151 | if err := c.init(); err != nil { |
| 152 | return err |
| 153 | } |
| 154 | return c.client.CoreV1().ConfigMaps(c.namespace).Delete(ctx, name, opts) |
| 155 | } |
| 156 | |
| 157 | func (c *configMapClient) DeleteCollection(ctx context.Context, opts metav1.DeleteOptions, listOpts metav1.ListOptions) error { |
| 158 | if err := c.init(); err != nil { |
Callers
nothing calls this directly
Tested by
no test coverage detected