Documentation ¶
Index ¶
- func New(URL, apiURL, uiURL, proxyURL string, store cache.Store, username, token string) sdk.VCSServer
- type Author
- type Branch
- type BranchResponse
- type Clone
- type Commit
- type CommitProperties
- type CommitSignature
- type CommitsResponse
- type Content
- type FileContentResponse
- type FileContentResponseLine
- type GetWebHooksResponse
- type Hook
- type HookDetail
- type InsightReport
- type InsightReportData
- type InsightReportDataLink
- type Key
- type Keys
- type Lines
- type Link
- type Links
- type ListContentResponse
- type Options
- type PullRequestResponse
- type Repo
- type Response
- type ResponseStatus
- type Status
- type Tag
- type TagResponse
- type UserPermission
- type UsersPermissionResponse
- type UsersResponse
- type WebHook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BranchResponse ¶
type CommitProperties ¶ added in v0.55.0
type CommitProperties struct {
Signature CommitSignature `json:"signature"`
}
type CommitSignature ¶ added in v0.55.0
type CommitsResponse ¶
type FileContentResponse ¶ added in v0.55.0
type FileContentResponse struct { Lines []FileContentResponseLine `json:"lines"` IsLastPage bool `json:"isLastPage"` }
type FileContentResponseLine ¶ added in v0.55.0
type FileContentResponseLine struct {
Text string `json:"text"`
}
type GetWebHooksResponse ¶
type GetWebHooksResponse struct {
Values []WebHook `json:"values"`
}
GetWebHooksResponse represent the response send by bitbucket when listing webhooks
type Hook ¶
type Hook struct { Enabled bool `json:"enabled"` Details *HookDetail `json:"details"` }
type HookDetail ¶
type InsightReport ¶ added in v0.55.0
type InsightReport struct { Title string `json:"title"` Detail string `json:"details,omitempty"` Result string `json:"result,omitempty"` Data []InsightReportData `json:"data,omitempty"` Reporter string `json:"reporter,omitempty"` Link string `json:"link,omitempty"` LogoURL string `json:"logoUrl,omitempty"` }
type InsightReportData ¶ added in v0.55.0
type InsightReportDataLink ¶ added in v0.55.0
type ListContentResponse ¶ added in v0.55.0
type PullRequestResponse ¶
type PullRequestResponse struct { Values []sdk.BitbucketServerPullRequest `json:"values"` Size int `json:"size"` NextPageStart int `json:"nextPageStart"` IsLastPage bool `json:"isLastPage"` }
type ResponseStatus ¶
type TagResponse ¶
type UserPermission ¶
type UserPermission struct { User sdk.BitbucketServerActor `json:"user"` Permission string `json:"permission"` }
type UsersPermissionResponse ¶
type UsersPermissionResponse struct { Values []UserPermission `json:"values"` Size int `json:"size"` NextPageStart int `json:"nextPageStart"` IsLastPage bool `json:"isLastPage"` }
type UsersResponse ¶
type UsersResponse struct { Values []sdk.BitbucketServerActor `json:"values"` Size int `json:"size"` NextPageStart int `json:"nextPageStart"` IsLastPage bool `json:"isLastPage"` }
Click to show internal directories.
Click to hide internal directories.