MCPcopy Index your code
hub / github.com/helm/helm / Update

Method Update

pkg/action/lazyclient.go:143–148  ·  view source on GitHub ↗
(ctx context.Context, configMap *v1.ConfigMap, opts metav1.UpdateOptions)

Source from the content-addressed store, hash-verified

141}
142
143func (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
150func (c *configMapClient) Delete(ctx context.Context, name string, opts metav1.DeleteOptions) error {
151 if err := c.init(); err != nil {

Callers

nothing calls this directly

Calls 2

UpdateMethod · 0.65
initMethod · 0.45

Tested by

no test coverage detected