Documentation ¶
Index ¶
- func AddTeamMember(ctx *context.APIContext)
- func AddTeamRepository(ctx *context.APIContext)
- func ConcealMember(ctx *context.APIContext)
- func Create(ctx *context.APIContext, form api.CreateOrgOption)
- func CreateHook(ctx *context.APIContext, form api.CreateHookOption)
- func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption)
- func Delete(ctx *context.APIContext)
- func DeleteHook(ctx *context.APIContext)
- func DeleteMember(ctx *context.APIContext)
- func DeleteTeam(ctx *context.APIContext)
- func Edit(ctx *context.APIContext, form api.EditOrgOption)
- func EditHook(ctx *context.APIContext, form api.EditHookOption)
- func EditTeam(ctx *context.APIContext, form api.EditTeamOption)
- func Get(ctx *context.APIContext)
- func GetHook(ctx *context.APIContext)
- func GetTeam(ctx *context.APIContext)
- func GetTeamMembers(ctx *context.APIContext)
- func GetTeamRepos(ctx *context.APIContext)
- func IsMember(ctx *context.APIContext)
- func IsPublicMember(ctx *context.APIContext)
- func ListHooks(ctx *context.APIContext)
- func ListMembers(ctx *context.APIContext)
- func ListMyOrgs(ctx *context.APIContext)
- func ListPublicMembers(ctx *context.APIContext)
- func ListTeams(ctx *context.APIContext)
- func ListUserOrgs(ctx *context.APIContext)
- func PublicizeMember(ctx *context.APIContext)
- func RemoveTeamMember(ctx *context.APIContext)
- func RemoveTeamRepository(ctx *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddTeamMember ¶ added in v1.1.0
func AddTeamMember(ctx *context.APIContext)
AddTeamMember api for add a member to a team
func AddTeamRepository ¶ added in v1.1.0
func AddTeamRepository(ctx *context.APIContext)
AddTeamRepository api for adding a repository to a team
func ConcealMember ¶ added in v1.1.0
func ConcealMember(ctx *context.APIContext)
ConcealMember make a member's membership not public
func Create ¶ added in v1.7.0
func Create(ctx *context.APIContext, form api.CreateOrgOption)
Create api for create organization
func CreateHook ¶ added in v1.1.0
func CreateHook(ctx *context.APIContext, form api.CreateHookOption)
CreateHook create a hook for an organization
func CreateTeam ¶ added in v1.1.0
func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption)
CreateTeam api for create a team
func DeleteHook ¶ added in v1.1.0
func DeleteHook(ctx *context.APIContext)
DeleteHook delete a hook of an organization
func DeleteMember ¶ added in v1.1.0
func DeleteMember(ctx *context.APIContext)
DeleteMember remove a member from an organization
func DeleteTeam ¶ added in v1.1.0
func DeleteTeam(ctx *context.APIContext)
DeleteTeam api for delete a team
func Edit ¶
func Edit(ctx *context.APIContext, form api.EditOrgOption)
Edit change an organization's information
func EditHook ¶ added in v1.1.0
func EditHook(ctx *context.APIContext, form api.EditHookOption)
EditHook modify a hook of a repository
func EditTeam ¶ added in v1.1.0
func EditTeam(ctx *context.APIContext, form api.EditTeamOption)
EditTeam api for edit a team
func GetHook ¶ added in v1.1.0
func GetHook(ctx *context.APIContext)
GetHook get an organization's hook by id
func GetTeamMembers ¶ added in v1.1.0
func GetTeamMembers(ctx *context.APIContext)
GetTeamMembers api for get a team's members
func GetTeamRepos ¶ added in v1.1.0
func GetTeamRepos(ctx *context.APIContext)
GetTeamRepos api for get a team's repos
func IsMember ¶ added in v1.1.0
func IsMember(ctx *context.APIContext)
IsMember check if a user is a member of an organization
func IsPublicMember ¶ added in v1.1.0
func IsPublicMember(ctx *context.APIContext)
IsPublicMember check if a user is a public member of an organization
func ListHooks ¶ added in v1.1.0
func ListHooks(ctx *context.APIContext)
ListHooks list an organziation's webhooks
func ListMembers ¶ added in v1.1.0
func ListMembers(ctx *context.APIContext)
ListMembers list an organization's members
func ListPublicMembers ¶ added in v1.1.0
func ListPublicMembers(ctx *context.APIContext)
ListPublicMembers list an organization's public members
func ListTeams ¶
func ListTeams(ctx *context.APIContext)
ListTeams list all the teams of an organization
func PublicizeMember ¶ added in v1.1.0
func PublicizeMember(ctx *context.APIContext)
PublicizeMember make a member's membership public
func RemoveTeamMember ¶ added in v1.1.0
func RemoveTeamMember(ctx *context.APIContext)
RemoveTeamMember api for remove one member from a team
func RemoveTeamRepository ¶ added in v1.1.0
func RemoveTeamRepository(ctx *context.APIContext)
RemoveTeamRepository api for removing a repository from a team
Types ¶
This section is empty.