Documentation ¶
Index ¶
- func CreateTeamInvite(ctx context.Context, inviter *user_model.User, team *org_model.Team, ...) error
- func DeleteOrganization(ctx context.Context, org *org_model.Organization, purge bool) error
- func TeamAddRepository(ctx context.Context, t *organization.Team, repo *repo_model.Repository) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTeamInvite ¶ added in v1.17.4
func CreateTeamInvite(ctx context.Context, inviter *user_model.User, team *org_model.Team, uname string) error
CreateTeamInvite make a persistent invite in db and mail it
func DeleteOrganization ¶
DeleteOrganization completely and permanently deletes everything of organization.
func TeamAddRepository ¶ added in v1.17.4
func TeamAddRepository(ctx context.Context, t *organization.Team, repo *repo_model.Repository) (err error)
TeamAddRepository adds new repository to team of organization.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.