github

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTeamPermissionToRepository

func AddTeamPermissionToRepository(config *types.GithubConfig, TeamName string, Repository string, Permission string) error

func GetAllRepository added in v0.2.0

func GetAllRepository(config *types.GithubConfig) ([]*github.Repository, error)

func GetCollaboratorsForRepository added in v0.2.0

func GetCollaboratorsForRepository(config *types.GithubConfig, RepositoryName string) ([]*github.User, error)

func GetTeamID added in v0.2.0

func GetTeamID(config *types.GithubConfig, TeamName string) (int64, error)

func GetTeams

func GetTeams(config *types.GithubConfig) ([]*github.Team, error)

func GetTeamsForRepository added in v0.2.0

func GetTeamsForRepository(config *types.GithubConfig, repoName string) ([]*github.Team, error)

func Login added in v0.2.0

func Login(ctx context.Context, token string) *github.Client

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.

Jump to

Keyboard shortcuts

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