MCPcopy
hub / github.com/helm/helm / Delete

Method Delete

pkg/action/lazyclient.go:150–155  ·  view source on GitHub ↗
(ctx context.Context, name string, opts metav1.DeleteOptions)

Source from the content-addressed store, hash-verified

148}
149
150func (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
157func (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

Calls 2

DeleteMethod · 0.65
initMethod · 0.45

Tested by

no test coverage detected