Documentation
¶
Index ¶
- type Blob
- type Branch
- type BranchDetail
- type BranchProtection
- type Commit
- type CommitAsset
- type CommitDiffFilePatch
- type CommitObject
- type CommitObjectTree
- type CommitObjectVerification
- type CommitParent
- type CommitStatuses
- type CompareResponse
- type Content
- type DeleteIssueAssigneesForm
- type DeletePullAssigneesForm
- type DiffLine
- type GPGEmail
- type GPGPublicKey
- type GPGSubkey
- type Issue
- type IssueComment
- type IssueDetail
- type Label
- type MergePullRequest
- type MergePullResponse
- type PatchIssueAssigneesForm
- type PatchIssueCommentForm
- type PatchIssueForm
- type PatchLabelForm
- type PatchPullCommentForm
- type PatchPullRequest
- type PipelineSettings
- type PostBlobForm
- type PostIssueAssigneesForm
- type PostIssueCommentForm
- type PostIssueForm
- type PostIssueLabelsForm
- type PostLabelForm
- type PostPullAssigneesForm
- type PostPullLabelsForm
- type PostTagFrom
- type Pull
- type PullCommentCreationForm
- type PullCreationForm
- type PullFile
- type PullRef
- type PullRefInfo
- type PullRequest
- type PullRequestComment
- type PullRequestInfo
- type PullRequestSettings
- type PullReview
- type PullReviewComment
- type PullReviewCommentCreationForm
- type PullReviewCreationForm
- type PullReviewer
- type PushLimitSettings
- type PutIssueLabelsForm
- type PutPullLabelsForm
- type Release
- type ReleaseAsset
- type Repo
- type RepoInfo
- type Signature
- type Tag
- type TagObjectVerification
- type TreeEntry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Branch ¶
type Branch struct {
Commit struct {
Sha string `json:"sha,omitempty"`
} `json:"commit,omitempty"`
Name string `json:"name,omitempty"`
Protected bool `json:"protected,omitempty"`
}
Branch
type BranchDetail ¶
type BranchDetail struct {
Commit *Commit `json:"commit,omitempty"`
Name string `json:"name,omitempty"`
Protected bool `json:"protected,omitempty"`
}
BranchDetail
type BranchProtection ¶
type BranchProtection struct {
AllowCreation bool `json:"allow_creation,omitempty"`
AllowDeletions bool `json:"allow_deletions,omitempty"`
AllowForcePushes bool `json:"allow_force_pushes,omitempty"`
AllowMasterCreation bool `json:"allow_master_creation,omitempty"`
AllowMasterDeletions bool `json:"allow_master_deletions,omitempty"`
AllowMasterForcePushes bool `json:"allow_master_force_pushes,omitempty"`
AllowMasterManualMerge bool `json:"allow_master_manual_merge,omitempty"`
AllowMasterPushes bool `json:"allow_master_pushes,omitempty"`
AllowPushes bool `json:"allow_pushes,omitempty"`
Id string `json:"id,omitempty"`
RequiredApprovedReviewCount int `json:"required_approved_review_count,omitempty"`
RequiredApprovedReviewRatio int `json:"required_approved_review_ratio,omitempty"`
RequiredLinearHistory bool `json:"required_linear_history,omitempty"`
RequiredMasterApprove bool `json:"required_master_approve,omitempty"`
RequiredMustAutoMerge bool `json:"required_must_auto_merge,omitempty"`
RequiredMustPushViaPullRequest bool `json:"required_must_push_via_pull_request,omitempty"`
RequiredPullRequestReviews bool `json:"required_pull_request_reviews,omitempty"`
RequiredStatusChecks bool `json:"required_status_checks,omitempty"`
Rule string `json:"rule,omitempty"`
}
BranchProtection
type Commit ¶
type Commit struct {
Author *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"author,omitempty"`
Commit *CommitObject `json:"commit,omitempty"`
Committer *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"committer,omitempty"`
Parents []*CommitParent `json:"parents,omitempty"`
Sha string `json:"sha,omitempty"`
}
Commit
type CommitAsset ¶
type CommitAsset struct {
Author *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"author,omitempty"`
ContentType string `json:"content_type,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Path string `json:"path,omitempty"`
SizeInByte int `json:"size_in_byte,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
CommitAsset
type CommitDiffFilePatch ¶
type CommitDiffFilePatch struct {
Additions int `json:"additions,omitempty"`
Deletions int `json:"deletions,omitempty"`
Mode string `json:"mode,omitempty"`
Name string `json:"name,omitempty"`
Patch string `json:"patch,omitempty"`
Path string `json:"path,omitempty"`
PreviousFilename string `json:"previous_filename,omitempty"`
PreviousMode string `json:"previous_mode,omitempty"`
Status string `json:"status,omitempty"`
}
CommitDiffFilePatch
type CommitObject ¶
type CommitObject struct {
Author *Signature `json:"author,omitempty"`
CommentCount int `json:"comment_count,omitempty"`
Committer *Signature `json:"committer,omitempty"`
Message string `json:"message,omitempty"`
Tree *CommitObjectTree `json:"tree,omitempty"`
Verification *CommitObjectVerification `json:"verification,omitempty"`
}
CommitObject
type CommitObjectTree ¶
type CommitObjectTree struct {
Sha string `json:"sha,omitempty"`
}
CommitObjectTree
type CommitObjectVerification ¶
type CommitObjectVerification struct {
Payload string `json:"payload,omitempty"`
Reason string `json:"reason,omitempty"`
Signature string `json:"signature,omitempty"`
Verified bool `json:"verified,omitempty"`
VerifiedAt string `json:"verified_at,omitempty"`
}
CommitObjectVerification
type CommitStatuses ¶ added in v1.1.0
type CommitStatuses struct {
Sha string `json:"sha,omitempty"`
State string `json:"state,omitempty"`
Statuses []*git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.CommitStatus `json:"statuses,omitempty"`
}
CommitStatuses
type CompareResponse ¶
type CompareResponse struct {
BaseCommit *Commit `json:"base_commit,omitempty"`
Commits []*Commit `json:"commits,omitempty"`
Files []*CommitDiffFilePatch `json:"files,omitempty"`
HeadCommit *Commit `json:"head_commit,omitempty"`
MergeBaseCommit *Commit `json:"merge_base_commit,omitempty"`
TotalCommits int `json:"total_commits,omitempty"`
}
CompareResponse
type Content ¶
type Content struct {
Content string `json:"content,omitempty"`
Encoding string `json:"encoding,omitempty"`
Entries []*TreeEntry `json:"entries,omitempty"`
LfsDownloadUrl string `json:"lfs_download_url,omitempty"`
LfsOid string `json:"lfs_oid,omitempty"`
LfsSize int `json:"lfs_size,omitempty"`
Name string `json:"name,omitempty"`
Path string `json:"path,omitempty"`
Sha string `json:"sha,omitempty"`
Size int `json:"size,omitempty"`
Type string `json:"type,omitempty"`
}
Content
type DeleteIssueAssigneesForm ¶ added in v1.0.5
type DeleteIssueAssigneesForm struct {
Assignees []string `json:"assignees,omitempty"`
}
DeleteIssueAssigneesForm
type DeletePullAssigneesForm ¶ added in v1.0.5
type DeletePullAssigneesForm struct {
Assignees []string `json:"assignees,omitempty"`
}
DeletePullAssigneesForm
type DiffLine ¶ added in v1.0.7
type DiffLine struct {
Content string `json:"content,omitempty"`
LeftLineNumber int `json:"left_line_number,omitempty"`
Prefix string `json:"prefix,omitempty"`
RightLineNumber int `json:"right_line_number,omitempty"`
Type string `json:"type,omitempty"`
}
DiffLine
type GPGEmail ¶ added in v1.1.1
type GPGEmail struct {
Email string `json:"email,omitempty"`
Verified bool `json:"verified,omitempty"`
}
GPGEmail
type GPGPublicKey ¶ added in v1.1.1
type GPGPublicKey struct {
CreatedAt string `json:"created_at,omitempty"`
Emails []*GPGEmail `json:"emails,omitempty"`
ExpiredAt string `json:"expired_at,omitempty"`
Id string `json:"id,omitempty"`
KeyId string `json:"key_id,omitempty"`
Name string `json:"name,omitempty"`
RawKey string `json:"raw_key,omitempty"`
Subkeys []*GPGSubkey `json:"subkeys,omitempty"`
}
GPGPublicKey
type GPGSubkey ¶ added in v1.1.1
type GPGSubkey struct {
CreatedAt string `json:"created_at,omitempty"`
ExpiredAt string `json:"expired_at,omitempty"`
Id string `json:"id,omitempty"`
KeyId string `json:"key_id,omitempty"`
PrimaryKeyId string `json:"primary_key_id,omitempty"`
}
GPGSubkey
type Issue ¶
type Issue struct {
Assignees []*git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.UserInfo `json:"assignees,omitempty"`
Author *git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.UserInfo `json:"author,omitempty"`
CommentCount int `json:"comment_count,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
EndedAt string `json:"ended_at,omitempty"`
Labels []*Label `json:"labels,omitempty"`
LastActedAt string `json:"last_acted_at,omitempty"`
Number string `json:"number,omitempty"`
Priority string `json:"priority,omitempty"`
StartedAt string `json:"started_at,omitempty"`
State string `json:"state,omitempty"`
StateReason string `json:"state_reason,omitempty"`
Title string `json:"title,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
Issue
type IssueComment ¶
type IssueComment struct {
Author *git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.UserInfo `json:"author,omitempty"`
Body string `json:"body,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
Id string `json:"id,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
IssueComment
type IssueDetail ¶
type IssueDetail struct {
Assignees []*git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.UserInfo `json:"assignees,omitempty"`
Author *git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.UserInfo `json:"author,omitempty"`
Body string `json:"body,omitempty"`
CommentCount int `json:"comment_count,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
EndedAt string `json:"ended_at,omitempty"`
Labels []*Label `json:"labels,omitempty"`
LastActedAt string `json:"last_acted_at,omitempty"`
Number string `json:"number,omitempty"`
Priority string `json:"priority,omitempty"`
StartedAt string `json:"started_at,omitempty"`
State string `json:"state,omitempty"`
StateReason string `json:"state_reason,omitempty"`
Title string `json:"title,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
IssueDetail
type Label ¶
type Label struct {
Color string `json:"color,omitempty"`
Description string `json:"description,omitempty"`
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
}
Label
type MergePullRequest ¶
type MergePullRequest struct {
CommitMessage string `json:"commit_message,omitempty"`
CommitTitle string `json:"commit_title,omitempty"`
MergeStyle string `json:"merge_style,omitempty"`
}
MergePullRequest
type MergePullResponse ¶
type MergePullResponse struct {
Merged bool `json:"merged,omitempty"`
Message string `json:"message,omitempty"`
Sha string `json:"sha,omitempty"`
}
MergePullResponse
type PatchIssueAssigneesForm ¶ added in v1.0.6
type PatchIssueAssigneesForm struct {
Assignees []string `json:"assignees,omitempty"`
}
PatchIssueAssigneesForm
type PatchIssueCommentForm ¶
type PatchIssueCommentForm struct {
Body string `json:"body,omitempty"`
}
PatchIssueCommentForm
type PatchIssueForm ¶
type PatchIssueForm struct {
Body string `json:"body,omitempty"`
EndDate string `json:"end_date,omitempty"`
Priority string `json:"priority,omitempty"`
StartDate string `json:"start_date,omitempty"`
State string `json:"state,omitempty"`
StateReason string `json:"state_reason,omitempty"`
Title string `json:"title,omitempty"`
}
PatchIssueForm
type PatchLabelForm ¶
type PatchLabelForm struct {
Color string `json:"color,omitempty"`
Description string `json:"description,omitempty"`
NewName string `json:"new_name,omitempty"`
}
PatchLabelForm
type PatchPullCommentForm ¶ added in v1.1.0
type PatchPullCommentForm struct {
Body string `json:"body,omitempty"`
}
PatchPullCommentForm
type PatchPullRequest ¶
type PatchPullRequest struct {
Body string `json:"body,omitempty"`
State string `json:"state,omitempty"`
Title string `json:"title,omitempty"`
}
PatchPullRequest
type PipelineSettings ¶
type PipelineSettings struct {
AutoTrigger bool `json:"auto_trigger,omitempty"`
ForkedRepoAutoTrigger bool `json:"forked_repo_auto_trigger,omitempty"`
}
PipelineSettings
type PostBlobForm ¶
type PostBlobForm struct {
Content string `json:"content,omitempty"`
Encoding string `json:"encoding,omitempty"`
}
PostBlobForm
type PostIssueAssigneesForm ¶ added in v1.0.5
type PostIssueAssigneesForm struct {
Assignees []string `json:"assignees,omitempty"`
}
PostIssueAssigneesForm
type PostIssueCommentForm ¶
type PostIssueCommentForm struct {
Body string `json:"body,omitempty"`
}
PostIssueCommentForm
type PostIssueForm ¶
type PostIssueForm struct {
Assignees []string `json:"assignees,omitempty"`
Body string `json:"body,omitempty"`
EndDate string `json:"end_date,omitempty"`
Labels []string `json:"labels,omitempty"`
Priority string `json:"priority,omitempty"`
StartDate string `json:"start_date,omitempty"`
Title string `json:"title,omitempty"`
}
PostIssueForm
type PostIssueLabelsForm ¶
type PostIssueLabelsForm struct {
Labels []string `json:"labels,omitempty"`
}
PostIssueLabelsForm
type PostLabelForm ¶
type PostLabelForm struct {
Color string `json:"color,omitempty"`
Description string `json:"description,omitempty"`
Name string `json:"name,omitempty"`
}
PostLabelForm
type PostPullAssigneesForm ¶ added in v1.0.5
type PostPullAssigneesForm struct {
Assignees []string `json:"assignees,omitempty"`
}
PostPullAssigneesForm
type PostPullLabelsForm ¶
type PostPullLabelsForm struct {
Labels []string `json:"labels,omitempty"`
}
PostPullLabelsForm
type PostTagFrom ¶
type PostTagFrom struct {
Message string `json:"message,omitempty"`
Name string `json:"name,omitempty"`
Target string `json:"target,omitempty"`
}
PostTagFrom
type Pull ¶
type Pull struct {
Base *PullRef `json:"base,omitempty"`
BlockedOn string `json:"blocked_on,omitempty"`
Body string `json:"body,omitempty"`
Head *PullRef `json:"head,omitempty"`
IsWip bool `json:"is_wip,omitempty"`
Labels []*Label `json:"labels,omitempty"`
MergedBy *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"merged_by,omitempty"`
Number string `json:"number,omitempty"`
Reviewers []*PullReviewer `json:"reviewers,omitempty"`
State string `json:"state,omitempty"`
Title string `json:"title,omitempty"`
}
Pull
type PullCommentCreationForm ¶
type PullCommentCreationForm struct {
Body string `json:"body,omitempty"`
}
PullCommentCreationForm
type PullCreationForm ¶
type PullCreationForm struct {
Base string `json:"base,omitempty"`
Body string `json:"body,omitempty"`
Head string `json:"head,omitempty"`
HeadRepo string `json:"head_repo,omitempty"`
Title string `json:"title,omitempty"`
}
PullCreationForm
type PullFile ¶ added in v1.1.0
type PullFile struct {
Additions int `json:"additions,omitempty"`
BlobUrl string `json:"blob_url,omitempty"`
ContentsUrl string `json:"contents_url,omitempty"`
Deletions int `json:"deletions,omitempty"`
Filename string `json:"filename,omitempty"`
Patch string `json:"patch,omitempty"`
RawUrl string `json:"raw_url,omitempty"`
Sha string `json:"sha,omitempty"`
Status string `json:"status,omitempty"`
}
PullFile
type PullRef ¶
type PullRef struct {
Ref string `json:"ref,omitempty"`
Repo *Repo `json:"repo,omitempty"`
Sha string `json:"sha,omitempty"`
}
PullRef
type PullRefInfo ¶ added in v1.0.1
type PullRefInfo struct {
Ref string `json:"ref,omitempty"`
Repo *RepoInfo `json:"repo,omitempty"`
Sha string `json:"sha,omitempty"`
}
PullRefInfo
type PullRequest ¶
type PullRequest struct {
Assignees []*git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"assignees,omitempty"`
Author *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"author,omitempty"`
Base *PullRef `json:"base,omitempty"`
BlockedOn string `json:"blocked_on,omitempty"`
CommentCount int `json:"comment_count,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
Head *PullRef `json:"head,omitempty"`
IsWip bool `json:"is_wip,omitempty"`
Labels []*Label `json:"labels,omitempty"`
LastActedAt string `json:"last_acted_at,omitempty"`
MergeableState string `json:"mergeable_state,omitempty"`
MergedBy *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"merged_by,omitempty"`
Number string `json:"number,omitempty"`
Repo *Repo `json:"repo,omitempty"`
ReviewCount int `json:"review_count,omitempty"`
State string `json:"state,omitempty"`
Title string `json:"title,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
PullRequest
type PullRequestComment ¶
type PullRequestComment struct {
Author *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"author,omitempty"`
Body string `json:"body,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
Id string `json:"id,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
PullRequestComment
type PullRequestInfo ¶ added in v1.0.1
type PullRequestInfo struct {
Assignees []*git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.UserInfo `json:"assignees,omitempty"`
Author *git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.UserInfo `json:"author,omitempty"`
Base *PullRefInfo `json:"base,omitempty"`
BlockedOn string `json:"blocked_on,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
Head *PullRefInfo `json:"head,omitempty"`
Labels []*Label `json:"labels,omitempty"`
LastActedAt string `json:"last_acted_at,omitempty"`
MergeableState string `json:"mergeable_state,omitempty"`
MergedBy *git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.UserInfo `json:"merged_by,omitempty"`
Number string `json:"number,omitempty"`
Repo *RepoInfo `json:"repo,omitempty"`
Reviewers []*git_woa_com_cnb_monorepo_git_internal_app_vcs_service_bff_api.UserInfo `json:"reviewers,omitempty"`
State string `json:"state,omitempty"`
Title string `json:"title,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
PullRequestInfo
type PullRequestSettings ¶
type PullRequestSettings struct {
AllowMergeCommitMerge bool `json:"allow_merge_commit_merge,omitempty"`
AllowRebaseMerge bool `json:"allow_rebase_merge,omitempty"`
AllowSquashMerge bool `json:"allow_squash_merge,omitempty"`
MasterAutoAsReviewer bool `json:"master_auto_as_reviewer,omitempty"`
MergeCommitMessageStyle string `json:"merge_commit_message_style,omitempty"`
SquashCommitMessageStyle string `json:"squash_commit_message_style,omitempty"`
}
PullRequestSettings
type PullReview ¶ added in v1.0.7
type PullReview struct {
Author *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"author,omitempty"`
Body string `json:"body,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
Id string `json:"id,omitempty"`
State string `json:"state,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
PullReview
type PullReviewComment ¶ added in v1.0.7
type PullReviewComment struct {
Author *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"author,omitempty"`
Body string `json:"body,omitempty"`
CommitHash string `json:"commit_hash,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
DiffHunk []*DiffLine `json:"diff_hunk,omitempty"`
EndLine int `json:"end_line,omitempty"`
EndSide string `json:"end_side,omitempty"`
Id string `json:"id,omitempty"`
Path string `json:"path,omitempty"`
ReplyToCommentId string `json:"reply_to_comment_id,omitempty"`
ReviewId string `json:"review_id,omitempty"`
ReviewState string `json:"review_state,omitempty"`
StartLine int `json:"start_line,omitempty"`
StartSide string `json:"start_side,omitempty"`
SubjectType string `json:"subject_type,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
PullReviewComment
type PullReviewCommentCreationForm ¶
type PullReviewCommentCreationForm struct {
Body string `json:"body,omitempty"`
EndLine int `json:"end_line,omitempty"`
EndSide string `json:"end_side,omitempty"`
Path string `json:"path,omitempty"`
StartLine int `json:"start_line,omitempty"`
StartSide string `json:"start_side,omitempty"`
SubjectType string `json:"subject_type,omitempty"`
}
PullReviewCommentCreationForm
type PullReviewCreationForm ¶
type PullReviewCreationForm struct {
Body string `json:"body,omitempty"`
Comments []*PullReviewCommentCreationForm `json:"comments,omitempty"`
Event string `json:"event,omitempty"`
}
PullReviewCreationForm
type PullReviewer ¶ added in v1.1.0
type PullReviewer struct {
ReviewState string `json:"review_state,omitempty"`
User *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"user,omitempty"`
}
PullReviewer
type PushLimitSettings ¶
type PushLimitSettings struct {
AllowSinglePushNumber int `json:"allow_single_push_number,omitempty"`
CheckSinglePushNumber bool `json:"check_single_push_number,omitempty"`
OnlyMasterCanPushTag bool `json:"only_master_can_push_tag,omitempty"`
PushCommitMustBe string `json:"push_commit_must_be,omitempty"`
}
PushLimitSettings
type PutIssueLabelsForm ¶
type PutIssueLabelsForm struct {
Labels []string `json:"labels,omitempty"`
}
PutIssueLabelsForm
type PutPullLabelsForm ¶
type PutPullLabelsForm struct {
Labels []string `json:"labels,omitempty"`
}
PutPullLabelsForm
type Release ¶
type Release struct {
Assets []*ReleaseAsset `json:"assets,omitempty"`
Author *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"author,omitempty"`
Body string `json:"body,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
Draft bool `json:"draft,omitempty"`
Id string `json:"id,omitempty"`
IsLatest bool `json:"is_latest,omitempty"`
Name string `json:"name,omitempty"`
Prerelease bool `json:"prerelease,omitempty"`
PublishedAt string `json:"published_at,omitempty"`
TagCommitish string `json:"tag_commitish,omitempty"`
TagName string `json:"tag_name,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
}
Release
type ReleaseAsset ¶
type ReleaseAsset struct {
BrowerDownloadUrl string `json:"brower_download_url,omitempty"`
ContentType string `json:"content_type,omitempty"`
CreatedAt string `json:"created_at,omitempty"`
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Path string `json:"path,omitempty"`
Size int `json:"size,omitempty"`
UpdatedAt string `json:"updated_at,omitempty"`
Uploader *git_woa_com_cnb_monorepo_git_internal_app_git_service_bff_api.UserInfo `json:"uploader,omitempty"`
Url string `json:"url,omitempty"`
}
ReleaseAsset
type Repo ¶
type Repo struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Path string `json:"path,omitempty"`
WebUrl string `json:"web_url,omitempty"`
}
Repo
type RepoInfo ¶ added in v1.0.1
type RepoInfo struct {
Id string `json:"id,omitempty"`
Name string `json:"name,omitempty"`
Path string `json:"path,omitempty"`
WebUrl string `json:"web_url,omitempty"`
}
RepoInfo
type Signature ¶
type Signature struct {
Date string `json:"date,omitempty"`
Email string `json:"email,omitempty"`
Name string `json:"name,omitempty"`
}
Signature
type Tag ¶
type Tag struct {
Commit *Commit `json:"commit,omitempty"`
Name string `json:"name,omitempty"`
Target string `json:"target,omitempty"`
TargetType string `json:"target_type,omitempty"`
Verification *TagObjectVerification `json:"verification,omitempty"`
}
Tag
type TagObjectVerification ¶ added in v1.0.4
type TagObjectVerification struct {
Payload string `json:"payload,omitempty"`
Reason string `json:"reason,omitempty"`
Signature string `json:"signature,omitempty"`
Verified bool `json:"verified,omitempty"`
VerifiedAt string `json:"verified_at,omitempty"`
}
TagObjectVerification
Source Files
¶
- api.go