Documentation ¶
Index ¶
- func CreateTeamInvite(ctx context.Context, inviter *user_model.User, team *org_model.Team, ...) error
- func DeleteOrganization(org *org_model.Organization) error
- func RenameOrganization(ctx context.Context, org *org_model.Organization, newName string) error
- func TeamAddRepository(t *organization.Team, repo *repo_model.Repository) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateTeamInvite ¶
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 ¶
func DeleteOrganization(org *org_model.Organization) error
DeleteOrganization completely and permanently deletes everything of organization.
func RenameOrganization ¶
RenameOrganization renames an organization.
func TeamAddRepository ¶
func TeamAddRepository(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.