Documentation
¶
Index ¶
- Variables
- type Membership
- type Repository
- func (Repository) CancelExecutions(ctx context.Context, tx postgres.DBTX, userID int32) error
- func (Repository) Complete(ctx context.Context, tx postgres.DBTX, requestID int) (Request, error)
- func (Repository) CreateRequest(ctx context.Context, tx postgres.DBTX, userID int32, request slug.Slug) (Request, error)
- func (Repository) DeleteMFAChallenges(ctx context.Context, tx postgres.DBTX, userID int32) error
- func (Repository) DeleteMemberships(ctx context.Context, tx postgres.DBTX, userID int32) error
- func (Repository) DeletePATs(ctx context.Context, tx postgres.DBTX, userID int32) error
- func (Repository) Fail(ctx context.Context, tx postgres.DBTX, request slug.Slug) error
- func (Repository) FindRequest(ctx context.Context, tx postgres.DBTX, userID int32) (Request, error)
- func (Repository) HardDelete(ctx context.Context, tx postgres.DBTX, subject Subject) error
- func (Repository) HasOtherAdmin(ctx context.Context, tx postgres.DBTX, org slug.Slug, userID int32) (bool, error)
- func (Repository) HasOtherMember(ctx context.Context, tx postgres.DBTX, org slug.Slug, userID int32) (bool, error)
- func (Repository) LegacyProcessingPending(ctx context.Context, tx postgres.DBTX, userID int32) (bool, error)
- func (Repository) LockJobs(ctx context.Context, tx postgres.DBTX, user slug.Slug) ([]int, error)
- func (Repository) LockOrganizations(ctx context.Context, tx postgres.DBTX, userID int32) ([]Membership, error)
- func (Repository) LockRequest(ctx context.Context, tx postgres.DBTX, request slug.Slug) (Request, error)
- func (Repository) LockSubject(ctx context.Context, tx postgres.DBTX, user slug.Slug) (Subject, error)
- func (Repository) LockSubjectByID(ctx context.Context, tx postgres.DBTX, userID int32) (Subject, error)
- func (Repository) ProcessingPending(ctx context.Context, tx postgres.DBTX, subject Subject) (bool, error)
- func (Repository) Revoke(ctx context.Context, tx postgres.DBTX, userID int32) error
- func (Repository) RevokePendingInvitations(ctx context.Context, tx postgres.DBTX, email string) error
- type Request
- type Subject
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotFound = xerror.New(xerror.KindNotFound, "ACCOUNT_CLOSURE_NOT_FOUND", "account closure subject or request not found")
Functions ¶
This section is empty.
Types ¶
type Repository ¶
type Repository struct{}
func (Repository) CancelExecutions ¶
func (Repository) CreateRequest ¶
func (Repository) DeleteMFAChallenges ¶
func (Repository) DeleteMemberships ¶
func (Repository) DeletePATs ¶
func (Repository) FindRequest ¶
func (Repository) HardDelete ¶
func (Repository) HasOtherAdmin ¶
func (Repository) HasOtherMember ¶
func (Repository) LegacyProcessingPending ¶
func (Repository) LockOrganizations ¶
func (Repository) LockOrganizations(ctx context.Context, tx postgres.DBTX, userID int32) ([]Membership, error)
func (Repository) LockRequest ¶
func (Repository) LockSubject ¶
func (Repository) LockSubjectByID ¶
func (Repository) ProcessingPending ¶
func (Repository) RevokePendingInvitations ¶
Click to show internal directories.
Click to hide internal directories.