Documentation
¶
Index ¶
- func AddPinnedRepo(ctx *context.APIContext)
- 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 CreatePinnedGroup(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 DeletePinnedGroup(ctx *context.APIContext)
- func DeletePinnedRepo(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 GetOverview(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 ListPinnedGroups(ctx *context.APIContext)
- func ListPinnedRepos(ctx *context.APIContext)
- func ListPublicMembers(ctx *context.APIContext)
- func ListPublicMembersWithRoles(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 RemovePublicMembership(ctx *context.APIContext)
- func RemoveTeamMember(ctx *context.APIContext)
- func RemoveTeamRepository(ctx *context.APIContext)
- func Rename(ctx *context.APIContext)
- func ReorderPinnedRepos(ctx *context.APIContext)
- func SearchTeam(ctx *context.APIContext)
- func SetPublicMembership(ctx *context.APIContext)
- func UnblockUser(ctx *context.APIContext)
- func UpdateAvatar(ctx *context.APIContext)
- func UpdatePinnedGroup(ctx *context.APIContext)
- type Action
- func (Action) CreateOrUpdateSecret(ctx *context.APIContext)
- func (Action) CreateRegistrationToken(ctx *context.APIContext)
- func (Action) CreateVariable(ctx *context.APIContext)
- func (Action) DeleteRunner(ctx *context.APIContext)
- func (Action) DeleteSecret(ctx *context.APIContext)
- func (Action) DeleteVariable(ctx *context.APIContext)
- func (Action) GetRegistrationToken(ctx *context.APIContext)
- func (Action) GetRunner(ctx *context.APIContext)
- func (Action) GetVariable(ctx *context.APIContext)
- func (Action) ListActionsSecrets(ctx *context.APIContext)
- func (Action) ListRunners(ctx *context.APIContext)
- func (Action) ListVariables(ctx *context.APIContext)
- func (Action) ListWorkflowJobs(ctx *context.APIContext)
- func (Action) ListWorkflowRuns(ctx *context.APIContext)
- func (Action) UpdateVariable(ctx *context.APIContext)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddPinnedRepo ¶
func AddPinnedRepo(ctx *context.APIContext)
AddPinnedRepo pins a repository to an organization
func AddTeamMember ¶
func AddTeamMember(ctx *context.APIContext)
AddTeamMember api for add a member to a team
func AddTeamRepository ¶
func AddTeamRepository(ctx *context.APIContext)
AddTeamRepository api for adding a repository to a team
func BlockUser ¶
func BlockUser(ctx *context.APIContext)
func CheckUserBlock ¶
func CheckUserBlock(ctx *context.APIContext)
func ConcealMember ¶
func ConcealMember(ctx *context.APIContext)
ConcealMember make a member's membership not public
func CreateHook ¶
func CreateHook(ctx *context.APIContext)
CreateHook create a hook for an organization
func CreateLabel ¶
func CreateLabel(ctx *context.APIContext)
CreateLabel create a label for a repository
func CreatePinnedGroup ¶
func CreatePinnedGroup(ctx *context.APIContext)
CreatePinnedGroup creates a new pinned group for an organization
func DeleteAvatar ¶
func DeleteAvatar(ctx *context.APIContext)
DeleteAvatar deletes the Avatar of an Organisation
func DeleteHook ¶
func DeleteHook(ctx *context.APIContext)
DeleteHook delete a hook of an organization
func DeleteLabel ¶
func DeleteLabel(ctx *context.APIContext)
DeleteLabel delete a label for an organization
func DeleteMember ¶
func DeleteMember(ctx *context.APIContext)
DeleteMember remove a member from an organization
func DeletePinnedGroup ¶
func DeletePinnedGroup(ctx *context.APIContext)
DeletePinnedGroup deletes a pinned group
func DeletePinnedRepo ¶
func DeletePinnedRepo(ctx *context.APIContext)
DeletePinnedRepo unpins a repository from an organization
func EditLabel ¶
func EditLabel(ctx *context.APIContext)
EditLabel modify a label for an Organization
func GetLabel ¶
func GetLabel(ctx *context.APIContext)
GetLabel get label by organization and label id
func GetOverview ¶
func GetOverview(ctx *context.APIContext)
GetOverview returns the organization overview for the profile page
func GetTeamMember ¶
func GetTeamMember(ctx *context.APIContext)
GetTeamMember api for get a particular member of team
func GetTeamMembers ¶
func GetTeamMembers(ctx *context.APIContext)
GetTeamMembers api for get a team's members
func GetTeamRepo ¶
func GetTeamRepo(ctx *context.APIContext)
GetTeamRepo api for get a particular repo of team
func GetTeamRepos ¶
func GetTeamRepos(ctx *context.APIContext)
GetTeamRepos api for get a team's repos
func GetUserOrgsPermissions ¶
func GetUserOrgsPermissions(ctx *context.APIContext)
GetUserOrgsPermissions get user permissions in organization
func IsMember ¶
func IsMember(ctx *context.APIContext)
IsMember check if a user is a member of an organization
func IsPublicMember ¶
func IsPublicMember(ctx *context.APIContext)
IsPublicMember check if a user is a public member of an organization
func ListBlocks ¶
func ListBlocks(ctx *context.APIContext)
func ListLabels ¶
func ListLabels(ctx *context.APIContext)
ListLabels list all the labels of an organization
func ListMembers ¶
func ListMembers(ctx *context.APIContext)
ListMembers list an organization's members
func ListOrgActivityFeeds ¶
func ListOrgActivityFeeds(ctx *context.APIContext)
func ListPinnedGroups ¶
func ListPinnedGroups(ctx *context.APIContext)
ListPinnedGroups returns the pinned groups for an organization
func ListPinnedRepos ¶
func ListPinnedRepos(ctx *context.APIContext)
ListPinnedRepos returns the pinned repositories for an organization
func ListPublicMembers ¶
func ListPublicMembers(ctx *context.APIContext)
ListPublicMembers list an organization's public members
func ListPublicMembersWithRoles ¶
func ListPublicMembersWithRoles(ctx *context.APIContext)
ListPublicMembersWithRoles returns the public members of an organization with their roles
func ListTeamActivityFeeds ¶
func ListTeamActivityFeeds(ctx *context.APIContext)
func ListTeams ¶
func ListTeams(ctx *context.APIContext)
ListTeams list all the teams of an organization
func ListUserTeams ¶
func ListUserTeams(ctx *context.APIContext)
ListUserTeams list all the teams a user belongs to
func PublicizeMember ¶
func PublicizeMember(ctx *context.APIContext)
PublicizeMember make a member's membership public
func RemovePublicMembership ¶
func RemovePublicMembership(ctx *context.APIContext)
RemovePublicMembership removes the public visibility of a member
func RemoveTeamMember ¶
func RemoveTeamMember(ctx *context.APIContext)
RemoveTeamMember api for remove one member from a team
func RemoveTeamRepository ¶
func RemoveTeamRepository(ctx *context.APIContext)
RemoveTeamRepository api for removing a repository from a team
func Rename ¶
func Rename(ctx *context.APIContext)
func ReorderPinnedRepos ¶
func ReorderPinnedRepos(ctx *context.APIContext)
ReorderPinnedRepos updates the order of pinned repositories
func SetPublicMembership ¶
func SetPublicMembership(ctx *context.APIContext)
SetPublicMembership sets the public visibility of a member
func UnblockUser ¶
func UnblockUser(ctx *context.APIContext)
func UpdateAvatar ¶
func UpdateAvatar(ctx *context.APIContext)
UpdateAvatarupdates the Avatar of an Organisation
func UpdatePinnedGroup ¶
func UpdatePinnedGroup(ctx *context.APIContext)
UpdatePinnedGroup updates a pinned group
Types ¶
type Action ¶
type Action struct{}
Action implements actions_service.API
func (Action) CreateOrUpdateSecret ¶
func (Action) CreateOrUpdateSecret(ctx *context.APIContext)
create or update one secret of the organization
func (Action) CreateRegistrationToken ¶
func (Action) CreateRegistrationToken(ctx *context.APIContext)
https://docs.github.com/en/rest/actions/self-hosted-runners?apiVersion=2022-11-28#create-a-registration-token-for-an-organization CreateRegistrationToken returns the token to register org runners
func (Action) CreateVariable ¶
func (Action) CreateVariable(ctx *context.APIContext)
CreateVariable create an org-level variable
func (Action) DeleteRunner ¶
func (Action) DeleteRunner(ctx *context.APIContext)
DeleteRunner delete an org-level runner
func (Action) DeleteSecret ¶
func (Action) DeleteSecret(ctx *context.APIContext)
DeleteSecret delete one secret of the organization
func (Action) DeleteVariable ¶
func (Action) DeleteVariable(ctx *context.APIContext)
DeleteVariable delete an org-level variable
func (Action) GetRegistrationToken ¶
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) GetRunner ¶
func (Action) GetRunner(ctx *context.APIContext)
GetRunner get an org-level runner
func (Action) GetVariable ¶
func (Action) GetVariable(ctx *context.APIContext)
GetVariable get an org-level variable
func (Action) ListActionsSecrets ¶
func (Action) ListActionsSecrets(ctx *context.APIContext)
ListActionsSecrets list an organization's actions secrets
func (Action) ListRunners ¶
func (Action) ListRunners(ctx *context.APIContext)
ListRunners get org-level runners
func (Action) ListVariables ¶
func (Action) ListVariables(ctx *context.APIContext)
ListVariables list org-level variables
func (Action) ListWorkflowJobs ¶
func (Action) ListWorkflowJobs(ctx *context.APIContext)
func (Action) ListWorkflowRuns ¶
func (Action) ListWorkflowRuns(ctx *context.APIContext)
func (Action) UpdateVariable ¶
func (Action) UpdateVariable(ctx *context.APIContext)
UpdateVariable update an org-level variable
Source Files
¶
- action.go
- avatar.go
- block.go
- hook.go
- label.go
- member.go
- org.go
- pinned.go
- profile.go
- team.go