Documentation
¶
Index ¶
- func AIExplainCode(ctx *context.APIContext)
- func AIGenerateDocumentation(ctx *context.APIContext)
- func AIReviewPullRequest(ctx *context.APIContext)
- func AIStatus(ctx *context.APIContext)
- func AISuggestLabels(ctx *context.APIContext)
- func AITriageIssue(ctx *context.APIContext)
- func AcceptTransfer(ctx *context.APIContext)
- func ActionsDisableWorkflow(ctx *context.APIContext)
- func ActionsDispatchWorkflow(ctx *context.APIContext)
- func ActionsEnableWorkflow(ctx *context.APIContext)
- func ActionsGetWorkflow(ctx *context.APIContext)
- func ActionsListRepositoryWorkflows(ctx *context.APIContext)
- func AddIssueLabels(ctx *context.APIContext)
- func AddIssueSubscription(ctx *context.APIContext)
- func AddOrUpdateCollaborator(ctx *context.APIContext)
- func AddPagesDomain(ctx *context.APIContext)
- func AddPushMirror(ctx *context.APIContext)
- func AddTeam(ctx *context.APIContext)
- func AddTime(ctx *context.APIContext)
- func AddTopic(ctx *context.APIContext)
- func ApplyDiffPatch(ctx *context.APIContext)
- func ArchiveRelease(ctx *context.APIContext)
- func AreNewIssuePinsAllowed(ctx *context.APIContext)
- func CancelScheduledAutoMerge(ctx *context.APIContext)
- func CancelUploadSession(ctx *context.APIContext)
- func ChangeFiles(ctx *context.APIContext)
- func CheckIssueSubscription(ctx *context.APIContext)
- func ClearIssueLabels(ctx *context.APIContext)
- func CompareDiff(ctx *context.APIContext)
- func CompleteUploadSession(ctx *context.APIContext)
- func Create(ctx *context.APIContext)
- func CreateBranch(ctx *context.APIContext)
- func CreateBranchProtection(ctx *context.APIContext)
- func CreateDeployKey(ctx *context.APIContext)
- func CreateFile(ctx *context.APIContext)
- func CreateFork(ctx *context.APIContext)
- func CreateHook(ctx *context.APIContext)
- func CreateIssue(ctx *context.APIContext)
- func CreateIssueAttachment(ctx *context.APIContext)
- func CreateIssueBlocking(ctx *context.APIContext)
- func CreateIssueComment(ctx *context.APIContext)
- func CreateIssueCommentAttachment(ctx *context.APIContext)
- func CreateIssueDependency(ctx *context.APIContext)
- func CreateLabel(ctx *context.APIContext)
- func CreateMilestone(ctx *context.APIContext)
- func CreateOrgRepo(ctx *context.APIContext)
- func CreateOrgRepoDeprecated(ctx *context.APIContext)
- func CreatePullRequest(ctx *context.APIContext)
- func CreatePullReview(ctx *context.APIContext)
- func CreatePushMirror(ctx *context.APIContext, mirrorOption *api.CreatePushMirrorOption)
- func CreateRelease(ctx *context.APIContext)
- func CreateReleaseAttachment(ctx *context.APIContext)
- func CreateReviewRequests(ctx *context.APIContext)
- func CreateTag(ctx *context.APIContext)
- func CreateTagProtection(ctx *context.APIContext)
- func CreateUploadSession(ctx *context.APIContext)
- func CreateUserRepo(ctx *context.APIContext, owner *user_model.User, opt api.CreateRepoOption)
- func CreateVaultSecret(ctx *context.APIContext)
- func DelIssueSubscription(ctx *context.APIContext)
- func Delete(ctx *context.APIContext)
- func DeleteActionRun(ctx *context.APIContext)
- func DeleteArtifact(ctx *context.APIContext)
- func DeleteAvatar(ctx *context.APIContext)
- func DeleteBranch(ctx *context.APIContext)
- func DeleteBranchProtection(ctx *context.APIContext)
- func DeleteCollaborator(ctx *context.APIContext)
- func DeleteDeploykey(ctx *context.APIContext)
- func DeleteFile(ctx *context.APIContext)
- func DeleteGitHook(ctx *context.APIContext)
- func DeleteHook(ctx *context.APIContext)
- func DeleteIssue(ctx *context.APIContext)
- func DeleteIssueAttachment(ctx *context.APIContext)
- func DeleteIssueComment(ctx *context.APIContext)
- func DeleteIssueCommentAttachment(ctx *context.APIContext)
- func DeleteIssueCommentDeprecated(ctx *context.APIContext)
- func DeleteIssueCommentReaction(ctx *context.APIContext)
- func DeleteIssueLabel(ctx *context.APIContext)
- func DeleteIssueReaction(ctx *context.APIContext)
- func DeleteIssueStopwatch(ctx *context.APIContext)
- func DeleteLabel(ctx *context.APIContext)
- func DeleteMilestone(ctx *context.APIContext)
- func DeletePagesConfig(ctx *context.APIContext)
- func DeletePagesDomain(ctx *context.APIContext)
- func DeletePullReview(ctx *context.APIContext)
- func DeletePushMirrorByRemoteName(ctx *context.APIContext)
- func DeleteRelease(ctx *context.APIContext)
- func DeleteReleaseAttachment(ctx *context.APIContext)
- func DeleteReleaseByTag(ctx *context.APIContext)
- func DeleteReviewRequests(ctx *context.APIContext)
- func DeleteTag(ctx *context.APIContext)
- func DeleteTagProtection(ctx *context.APIContext)
- func DeleteTeam(ctx *context.APIContext)
- func DeleteTime(ctx *context.APIContext)
- func DeleteTopic(ctx *context.APIContext)
- func DeleteVaultSecret(ctx *context.APIContext)
- func DeleteWikiPage(ctx *context.APIContext)
- func DismissPullReview(ctx *context.APIContext)
- func DownloadActionsRunJobLogs(ctx *context.APIContext)
- func DownloadArchive(ctx *context.APIContext)
- func DownloadArtifact(ctx *context.APIContext)
- func DownloadArtifactRaw(ctx *context.APIContext)
- func DownloadCommitDiffOrPatch(ctx *context.APIContext)
- func DownloadPullDiffOrPatch(ctx *context.APIContext)
- func Edit(ctx *context.APIContext)
- func EditBranchProtection(ctx *context.APIContext)
- func EditGitHook(ctx *context.APIContext)
- func EditHook(ctx *context.APIContext)
- func EditIssue(ctx *context.APIContext)
- func EditIssueAttachment(ctx *context.APIContext)
- func EditIssueComment(ctx *context.APIContext)
- func EditIssueCommentAttachment(ctx *context.APIContext)
- func EditIssueCommentDeprecated(ctx *context.APIContext)
- func EditLabel(ctx *context.APIContext)
- func EditMilestone(ctx *context.APIContext)
- func EditPullRequest(ctx *context.APIContext)
- func EditRelease(ctx *context.APIContext)
- func EditReleaseAttachment(ctx *context.APIContext)
- func EditTagProtection(ctx *context.APIContext)
- func EditWikiPage(ctx *context.APIContext)
- func Generate(ctx *context.APIContext)
- func Get(ctx *context.APIContext)
- func GetAllCommits(ctx *context.APIContext)
- func GetAnnotatedTag(ctx *context.APIContext)
- func GetArchive(ctx *context.APIContext)
- func GetArtifact(ctx *context.APIContext)
- func GetArtifacts(ctx *context.APIContext)
- func GetArtifactsOfRun(ctx *context.APIContext)
- func GetAssignees(ctx *context.APIContext)
- func GetBlob(ctx *context.APIContext)
- func GetBranch(ctx *context.APIContext)
- func GetBranchProtection(ctx *context.APIContext)
- func GetByID(ctx *context.APIContext)
- func GetCombinedCommitStatusByRef(ctx *context.APIContext)
- func GetCommitPullRequest(ctx *context.APIContext)
- func GetCommitStatuses(ctx *context.APIContext)
- func GetCommitStatusesByRef(ctx *context.APIContext)
- func GetContents(ctx *context.APIContext)
- func GetContentsExt(ctx *context.APIContext)
- func GetContentsList(ctx *context.APIContext)
- func GetDeployKey(ctx *context.APIContext)
- func GetEditorconfig(ctx *context.APIContext)
- func GetFileContentsGet(ctx *context.APIContext)
- func GetFileContentsPost(ctx *context.APIContext)
- func GetGitAllRefs(ctx *context.APIContext)
- func GetGitHook(ctx *context.APIContext)
- func GetGitRefs(ctx *context.APIContext)
- func GetHook(ctx *context.APIContext)
- func GetIssue(ctx *context.APIContext)
- func GetIssueAttachment(ctx *context.APIContext)
- func GetIssueBlocks(ctx *context.APIContext)
- func GetIssueComment(ctx *context.APIContext)
- func GetIssueCommentAttachment(ctx *context.APIContext)
- func GetIssueCommentReactions(ctx *context.APIContext)
- func GetIssueConfig(ctx *context.APIContext)
- func GetIssueDependencies(ctx *context.APIContext)
- func GetIssueReactions(ctx *context.APIContext)
- func GetIssueSubscribers(ctx *context.APIContext)
- func GetIssueTemplates(ctx *context.APIContext)
- func GetLabel(ctx *context.APIContext)
- func GetLanguages(ctx *context.APIContext)
- func GetLatestRelease(ctx *context.APIContext)
- func GetLicenses(ctx *context.APIContext)
- func GetMilestone(ctx *context.APIContext)
- func GetNote(ctx *context.APIContext)
- func GetPagesConfig(ctx *context.APIContext)
- func GetPullRequest(ctx *context.APIContext)
- func GetPullRequestByBaseHead(ctx *context.APIContext)
- func GetPullRequestCommits(ctx *context.APIContext)
- func GetPullRequestFiles(ctx *context.APIContext)
- func GetPullReview(ctx *context.APIContext)
- func GetPullReviewComments(ctx *context.APIContext)
- func GetPushMirrorByName(ctx *context.APIContext)
- func GetRawFile(ctx *context.APIContext)
- func GetRawFileOrLFS(ctx *context.APIContext)
- func GetRelease(ctx *context.APIContext)
- func GetReleaseAttachment(ctx *context.APIContext)
- func GetReleaseByTag(ctx *context.APIContext)
- func GetRepoPermissions(ctx *context.APIContext)
- func GetReviewers(ctx *context.APIContext)
- func GetSingleCommit(ctx *context.APIContext)
- func GetStopwatches(ctx *context.APIContext)
- func GetTag(ctx *context.APIContext)
- func GetTagProtection(ctx *context.APIContext)
- func GetTree(ctx *context.APIContext)
- func GetUploadSession(ctx *context.APIContext)
- func GetVaultSecret(ctx *context.APIContext)
- func GetWikiPage(ctx *context.APIContext)
- func GetWorkflowJob(ctx *context.APIContext)
- func GetWorkflowRun(ctx *context.APIContext)
- func HandleAddKeyError(ctx *context.APIContext, err error)
- func HandleCheckKeyStringError(ctx *context.APIContext, err error)
- func HandleRemoteAddressError(ctx *context.APIContext, err error)
- func IsCollaborator(ctx *context.APIContext)
- func IsPullRequestMerged(ctx *context.APIContext)
- func IsTeam(ctx *context.APIContext)
- func ListActionTasks(ctx *context.APIContext)
- func ListBranchProtections(ctx *context.APIContext)
- func ListBranches(ctx *context.APIContext)
- func ListCollaborators(ctx *context.APIContext)
- func ListDeployKeys(ctx *context.APIContext)
- func ListForks(ctx *context.APIContext)
- func ListGitHooks(ctx *context.APIContext)
- func ListHooks(ctx *context.APIContext)
- func ListIssueAttachments(ctx *context.APIContext)
- func ListIssueCommentAttachments(ctx *context.APIContext)
- func ListIssueComments(ctx *context.APIContext)
- func ListIssueCommentsAndTimeline(ctx *context.APIContext)
- func ListIssueLabels(ctx *context.APIContext)
- func ListIssues(ctx *context.APIContext)
- func ListLabels(ctx *context.APIContext)
- func ListMilestones(ctx *context.APIContext)
- func ListMyTrackedTimes(ctx *context.APIContext)
- func ListPageRevisions(ctx *context.APIContext)
- func ListPagesDomains(ctx *context.APIContext)
- func ListPinnedIssues(ctx *context.APIContext)
- func ListPinnedPullRequests(ctx *context.APIContext)
- func ListPullRequests(ctx *context.APIContext)
- func ListPullReviews(ctx *context.APIContext)
- func ListPushMirrors(ctx *context.APIContext)
- func ListReleaseAttachments(ctx *context.APIContext)
- func ListReleases(ctx *context.APIContext)
- func ListRepoActivityFeeds(ctx *context.APIContext)
- func ListRepoIssueComments(ctx *context.APIContext)
- func ListStargazers(ctx *context.APIContext)
- func ListSubscribers(ctx *context.APIContext)
- func ListTagProtection(ctx *context.APIContext)
- func ListTags(ctx *context.APIContext)
- func ListTeams(ctx *context.APIContext)
- func ListTopics(ctx *context.APIContext)
- func ListTrackedTimes(ctx *context.APIContext)
- func ListTrackedTimesByRepository(ctx *context.APIContext)
- func ListTrackedTimesByUser(ctx *context.APIContext)
- func ListVaultSecrets(ctx *context.APIContext)
- func ListWikiPages(ctx *context.APIContext)
- func ListWorkflowRunJobs(ctx *context.APIContext)
- func LockIssue(ctx *context.APIContext)
- func MergePullRequest(ctx *context.APIContext)
- func MergeUpstream(ctx *context.APIContext)
- func Migrate(ctx *context.APIContext)
- func MirrorSync(ctx *context.APIContext)
- func MoveIssuePin(ctx *context.APIContext)
- func NewAction() actions_service.API
- func NewCommitStatus(ctx *context.APIContext)
- func NewWikiPage(ctx *context.APIContext)
- func PinIssue(ctx *context.APIContext)
- func PostIssueCommentReaction(ctx *context.APIContext)
- func PostIssueReaction(ctx *context.APIContext)
- func PushMirrorSync(ctx *context.APIContext)
- func RejectTransfer(ctx *context.APIContext)
- func RemoveIssueBlocking(ctx *context.APIContext)
- func RemoveIssueDependency(ctx *context.APIContext)
- func RenameBranch(ctx *context.APIContext)
- func ReplaceIssueLabels(ctx *context.APIContext)
- func ReqChangeRepoFileOptionsAndCheck(ctx *context.APIContext)
- func ResetIssueTime(ctx *context.APIContext)
- func Search(ctx *context.APIContext)
- func SearchIssues(ctx *context.APIContext)
- func StartIssueStopwatch(ctx *context.APIContext)
- func StopIssueStopwatch(ctx *context.APIContext)
- func SubmitPullReview(ctx *context.APIContext)
- func TestHook(ctx *context.APIContext)
- func TopicSearch(ctx *context.APIContext)
- func Transfer(ctx *context.APIContext)
- func UnDismissPullReview(ctx *context.APIContext)
- func UnarchiveRelease(ctx *context.APIContext)
- func UnlockIssue(ctx *context.APIContext)
- func UnpinIssue(ctx *context.APIContext)
- func UpdateAvatar(ctx *context.APIContext)
- func UpdateBranch(ctx *context.APIContext)
- func UpdateBranchProtectionPriories(ctx *context.APIContext)
- func UpdateFile(ctx *context.APIContext)
- func UpdateIssueDeadline(ctx *context.APIContext)
- func UpdatePagesConfig(ctx *context.APIContext)
- func UpdatePullRequest(ctx *context.APIContext)
- func UpdateTopics(ctx *context.APIContext)
- func UpdateVaultSecret(ctx *context.APIContext)
- func UploadChunk(ctx *context.APIContext)
- func ValidateIssueConfig(ctx *context.APIContext)
- func VerifyPagesDomain(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)
- type CreateVaultSecretOption
- type ExplainCodeRequest
- type GenerateDocRequest
- type UpdateVaultSecretOption
- type VaultSecretResponse
- type VaultSecretValueResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AIExplainCode ¶
func AIExplainCode(ctx *context.APIContext)
AIExplainCode explains code using AI
func AIGenerateDocumentation ¶
func AIGenerateDocumentation(ctx *context.APIContext)
AIGenerateDocumentation generates documentation using AI
func AIReviewPullRequest ¶
func AIReviewPullRequest(ctx *context.APIContext)
AIReviewPullRequest performs an AI-powered code review on a pull request
func AISuggestLabels ¶
func AISuggestLabels(ctx *context.APIContext)
AISuggestLabels suggests labels for an issue using AI
func AITriageIssue ¶
func AITriageIssue(ctx *context.APIContext)
AITriageIssue performs AI-powered triage on an issue
func AcceptTransfer ¶
func AcceptTransfer(ctx *context.APIContext)
AcceptTransfer accept a repo transfer
func ActionsDisableWorkflow ¶
func ActionsDisableWorkflow(ctx *context.APIContext)
func ActionsDispatchWorkflow ¶
func ActionsDispatchWorkflow(ctx *context.APIContext)
func ActionsEnableWorkflow ¶
func ActionsEnableWorkflow(ctx *context.APIContext)
func ActionsGetWorkflow ¶
func ActionsGetWorkflow(ctx *context.APIContext)
func ActionsListRepositoryWorkflows ¶
func ActionsListRepositoryWorkflows(ctx *context.APIContext)
func AddIssueLabels ¶
func AddIssueLabels(ctx *context.APIContext)
AddIssueLabels add labels for an issue
func AddIssueSubscription ¶
func AddIssueSubscription(ctx *context.APIContext)
AddIssueSubscription Subscribe user to issue
func AddOrUpdateCollaborator ¶
func AddOrUpdateCollaborator(ctx *context.APIContext)
AddOrUpdateCollaborator add or update a collaborator to a repository
func AddPagesDomain ¶
func AddPagesDomain(ctx *context.APIContext)
AddPagesDomain adds a custom domain for pages
func AddPushMirror ¶
func AddPushMirror(ctx *context.APIContext)
AddPushMirror adds a push mirror to a repository
func ApplyDiffPatch ¶
func ApplyDiffPatch(ctx *context.APIContext)
ApplyDiffPatch handles API call for applying a patch
func ArchiveRelease ¶
func ArchiveRelease(ctx *context.APIContext)
ArchiveRelease archives a release
func AreNewIssuePinsAllowed ¶
func AreNewIssuePinsAllowed(ctx *context.APIContext)
AreNewIssuePinsAllowed returns if new issues pins are allowed
func CancelScheduledAutoMerge ¶
func CancelScheduledAutoMerge(ctx *context.APIContext)
MergePullRequest cancel an auto merge scheduled for a given PullRequest by index
func CancelUploadSession ¶
func CancelUploadSession(ctx *context.APIContext)
CancelUploadSession cancels an upload session
func ChangeFiles ¶
func ChangeFiles(ctx *context.APIContext)
ChangeFiles handles API call for modifying multiple files
func CheckIssueSubscription ¶
func CheckIssueSubscription(ctx *context.APIContext)
CheckIssueSubscription check if user is subscribed to an issue
func ClearIssueLabels ¶
func ClearIssueLabels(ctx *context.APIContext)
ClearIssueLabels delete all the labels for an issue
func CompareDiff ¶
func CompareDiff(ctx *context.APIContext)
CompareDiff compare two branches or commits
func CompleteUploadSession ¶
func CompleteUploadSession(ctx *context.APIContext)
CompleteUploadSession finalizes an upload session and creates the attachment
func CreateBranch ¶
func CreateBranch(ctx *context.APIContext)
CreateBranch creates a branch for a user's repository
func CreateBranchProtection ¶
func CreateBranchProtection(ctx *context.APIContext)
CreateBranchProtection creates a branch protection for a repo
func CreateDeployKey ¶
func CreateDeployKey(ctx *context.APIContext)
CreateDeployKey create deploy key for a repository
func CreateFile ¶
func CreateFile(ctx *context.APIContext)
CreateFile handles API call for creating a file
func CreateHook ¶
func CreateHook(ctx *context.APIContext)
CreateHook create a hook for a repository
func CreateIssue ¶
func CreateIssue(ctx *context.APIContext)
CreateIssue create an issue of a repository
func CreateIssueAttachment ¶
func CreateIssueAttachment(ctx *context.APIContext)
CreateIssueAttachment creates an attachment and saves the given file
func CreateIssueBlocking ¶
func CreateIssueBlocking(ctx *context.APIContext)
CreateIssueBlocking block the issue given in the body by the issue in path
func CreateIssueComment ¶
func CreateIssueComment(ctx *context.APIContext)
CreateIssueComment create a comment for an issue
func CreateIssueCommentAttachment ¶
func CreateIssueCommentAttachment(ctx *context.APIContext)
CreateIssueCommentAttachment creates an attachment and saves the given file
func CreateIssueDependency ¶
func CreateIssueDependency(ctx *context.APIContext)
CreateIssueDependency create a new issue dependencies
func CreateLabel ¶
func CreateLabel(ctx *context.APIContext)
CreateLabel create a label for a repository
func CreateMilestone ¶
func CreateMilestone(ctx *context.APIContext)
CreateMilestone create a milestone for a repository
func CreateOrgRepo ¶
func CreateOrgRepo(ctx *context.APIContext)
CreateOrgRepo create one repository of the organization
func CreateOrgRepoDeprecated ¶
func CreateOrgRepoDeprecated(ctx *context.APIContext)
CreateOrgRepoDeprecated create one repository of the organization
func CreatePullRequest ¶
func CreatePullRequest(ctx *context.APIContext)
CreatePullRequest does what it says
func CreatePullReview ¶
func CreatePullReview(ctx *context.APIContext)
CreatePullReview create a review to a pull request
func CreatePushMirror ¶
func CreatePushMirror(ctx *context.APIContext, mirrorOption *api.CreatePushMirrorOption)
func CreateReleaseAttachment ¶
func CreateReleaseAttachment(ctx *context.APIContext)
CreateReleaseAttachment creates an attachment and saves the given file
func CreateReviewRequests ¶
func CreateReviewRequests(ctx *context.APIContext)
CreateReviewRequests create review requests to an pull request
func CreateTag ¶
func CreateTag(ctx *context.APIContext)
CreateTag create a new git tag in a repository
func CreateTagProtection ¶
func CreateTagProtection(ctx *context.APIContext)
CreateTagProtection creates a tag protection for a repo
func CreateUploadSession ¶
func CreateUploadSession(ctx *context.APIContext)
CreateUploadSession creates a new chunked upload session
func CreateUserRepo ¶
func CreateUserRepo(ctx *context.APIContext, owner *user_model.User, opt api.CreateRepoOption)
CreateUserRepo create a repository for a user
func CreateVaultSecret ¶
func CreateVaultSecret(ctx *context.APIContext)
CreateVaultSecret creates a new secret
func DelIssueSubscription ¶
func DelIssueSubscription(ctx *context.APIContext)
DelIssueSubscription Unsubscribe user from issue
func DeleteActionRun ¶
func DeleteActionRun(ctx *context.APIContext)
DeleteActionRun Delete a workflow run
func DeleteArtifact ¶
func DeleteArtifact(ctx *context.APIContext)
DeleteArtifact Deletes a specific artifact for a workflow run.
func DeleteAvatar ¶
func DeleteAvatar(ctx *context.APIContext)
UpdateAvatar deletes the Avatar of an Repo
func DeleteBranch ¶
func DeleteBranch(ctx *context.APIContext)
DeleteBranch get a branch of a repository
func DeleteBranchProtection ¶
func DeleteBranchProtection(ctx *context.APIContext)
DeleteBranchProtection deletes a branch protection for a repo
func DeleteCollaborator ¶
func DeleteCollaborator(ctx *context.APIContext)
DeleteCollaborator delete a collaborator from a repository
func DeleteDeploykey ¶
func DeleteDeploykey(ctx *context.APIContext)
DeleteDeploykey delete deploy key for a repository
func DeleteGitHook ¶
func DeleteGitHook(ctx *context.APIContext)
DeleteGitHook delete a Git hook of a repository
func DeleteIssue ¶
func DeleteIssue(ctx *context.APIContext)
func DeleteIssueAttachment ¶
func DeleteIssueAttachment(ctx *context.APIContext)
DeleteIssueAttachment delete a given attachment
func DeleteIssueComment ¶
func DeleteIssueComment(ctx *context.APIContext)
DeleteIssueComment delete a comment from an issue
func DeleteIssueCommentAttachment ¶
func DeleteIssueCommentAttachment(ctx *context.APIContext)
DeleteIssueCommentAttachment delete a given attachment
func DeleteIssueCommentDeprecated ¶
func DeleteIssueCommentDeprecated(ctx *context.APIContext)
DeleteIssueCommentDeprecated delete a comment from an issue
func DeleteIssueCommentReaction ¶
func DeleteIssueCommentReaction(ctx *context.APIContext)
DeleteIssueCommentReaction remove a reaction from a comment of an issue
func DeleteIssueLabel ¶
func DeleteIssueLabel(ctx *context.APIContext)
DeleteIssueLabel delete a label for an issue
func DeleteIssueReaction ¶
func DeleteIssueReaction(ctx *context.APIContext)
DeleteIssueReaction remove a reaction from an issue
func DeleteIssueStopwatch ¶
func DeleteIssueStopwatch(ctx *context.APIContext)
DeleteIssueStopwatch delete a specific stopwatch
func DeleteLabel ¶
func DeleteLabel(ctx *context.APIContext)
DeleteLabel delete a label for a repository
func DeleteMilestone ¶
func DeleteMilestone(ctx *context.APIContext)
DeleteMilestone delete a milestone for a repository by ID and if not available by name
func DeletePagesConfig ¶
func DeletePagesConfig(ctx *context.APIContext)
DeletePagesConfig disables pages for a repository
func DeletePagesDomain ¶
func DeletePagesDomain(ctx *context.APIContext)
DeletePagesDomain removes a custom domain
func DeletePullReview ¶
func DeletePullReview(ctx *context.APIContext)
DeletePullReview delete a specific review from a pull request
func DeletePushMirrorByRemoteName ¶
func DeletePushMirrorByRemoteName(ctx *context.APIContext)
DeletePushMirrorByRemoteName deletes a push mirror from a repository by remoteName
func DeleteRelease ¶
func DeleteRelease(ctx *context.APIContext)
DeleteRelease delete a release from a repository
func DeleteReleaseAttachment ¶
func DeleteReleaseAttachment(ctx *context.APIContext)
DeleteReleaseAttachment delete a given attachment
func DeleteReleaseByTag ¶
func DeleteReleaseByTag(ctx *context.APIContext)
DeleteReleaseByTag delete a release from a repository by tag name
func DeleteReviewRequests ¶
func DeleteReviewRequests(ctx *context.APIContext)
DeleteReviewRequests delete review requests to an pull request
func DeleteTag ¶
func DeleteTag(ctx *context.APIContext)
DeleteTag delete a specific tag of in a repository by name
func DeleteTeam ¶
func DeleteTeam(ctx *context.APIContext)
DeleteTeam delete a team from a repository
func DeleteTopic ¶
func DeleteTopic(ctx *context.APIContext)
DeleteTopic removes topic name from repo
func DeleteVaultSecret ¶
func DeleteVaultSecret(ctx *context.APIContext)
DeleteVaultSecret deletes a secret
func DismissPullReview ¶
func DismissPullReview(ctx *context.APIContext)
DismissPullReview dismiss a review for a pull request
func DownloadActionsRunJobLogs ¶
func DownloadActionsRunJobLogs(ctx *context.APIContext)
func DownloadArchive ¶
func DownloadArchive(ctx *context.APIContext)
func DownloadArtifact ¶
func DownloadArtifact(ctx *context.APIContext)
DownloadArtifact Downloads a specific artifact for a workflow run redirects to blob url.
func DownloadArtifactRaw ¶
func DownloadArtifactRaw(ctx *context.APIContext)
DownloadArtifactRaw Downloads a specific artifact for a workflow run directly.
func DownloadCommitDiffOrPatch ¶
func DownloadCommitDiffOrPatch(ctx *context.APIContext)
DownloadCommitDiffOrPatch render a commit's raw diff or patch
func DownloadPullDiffOrPatch ¶
func DownloadPullDiffOrPatch(ctx *context.APIContext)
DownloadPullDiffOrPatch render a pull's raw diff or patch
func EditBranchProtection ¶
func EditBranchProtection(ctx *context.APIContext)
EditBranchProtection edits a branch protection for a repo
func EditGitHook ¶
func EditGitHook(ctx *context.APIContext)
EditGitHook modify a Git hook of a repository
func EditIssueAttachment ¶
func EditIssueAttachment(ctx *context.APIContext)
EditIssueAttachment updates the given attachment
func EditIssueComment ¶
func EditIssueComment(ctx *context.APIContext)
EditIssueComment modify a comment of an issue
func EditIssueCommentAttachment ¶
func EditIssueCommentAttachment(ctx *context.APIContext)
EditIssueCommentAttachment updates the given attachment
func EditIssueCommentDeprecated ¶
func EditIssueCommentDeprecated(ctx *context.APIContext)
EditIssueCommentDeprecated modify a comment of an issue
func EditMilestone ¶
func EditMilestone(ctx *context.APIContext)
EditMilestone modify a milestone for a repository by ID and if not available by name
func EditPullRequest ¶
func EditPullRequest(ctx *context.APIContext)
EditPullRequest does what it says
func EditReleaseAttachment ¶
func EditReleaseAttachment(ctx *context.APIContext)
EditReleaseAttachment updates the given attachment
func EditTagProtection ¶
func EditTagProtection(ctx *context.APIContext)
EditTagProtection edits a tag protection for a repo
func EditWikiPage ¶
func EditWikiPage(ctx *context.APIContext)
EditWikiPage response for wiki modify request
func Generate ¶
func Generate(ctx *context.APIContext)
Generate Create a repository using a template
func GetAnnotatedTag ¶
func GetAnnotatedTag(ctx *context.APIContext)
GetAnnotatedTag get the tag of a repository.
func GetArtifact ¶
func GetArtifact(ctx *context.APIContext)
GetArtifact Gets a specific artifact for a workflow run.
func GetArtifacts ¶
func GetArtifacts(ctx *context.APIContext)
GetArtifacts Lists all artifacts for a repository.
func GetArtifactsOfRun ¶
func GetArtifactsOfRun(ctx *context.APIContext)
GetArtifactsOfRun Lists all artifacts for a repository.
func GetAssignees ¶
func GetAssignees(ctx *context.APIContext)
GetAssignees return all users that have write access and can be assigned to issues
func GetBranchProtection ¶
func GetBranchProtection(ctx *context.APIContext)
GetBranchProtection gets a branch protection
func GetCombinedCommitStatusByRef ¶
func GetCombinedCommitStatusByRef(ctx *context.APIContext)
GetCombinedCommitStatusByRef returns the combined status for any given commit hash
func GetCommitPullRequest ¶
func GetCommitPullRequest(ctx *context.APIContext)
GetCommitPullRequest returns the merged pull request of the commit
func GetCommitStatuses ¶
func GetCommitStatuses(ctx *context.APIContext)
GetCommitStatuses returns all statuses for any given commit hash
func GetCommitStatusesByRef ¶
func GetCommitStatusesByRef(ctx *context.APIContext)
GetCommitStatusesByRef returns all statuses for any given commit ref
func GetContents ¶
func GetContents(ctx *context.APIContext)
func GetContentsExt ¶
func GetContentsExt(ctx *context.APIContext)
func GetContentsList ¶
func GetContentsList(ctx *context.APIContext)
func GetEditorconfig ¶
func GetEditorconfig(ctx *context.APIContext)
GetEditorconfig get editor config of a repository
func GetFileContentsGet ¶
func GetFileContentsGet(ctx *context.APIContext)
func GetFileContentsPost ¶
func GetFileContentsPost(ctx *context.APIContext)
func GetGitAllRefs ¶
func GetGitAllRefs(ctx *context.APIContext)
GetGitAllRefs get ref or an list all the refs of a repository
func GetGitRefs ¶
func GetGitRefs(ctx *context.APIContext)
GetGitRefs get ref or an filteresd list of refs of a repository
func GetIssueAttachment ¶
func GetIssueAttachment(ctx *context.APIContext)
GetIssueAttachment gets a single attachment of the issue
func GetIssueBlocks ¶
func GetIssueBlocks(ctx *context.APIContext)
GetIssueBlocks list issues that are blocked by this issue
func GetIssueComment ¶
func GetIssueComment(ctx *context.APIContext)
GetIssueComment Get a comment by ID
func GetIssueCommentAttachment ¶
func GetIssueCommentAttachment(ctx *context.APIContext)
GetIssueCommentAttachment gets a single attachment of the comment
func GetIssueCommentReactions ¶
func GetIssueCommentReactions(ctx *context.APIContext)
GetIssueCommentReactions list reactions of a comment from an issue
func GetIssueConfig ¶
func GetIssueConfig(ctx *context.APIContext)
GetIssueConfig returns the issue config for a repo
func GetIssueDependencies ¶
func GetIssueDependencies(ctx *context.APIContext)
GetIssueDependencies list an issue's dependencies
func GetIssueReactions ¶
func GetIssueReactions(ctx *context.APIContext)
GetIssueReactions list reactions of an issue
func GetIssueSubscribers ¶
func GetIssueSubscribers(ctx *context.APIContext)
GetIssueSubscribers return subscribers of an issue
func GetIssueTemplates ¶
func GetIssueTemplates(ctx *context.APIContext)
GetIssueTemplates returns the issue templates for a repository
func GetLabel ¶
func GetLabel(ctx *context.APIContext)
GetLabel get label by repository and label id
func GetLanguages ¶
func GetLanguages(ctx *context.APIContext)
GetLanguages returns languages and number of bytes of code written
func GetLatestRelease ¶
func GetLatestRelease(ctx *context.APIContext)
GetLatestRelease gets the most recent non-prerelease, non-draft release of a repository, sorted by created_at
func GetMilestone ¶
func GetMilestone(ctx *context.APIContext)
GetMilestone get a milestone for a repository by ID and if not available by name
func GetNote ¶
func GetNote(ctx *context.APIContext)
GetNote Get a note corresponding to a single commit from a repository
func GetPagesConfig ¶
func GetPagesConfig(ctx *context.APIContext)
GetPagesConfig returns the pages configuration for a repository
func GetPullRequest ¶
func GetPullRequest(ctx *context.APIContext)
GetPullRequest returns a single PR based on index
func GetPullRequestByBaseHead ¶
func GetPullRequestByBaseHead(ctx *context.APIContext)
GetPullRequest returns a single PR based on index
func GetPullRequestCommits ¶
func GetPullRequestCommits(ctx *context.APIContext)
GetPullRequestCommits gets all commits associated with a given PR
func GetPullRequestFiles ¶
func GetPullRequestFiles(ctx *context.APIContext)
GetPullRequestFiles gets all changed files associated with a given PR
func GetPullReview ¶
func GetPullReview(ctx *context.APIContext)
GetPullReview gets a specific review of a pull request
func GetPullReviewComments ¶
func GetPullReviewComments(ctx *context.APIContext)
GetPullReviewComments lists all comments of a pull request review
func GetPushMirrorByName ¶
func GetPushMirrorByName(ctx *context.APIContext)
GetPushMirrorByName get push mirror of a repository by name
func GetRawFile ¶
func GetRawFile(ctx *context.APIContext)
GetRawFile get a file by path on a repository
func GetRawFileOrLFS ¶
func GetRawFileOrLFS(ctx *context.APIContext)
GetRawFileOrLFS get a file by repo's path, redirecting to LFS if necessary.
func GetRelease ¶
func GetRelease(ctx *context.APIContext)
GetRelease get a single release of a repository
func GetReleaseAttachment ¶
func GetReleaseAttachment(ctx *context.APIContext)
GetReleaseAttachment gets a single attachment of the release
func GetReleaseByTag ¶
func GetReleaseByTag(ctx *context.APIContext)
GetReleaseByTag get a single release of a repository by tag name
func GetRepoPermissions ¶
func GetRepoPermissions(ctx *context.APIContext)
GetRepoPermissions gets repository permissions for a user
func GetReviewers ¶
func GetReviewers(ctx *context.APIContext)
GetReviewers return all users that can be requested to review in this repo
func GetSingleCommit ¶
func GetSingleCommit(ctx *context.APIContext)
GetSingleCommit get a commit via sha
func GetStopwatches ¶
func GetStopwatches(ctx *context.APIContext)
GetStopwatches get all stopwatches
func GetTagProtection ¶
func GetTagProtection(ctx *context.APIContext)
GetTagProtection gets a tag protection
func GetUploadSession ¶
func GetUploadSession(ctx *context.APIContext)
GetUploadSession returns information about an upload session
func GetVaultSecret ¶
func GetVaultSecret(ctx *context.APIContext)
GetVaultSecret gets a secret value
func GetWorkflowJob ¶
func GetWorkflowJob(ctx *context.APIContext)
GetWorkflowJob Gets a specific workflow job for a workflow run.
func GetWorkflowRun ¶
func GetWorkflowRun(ctx *context.APIContext)
GetWorkflowRun Gets a specific workflow run.
func HandleAddKeyError ¶
func HandleAddKeyError(ctx *context.APIContext, err error)
HandleAddKeyError handle add key error
func HandleCheckKeyStringError ¶
func HandleCheckKeyStringError(ctx *context.APIContext, err error)
HandleCheckKeyStringError handle check key error
func HandleRemoteAddressError ¶
func HandleRemoteAddressError(ctx *context.APIContext, err error)
func IsCollaborator ¶
func IsCollaborator(ctx *context.APIContext)
IsCollaborator check if a user is a collaborator of a repository
func IsPullRequestMerged ¶
func IsPullRequestMerged(ctx *context.APIContext)
IsPullRequestMerged checks if a PR exists given an index
func IsTeam ¶
func IsTeam(ctx *context.APIContext)
IsTeam check if a team is assigned to a repository
func ListActionTasks ¶
func ListActionTasks(ctx *context.APIContext)
ListActionTasks list all the actions of a repository
func ListBranchProtections ¶
func ListBranchProtections(ctx *context.APIContext)
ListBranchProtections list branch protections for a repo
func ListBranches ¶
func ListBranches(ctx *context.APIContext)
ListBranches list all the branches of a repository
func ListCollaborators ¶
func ListCollaborators(ctx *context.APIContext)
ListCollaborators list a repository's collaborators
func ListDeployKeys ¶
func ListDeployKeys(ctx *context.APIContext)
ListDeployKeys list all the deploy keys of a repository
func ListGitHooks ¶
func ListGitHooks(ctx *context.APIContext)
ListGitHooks list all Git hooks of a repository
func ListIssueAttachments ¶
func ListIssueAttachments(ctx *context.APIContext)
ListIssueAttachments lists all attachments of the issue
func ListIssueCommentAttachments ¶
func ListIssueCommentAttachments(ctx *context.APIContext)
ListIssueCommentAttachments lists all attachments of the comment
func ListIssueComments ¶
func ListIssueComments(ctx *context.APIContext)
ListIssueComments list all the comments of an issue
func ListIssueCommentsAndTimeline ¶
func ListIssueCommentsAndTimeline(ctx *context.APIContext)
ListIssueCommentsAndTimeline list all the comments and events of an issue
func ListIssueLabels ¶
func ListIssueLabels(ctx *context.APIContext)
ListIssueLabels list all the labels of an issue
func ListIssues ¶
func ListIssues(ctx *context.APIContext)
ListIssues list the issues of a repository
func ListLabels ¶
func ListLabels(ctx *context.APIContext)
ListLabels list all the labels of a repository
func ListMilestones ¶
func ListMilestones(ctx *context.APIContext)
ListMilestones list milestones for a repository
func ListMyTrackedTimes ¶
func ListMyTrackedTimes(ctx *context.APIContext)
ListMyTrackedTimes lists all tracked times of the current user
func ListPageRevisions ¶
func ListPageRevisions(ctx *context.APIContext)
ListPageRevisions renders file revision list of wiki page
func ListPagesDomains ¶
func ListPagesDomains(ctx *context.APIContext)
ListPagesDomains returns all custom domains for a repository's pages
func ListPinnedIssues ¶
func ListPinnedIssues(ctx *context.APIContext)
ListPinnedIssues returns a list of all pinned Issues
func ListPinnedPullRequests ¶
func ListPinnedPullRequests(ctx *context.APIContext)
ListPinnedPullRequests returns a list of all pinned PRs
func ListPullRequests ¶
func ListPullRequests(ctx *context.APIContext)
ListPullRequests returns a list of all PRs
func ListPullReviews ¶
func ListPullReviews(ctx *context.APIContext)
ListPullReviews lists all reviews of a pull request
func ListPushMirrors ¶
func ListPushMirrors(ctx *context.APIContext)
ListPushMirrors get list of push mirrors of a repository
func ListReleaseAttachments ¶
func ListReleaseAttachments(ctx *context.APIContext)
ListReleaseAttachments lists all attachments of the release
func ListReleases ¶
func ListReleases(ctx *context.APIContext)
ListReleases list a repository's releases
func ListRepoActivityFeeds ¶
func ListRepoActivityFeeds(ctx *context.APIContext)
func ListRepoIssueComments ¶
func ListRepoIssueComments(ctx *context.APIContext)
ListRepoIssueComments returns all issue-comments for a repo
func ListStargazers ¶
func ListStargazers(ctx *context.APIContext)
ListStargazers list a repository's stargazers
func ListSubscribers ¶
func ListSubscribers(ctx *context.APIContext)
ListSubscribers list a repo's subscribers (i.e. watchers)
func ListTagProtection ¶
func ListTagProtection(ctx *context.APIContext)
ListTagProtection lists tag protections for a repo
func ListTopics ¶
func ListTopics(ctx *context.APIContext)
ListTopics returns list of current topics for repo
func ListTrackedTimes ¶
func ListTrackedTimes(ctx *context.APIContext)
ListTrackedTimes list all the tracked times of an issue
func ListTrackedTimesByRepository ¶
func ListTrackedTimesByRepository(ctx *context.APIContext)
ListTrackedTimesByRepository lists all tracked times of the repository
func ListTrackedTimesByUser ¶
func ListTrackedTimesByUser(ctx *context.APIContext)
ListTrackedTimesByUser lists all tracked times of the user
func ListVaultSecrets ¶
func ListVaultSecrets(ctx *context.APIContext)
ListVaultSecrets lists all secrets in a repository
func ListWorkflowRunJobs ¶
func ListWorkflowRunJobs(ctx *context.APIContext)
ListWorkflowRunJobs Lists all jobs for a workflow run.
func MergePullRequest ¶
func MergePullRequest(ctx *context.APIContext)
MergePullRequest merges a PR given an index
func MergeUpstream ¶
func MergeUpstream(ctx *context.APIContext)
func MirrorSync ¶
func MirrorSync(ctx *context.APIContext)
MirrorSync adds a mirrored repository to the sync queue
func MoveIssuePin ¶
func MoveIssuePin(ctx *context.APIContext)
MoveIssuePin moves a pinned Issue to a new Position
func NewCommitStatus ¶
func NewCommitStatus(ctx *context.APIContext)
NewCommitStatus creates a new CommitStatus
func NewWikiPage ¶
func NewWikiPage(ctx *context.APIContext)
NewWikiPage response for wiki create request
func PostIssueCommentReaction ¶
func PostIssueCommentReaction(ctx *context.APIContext)
PostIssueCommentReaction add a reaction to a comment of an issue
func PostIssueReaction ¶
func PostIssueReaction(ctx *context.APIContext)
PostIssueReaction add a reaction to an issue
func PushMirrorSync ¶
func PushMirrorSync(ctx *context.APIContext)
PushMirrorSync adds all push mirrored repositories to the sync queue
func RejectTransfer ¶
func RejectTransfer(ctx *context.APIContext)
RejectTransfer reject a repo transfer
func RemoveIssueBlocking ¶
func RemoveIssueBlocking(ctx *context.APIContext)
RemoveIssueBlocking unblock the issue given in the body by the issue in path
func RemoveIssueDependency ¶
func RemoveIssueDependency(ctx *context.APIContext)
RemoveIssueDependency remove an issue dependency
func RenameBranch ¶
func RenameBranch(ctx *context.APIContext)
RenameBranch renames a repository's branch.
func ReplaceIssueLabels ¶
func ReplaceIssueLabels(ctx *context.APIContext)
ReplaceIssueLabels replace labels for an issue
func ReqChangeRepoFileOptionsAndCheck ¶
func ReqChangeRepoFileOptionsAndCheck(ctx *context.APIContext)
func ResetIssueTime ¶
func ResetIssueTime(ctx *context.APIContext)
ResetIssueTime reset time manual to the given issue
func SearchIssues ¶
func SearchIssues(ctx *context.APIContext)
SearchIssues searches for issues across the repositories that the user has access to
func StartIssueStopwatch ¶
func StartIssueStopwatch(ctx *context.APIContext)
StartIssueStopwatch creates a stopwatch for the given issue.
func StopIssueStopwatch ¶
func StopIssueStopwatch(ctx *context.APIContext)
StopIssueStopwatch stops a stopwatch for the given issue.
func SubmitPullReview ¶
func SubmitPullReview(ctx *context.APIContext)
SubmitPullReview submit a pending review to an pull request
func Transfer ¶
func Transfer(ctx *context.APIContext)
Transfer transfers the ownership of a repository
func UnDismissPullReview ¶
func UnDismissPullReview(ctx *context.APIContext)
UnDismissPullReview cancel to dismiss a review for a pull request
func UnarchiveRelease ¶
func UnarchiveRelease(ctx *context.APIContext)
UnarchiveRelease unarchives a release
func UpdateAvatar ¶
func UpdateAvatar(ctx *context.APIContext)
UpdateVatar updates the Avatar of an Repo
func UpdateBranch ¶
func UpdateBranch(ctx *context.APIContext)
UpdateBranch moves a branch reference to a new commit.
func UpdateBranchProtectionPriories ¶
func UpdateBranchProtectionPriories(ctx *context.APIContext)
UpdateBranchProtectionPriories updates the priorities of branch protections for a repo
func UpdateFile ¶
func UpdateFile(ctx *context.APIContext)
UpdateFile handles API call for updating a file
func UpdateIssueDeadline ¶
func UpdateIssueDeadline(ctx *context.APIContext)
UpdateIssueDeadline updates an issue deadline
func UpdatePagesConfig ¶
func UpdatePagesConfig(ctx *context.APIContext)
UpdatePagesConfig updates the pages configuration for a repository
func UpdatePullRequest ¶
func UpdatePullRequest(ctx *context.APIContext)
UpdatePullRequest merge PR's baseBranch into headBranch
func UpdateTopics ¶
func UpdateTopics(ctx *context.APIContext)
UpdateTopics updates repo with a new set of topics
func UpdateVaultSecret ¶
func UpdateVaultSecret(ctx *context.APIContext)
UpdateVaultSecret updates an existing secret
func UploadChunk ¶
func UploadChunk(ctx *context.APIContext)
UploadChunk uploads a chunk to an upload session
func ValidateIssueConfig ¶
func ValidateIssueConfig(ctx *context.APIContext)
ValidateIssueConfig returns validation errors for the issue config
func VerifyPagesDomain ¶
func VerifyPagesDomain(ctx *context.APIContext)
VerifyPagesDomain verifies a custom domain
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 repository
func (Action) CreateRegistrationToken ¶
func (Action) CreateRegistrationToken(ctx *context.APIContext)
CreateRegistrationToken returns the token to register repo runners
func (Action) CreateVariable ¶
func (Action) CreateVariable(ctx *context.APIContext)
CreateVariable create a repo-level variable
func (Action) DeleteRunner ¶
func (Action) DeleteRunner(ctx *context.APIContext)
DeleteRunner delete an repo-level runner
func (Action) DeleteSecret ¶
func (Action) DeleteSecret(ctx *context.APIContext)
DeleteSecret delete one secret of the repository
func (Action) DeleteVariable ¶
func (Action) DeleteVariable(ctx *context.APIContext)
DeleteVariable delete a repo-level variable
func (Action) GetRegistrationToken ¶
func (Action) GetRegistrationToken(ctx *context.APIContext)
GetRegistrationToken returns the token to register repo runners
func (Action) GetRunner ¶
func (Action) GetRunner(ctx *context.APIContext)
GetRunner get an repo-level runner
func (Action) GetVariable ¶
func (Action) GetVariable(ctx *context.APIContext)
GetVariable get a repo-level variable
func (Action) ListActionsSecrets ¶
func (Action) ListActionsSecrets(ctx *context.APIContext)
ListActionsSecrets list an repo's actions secrets
func (Action) ListRunners ¶
func (Action) ListRunners(ctx *context.APIContext)
ListRunners get repo-level runners
func (Action) ListVariables ¶
func (Action) ListVariables(ctx *context.APIContext)
ListVariables list repo-level variables
func (Action) ListWorkflowJobs ¶
func (Action) ListWorkflowJobs(ctx *context.APIContext)
GetWorkflowRunJobs Lists all jobs for a workflow run.
func (Action) ListWorkflowRuns ¶
func (Action) ListWorkflowRuns(ctx *context.APIContext)
ListWorkflowRuns Lists all runs for a repository run.
func (Action) UpdateVariable ¶
func (Action) UpdateVariable(ctx *context.APIContext)
UpdateVariable update a repo-level variable
type CreateVaultSecretOption ¶
type CreateVaultSecretOption struct {
Name string `json:"name" binding:"Required;MaxSize(255)"`
Description string `json:"description" binding:"MaxSize(500)"`
Type string `json:"type" binding:"Required;In(env-file,key-value,file,certificate,ssh-key)"`
Value string `json:"value" binding:"Required"`
}
CreateVaultSecretOption represents options for creating a secret
type ExplainCodeRequest ¶
type ExplainCodeRequest struct {
Code string `json:"code" binding:"Required"`
FilePath string `json:"file_path"`
StartLine int `json:"start_line"`
EndLine int `json:"end_line"`
Question string `json:"question"`
}
ExplainCodeRequest is the request body for explaining code
type GenerateDocRequest ¶
type GenerateDocRequest struct {
Code string `json:"code" binding:"Required"`
FilePath string `json:"file_path"`
DocType string `json:"doc_type"` // function, class, module, api
Language string `json:"language"`
Style string `json:"style"` // jsdoc, docstring, xml, markdown
}
GenerateDocRequest is the request body for generating documentation
type UpdateVaultSecretOption ¶
type UpdateVaultSecretOption struct {
Type string `json:"type" binding:"Required;In(env-file,key-value,file,certificate,ssh-key)"`
Value string `json:"value" binding:"Required"`
Comment string `json:"comment" binding:"MaxSize(500)"`
}
UpdateVaultSecretOption represents options for updating a secret
Source Files
¶
- action.go
- actions_run.go
- ai.go
- avatar.go
- blob.go
- branch.go
- collaborators.go
- commits.go
- compare.go
- download.go
- file.go
- fork.go
- git_hook.go
- git_ref.go
- hook.go
- issue.go
- issue_attachment.go
- issue_comment.go
- issue_comment_attachment.go
- issue_dependency.go
- issue_label.go
- issue_lock.go
- issue_pin.go
- issue_reaction.go
- issue_stopwatch.go
- issue_subscription.go
- issue_tracked_time.go
- key.go
- label.go
- language.go
- license.go
- migrate.go
- milestone.go
- mirror.go
- notes.go
- pages.go
- patch.go
- pull.go
- pull_review.go
- release.go
- release_attachment.go
- release_tags.go
- repo.go
- star.go
- status.go
- subscriber.go
- tag.go
- teams.go
- topic.go
- transfer.go
- tree.go
- upload.go
- vault.go
- wiki.go