Documentation ¶
Index ¶
- type GroupService
- type InvitationService
- type OrganizationService
- type PolicyService
- type ProjectService
- type ResourceService
- type RoleService
- type Service
- func (d Service) DeleteOrganization(ctx context.Context, id string) error
- func (d Service) DeleteProject(ctx context.Context, id string) error
- func (d Service) DeleteUser(ctx context.Context, userID string) error
- func (d Service) RemoveUsersFromOrg(ctx context.Context, orgID string, userIDs []string) error
- type UserService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupService ¶
type InvitationService ¶
type InvitationService interface { List(ctx context.Context, flt invitation.Filter) ([]invitation.Invitation, error) Delete(ctx context.Context, id uuid.UUID) error }
type OrganizationService ¶
type OrganizationService interface { Get(ctx context.Context, id string) (organization.Organization, error) DeleteModel(ctx context.Context, id string) error RemoveUsers(ctx context.Context, orgID string, userIDs []string) error ListByUser(ctx context.Context, userID string, f organization.Filter) ([]organization.Organization, error) }
type PolicyService ¶
type ProjectService ¶
type ResourceService ¶
type RoleService ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func NewCascadeDeleter ¶
func NewCascadeDeleter(orgService OrganizationService, projService ProjectService, resService ResourceService, groupService GroupService, policyService PolicyService, roleService RoleService, invitationService InvitationService, userService UserService) *Service
func (Service) DeleteOrganization ¶
func (Service) DeleteUser ¶ added in v0.7.6
Click to show internal directories.
Click to hide internal directories.