github

package
v0.0.0-...-da014be Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountSync

func AccountSync(ctx context.Context, client *GitHubAPI.Client, account *model.Account)

AccountSync ..

func AddEmployeeToRepository

func AddEmployeeToRepository(ctx context.Context, client *GitHubAPI.Client, account *model.Account, repository *model.Repository, user *model.User) error

AddEmployeeToRepository ..

func AddEmployeeToTeam

func AddEmployeeToTeam(team *model.Team, user *model.User, permission uint64) []error

AddEmployeeToTeam ..

func AddRepositoryToTeam

func AddRepositoryToTeam(ctx context.Context, client *GitHubAPI.Client, account *model.Account, team *model.Team, repository *model.Repository) []error

AddRepositoryToTeam ..

func NewAPIClient

func NewAPIClient(ctx context.Context, token string) *GitHubAPI.Client

NewAPIClient ..

func RemoveEmployeeFromRepository

func RemoveEmployeeFromRepository(ctx context.Context, client *GitHubAPI.Client, account *model.Account, repository *model.Repository, user *model.User) error

RemoveEmployeeFromRepository ..

func RemoveEmployeeFromTeam

func RemoveEmployeeFromTeam(team *model.Team, user *model.User) []error

RemoveEmployeeFromTeam ..

func RemoveRepositoryFromTeam

func RemoveRepositoryFromTeam(ctx context.Context, client *GitHubAPI.Client, account *model.Account, team *model.Team, repository *model.Repository) []error

RemoveRepositoryFromTeam ..

func RepositorySync

func RepositorySync(ctx context.Context, client *GitHubAPI.Client, account *model.Account, repo *model.Repository) error

RepositorySync ..

func SyncAll

func SyncAll()

SyncAll ..

func TeamSync

func TeamSync(team *model.Team, accountIndex map[uint64]*model.Account) []error

TeamSync ..

Types

This section is empty.

Jump to

Keyboard shortcuts

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