Documentation ¶
Index ¶
- func AddTeamPermissionToRepository(config *types.GithubConfig, TeamName string, Repository string, ...) error
- func GetAllRepository(config *types.GithubConfig) ([]*github.Repository, error)
- func GetCollaboratorsForRepository(config *types.GithubConfig, RepositoryName string) ([]*github.User, error)
- func GetTeamID(config *types.GithubConfig, TeamName string) (int64, error)
- func GetTeams(config *types.GithubConfig) ([]*github.Team, error)
- func GetTeamsForRepository(config *types.GithubConfig, repoName string) ([]*github.Team, error)
- func Login(ctx context.Context, token string) *github.Client
- func RemoveCollaboratorPermissionToRepository(config *types.GithubConfig, RepositoryName string, CollaborateurName string) error
- func RemoveTeamPermissionToRepository(config *types.GithubConfig, RepositoryName string, TeamName string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAllRepository ¶ added in v0.2.0
func GetAllRepository(config *types.GithubConfig) ([]*github.Repository, error)
func GetCollaboratorsForRepository ¶ added in v0.2.0
func GetTeamID ¶ added in v0.2.0
func GetTeamID(config *types.GithubConfig, TeamName string) (int64, error)
func GetTeamsForRepository ¶ added in v0.2.0
func RemoveCollaboratorPermissionToRepository ¶ added in v0.2.0
func RemoveCollaboratorPermissionToRepository(config *types.GithubConfig, RepositoryName string, CollaborateurName string) error
func RemoveTeamPermissionToRepository ¶ added in v0.2.0
func RemoveTeamPermissionToRepository(config *types.GithubConfig, RepositoryName string, TeamName string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.