org

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: MIT Imports: 12 Imported by: 64

Documentation

Index

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 CreateLabel added in v1.12.0

func CreateLabel(ctx *context.APIContext, form api.CreateLabelOption)

CreateLabel create a label for a repository

func CreateTeam added in v1.1.0

func CreateTeam(ctx *context.APIContext, form api.CreateTeamOption)

CreateTeam api for create a team

func Delete added in v1.7.0

func Delete(ctx *context.APIContext)

Delete an organization

func DeleteHook added in v1.1.0

func DeleteHook(ctx *context.APIContext)

DeleteHook delete a hook of an organization

func DeleteLabel added in v1.12.0

func DeleteLabel(ctx *context.APIContext)

DeleteLabel delete a label for 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 EditLabel added in v1.12.0

func EditLabel(ctx *context.APIContext, form api.EditLabelOption)

EditLabel modify a label for an Organization

func EditTeam added in v1.1.0

func EditTeam(ctx *context.APIContext, form api.EditTeamOption)

EditTeam api for edit a team

func Get

func Get(ctx *context.APIContext)

Get get an organization

func GetAll added in v1.12.0

func GetAll(ctx *context.APIContext)

GetAll return list of all public organizations

func GetHook added in v1.1.0

func GetHook(ctx *context.APIContext)

GetHook get an organization's hook by id

func GetLabel added in v1.12.0

func GetLabel(ctx *context.APIContext)

GetLabel get label by organization and label id

func GetTeam added in v1.1.0

func GetTeam(ctx *context.APIContext)

GetTeam api for get a team

func GetTeamMember added in v1.8.0

func GetTeamMember(ctx *context.APIContext)

GetTeamMember api for get a particular member of team

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 ListLabels added in v1.12.0

func ListLabels(ctx *context.APIContext)

ListLabels list all the labels of an organization

func ListMembers added in v1.1.0

func ListMembers(ctx *context.APIContext)

ListMembers list an organization's members

func ListMyOrgs

func ListMyOrgs(ctx *context.APIContext)

ListMyOrgs list all my orgs

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 ListUserOrgs

func ListUserOrgs(ctx *context.APIContext)

ListUserOrgs list user's orgs

func ListUserTeams added in v1.8.0

func ListUserTeams(ctx *context.APIContext)

ListUserTeams list all the teams a user belongs to

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

func SearchTeam added in v1.10.0

func SearchTeam(ctx *context.APIContext)

SearchTeam api for searching teams

Types

This section is empty.

Jump to

Keyboard shortcuts

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