Documentation ¶
Index ¶
- func AccountSync(ctx context.Context, client *GitHubAPI.Client, account *model.Account)
- func AddEmployeeToRepository(ctx context.Context, client *GitHubAPI.Client, account *model.Account, ...) error
- func AddEmployeeToTeam(team *model.Team, user *model.User, permission uint64) []error
- func AddRepositoryToTeam(ctx context.Context, client *GitHubAPI.Client, account *model.Account, ...) []error
- func NewAPIClient(ctx context.Context, token string) *GitHubAPI.Client
- func RemoveEmployeeFromRepository(ctx context.Context, client *GitHubAPI.Client, account *model.Account, ...) error
- func RemoveEmployeeFromTeam(team *model.Team, user *model.User) []error
- func RemoveRepositoryFromTeam(ctx context.Context, client *GitHubAPI.Client, account *model.Account, ...) []error
- func RepositorySync(ctx context.Context, client *GitHubAPI.Client, account *model.Account, ...) error
- func SyncAll()
- func TeamSync(team *model.Team, accountIndex map[uint64]*model.Account) []error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AccountSync ¶
AccountSync ..
func AddEmployeeToRepository ¶
func AddEmployeeToRepository(ctx context.Context, client *GitHubAPI.Client, account *model.Account, repository *model.Repository, user *model.User) error
AddEmployeeToRepository ..
func AddEmployeeToTeam ¶
AddEmployeeToTeam ..
func AddRepositoryToTeam ¶
func AddRepositoryToTeam(ctx context.Context, client *GitHubAPI.Client, account *model.Account, team *model.Team, repository *model.Repository) []error
AddRepositoryToTeam ..
func NewAPIClient ¶
NewAPIClient ..
func RemoveEmployeeFromRepository ¶
func RemoveEmployeeFromRepository(ctx context.Context, client *GitHubAPI.Client, account *model.Account, repository *model.Repository, user *model.User) error
RemoveEmployeeFromRepository ..
func RemoveEmployeeFromTeam ¶
RemoveEmployeeFromTeam ..
func RemoveRepositoryFromTeam ¶
func RemoveRepositoryFromTeam(ctx context.Context, client *GitHubAPI.Client, account *model.Account, team *model.Team, repository *model.Repository) []error
RemoveRepositoryFromTeam ..
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.