MCPcopy Create free account
hub / github.com/bytebase/bytebase / UndeleteWorkloadIdentity

Method UndeleteWorkloadIdentity

backend/store/workload_identity.go:294–296  ·  view source on GitHub ↗

UndeleteWorkloadIdentity restores a soft-deleted workload identity.

(ctx context.Context, wi *WorkloadIdentityMessage)

Source from the content-addressed store, hash-verified

292
293// UndeleteWorkloadIdentity restores a soft-deleted workload identity.
294func (s *Store) UndeleteWorkloadIdentity(ctx context.Context, wi *WorkloadIdentityMessage) (*WorkloadIdentityMessage, error) {
295 return s.UpdateWorkloadIdentity(ctx, wi, &UpdateWorkloadIdentityMessage{Delete: new(false)})
296}

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected