(ctx context.Context, configMap *v1.ConfigMap, opts metav1.UpdateOptions)
| 141 | } |
| 142 | |
| 143 | func (c *configMapClient) Update(ctx context.Context, configMap *v1.ConfigMap, opts metav1.UpdateOptions) (*v1.ConfigMap, error) { |
| 144 | if err := c.init(); err != nil { |
| 145 | return nil, err |
| 146 | } |
| 147 | return c.client.CoreV1().ConfigMaps(c.namespace).Update(ctx, configMap, opts) |
| 148 | } |
| 149 | |
| 150 | func (c *configMapClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error { |
| 151 | if err := c.init(); err != nil { |