MCPcopy
hub / github.com/marmotedu/iam / Delete

Method Delete

internal/apiserver/service/v1/secret.go:55–61  ·  view source on GitHub ↗
(ctx context.Context, username, secretID string, opts metav1.DeleteOptions)

Source from the content-addressed store, hash-verified

53}
54
55func (s *secretService) Delete(ctx context.Context, username, secretID string, opts metav1.DeleteOptions) error {
56 if err := s.store.Secrets().Delete(ctx, username, secretID, opts); err != nil {
57 return err
58 }
59
60 return nil
61}
62
63func (s *secretService) DeleteCollection(
64 ctx context.Context,

Callers

nothing calls this directly

Calls 2

DeleteMethod · 0.65
SecretsMethod · 0.65

Tested by

no test coverage detected