org

package
v0.19.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

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

func RenameOrganization(ctx context.Context, org *org_model.Organization, newName string) error

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL