Documentation ¶
Index ¶
- func AddTeamMember(ctx *context.APIContext)
- func AddTeamRepository(ctx *context.APIContext)
- func BlockUser(ctx *context.APIContext)
- func CheckUserBlock(ctx *context.APIContext)
- func ConcealMember(ctx *context.APIContext)
- func Create(ctx *context.APIContext)
- func CreateHook(ctx *context.APIContext)
- func CreateLabel(ctx *context.APIContext)
- func CreateTeam(ctx *context.APIContext)
- func Delete(ctx *context.APIContext)
- func DeleteAvatar(ctx *context.APIContext)
- func DeleteHook(ctx *context.APIContext)
- func DeleteLabel(ctx *context.APIContext)
- func DeleteMember(ctx *context.APIContext)
- func DeleteTeam(ctx *context.APIContext)
- func Edit(ctx *context.APIContext)
- func EditHook(ctx *context.APIContext)
- func EditLabel(ctx *context.APIContext)
- func EditTeam(ctx *context.APIContext)
- func Get(ctx *context.APIContext)
- func GetAll(ctx *context.APIContext)
- func GetHook(ctx *context.APIContext)
- func GetLabel(ctx *context.APIContext)
- func GetTeam(ctx *context.APIContext)
- func GetTeamMember(ctx *context.APIContext)
- func GetTeamMembers(ctx *context.APIContext)
- func GetTeamRepo(ctx *context.APIContext)
- func GetTeamRepos(ctx *context.APIContext)
- func GetUserOrgsPermissions(ctx *context.APIContext)
- func IsMember(ctx *context.APIContext)
- func IsPublicMember(ctx *context.APIContext)
- func ListBlocks(ctx *context.APIContext)
- func ListHooks(ctx *context.APIContext)
- func ListLabels(ctx *context.APIContext)
- func ListMembers(ctx *context.APIContext)
- func ListMyOrgs(ctx *context.APIContext)
- func ListOrgActivityFeeds(ctx *context.APIContext)
- func ListPublicMembers(ctx *context.APIContext)
- func ListTeamActivityFeeds(ctx *context.APIContext)
- func ListTeams(ctx *context.APIContext)
- func ListUserOrgs(ctx *context.APIContext)
- func ListUserTeams(ctx *context.APIContext)
- func NewAction() actions_service.API
- func PublicizeMember(ctx *context.APIContext)
- func RemoveTeamMember(ctx *context.APIContext)
- func RemoveTeamRepository(ctx *context.APIContext)
- func SearchTeam(ctx *context.APIContext)
- func UnblockUser(ctx *context.APIContext)
- func UpdateAvatar(ctx *context.APIContext)
- type Action
- func (Action) CreateOrUpdateSecret(ctx *context.APIContext)
- func (Action) CreateVariable(ctx *context.APIContext)
- func (Action) DeleteSecret(ctx *context.APIContext)
- func (Action) DeleteVariable(ctx *context.APIContext)
- func (Action) GetRegistrationToken(ctx *context.APIContext)
- func (Action) GetVariable(ctx *context.APIContext)
- func (Action) ListActionsSecrets(ctx *context.APIContext)
- func (Action) ListVariables(ctx *context.APIContext)
- func (Action) UpdateVariable(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 BlockUser ¶ added in v1.22.0
func BlockUser(ctx *context.APIContext)
func CheckUserBlock ¶ added in v1.22.0
func CheckUserBlock(ctx *context.APIContext)
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)
Create api for create organization
func CreateHook ¶ added in v1.1.0
func CreateHook(ctx *context.APIContext)
CreateHook create a hook for an organization
func CreateLabel ¶ added in v1.12.0
func CreateLabel(ctx *context.APIContext)
CreateLabel create a label for a repository
func CreateTeam ¶ added in v1.1.0
func CreateTeam(ctx *context.APIContext)
CreateTeam api for create a team
func DeleteAvatar ¶ added in v1.21.0
func DeleteAvatar(ctx *context.APIContext)
DeleteAvatar deletes the Avatar of an Organisation
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 EditHook ¶ added in v1.1.0
func EditHook(ctx *context.APIContext)
EditHook modify a hook of an organization
func EditLabel ¶ added in v1.12.0
func EditLabel(ctx *context.APIContext)
EditLabel modify a label for 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 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 GetTeamRepo ¶ added in v1.17.0
func GetTeamRepo(ctx *context.APIContext)
GetTeamRepo api for get a particular repo of team
func GetTeamRepos ¶ added in v1.1.0
func GetTeamRepos(ctx *context.APIContext)
GetTeamRepos api for get a team's repos
func GetUserOrgsPermissions ¶ added in v1.16.0
func GetUserOrgsPermissions(ctx *context.APIContext)
GetUserOrgsPermissions get user permissions in organization
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 ListBlocks ¶ added in v1.22.0
func ListBlocks(ctx *context.APIContext)
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 ListOrgActivityFeeds ¶ added in v1.20.0
func ListOrgActivityFeeds(ctx *context.APIContext)
func ListPublicMembers ¶ added in v1.1.0
func ListPublicMembers(ctx *context.APIContext)
ListPublicMembers list an organization's public members
func ListTeamActivityFeeds ¶ added in v1.20.0
func ListTeamActivityFeeds(ctx *context.APIContext)
func ListTeams ¶
func ListTeams(ctx *context.APIContext)
ListTeams list all the teams of an organization
func ListUserTeams ¶ added in v1.8.0
func ListUserTeams(ctx *context.APIContext)
ListUserTeams list all the teams a user belongs to
func NewAction ¶ added in v1.22.0
func NewAction() actions_service.API
NewAction creates a new Action service
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
func UnblockUser ¶ added in v1.22.0
func UnblockUser(ctx *context.APIContext)
func UpdateAvatar ¶ added in v1.21.0
func UpdateAvatar(ctx *context.APIContext)
UpdateAvatarupdates the Avatar of an Organisation
Types ¶
type Action ¶ added in v1.22.0
type Action struct{}
Action implements actions_service.API
func (Action) CreateOrUpdateSecret ¶ added in v1.22.0
func (Action) CreateOrUpdateSecret(ctx *context.APIContext)
create or update one secret of the organization
func (Action) CreateVariable ¶ added in v1.22.0
func (Action) CreateVariable(ctx *context.APIContext)
CreateVariable create an org-level variable
func (Action) DeleteSecret ¶ added in v1.22.0
func (Action) DeleteSecret(ctx *context.APIContext)
DeleteSecret delete one secret of the organization
func (Action) DeleteVariable ¶ added in v1.22.0
func (Action) DeleteVariable(ctx *context.APIContext)
DeleteVariable delete an org-level variable
func (Action) GetRegistrationToken ¶ added in v1.22.0
func (Action) GetRegistrationToken(ctx *context.APIContext)
https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#create-a-registration-token-for-an-organization GetRegistrationToken returns the token to register org runners
func (Action) GetVariable ¶ added in v1.22.0
func (Action) GetVariable(ctx *context.APIContext)
GetVariable get an org-level variable
func (Action) ListActionsSecrets ¶ added in v1.22.0
func (Action) ListActionsSecrets(ctx *context.APIContext)
ListActionsSecrets list an organization's actions secrets
func (Action) ListVariables ¶ added in v1.22.0
func (Action) ListVariables(ctx *context.APIContext)
ListVariables list org-level variables
func (Action) UpdateVariable ¶ added in v1.22.0
func (Action) UpdateVariable(ctx *context.APIContext)
UpdateVariable update an org-level variable