Documentation
¶
Index ¶
- type Author
- type Branch
- type Change
- type ChangeType
- type Comment
- type Comments
- type Commit
- type CommitStatusState
- type Content
- type Destination
- type HTMLLink
- type IPRanges
- type IPRangesItem
- type Links
- type Member
- type Members
- type PullRequest
- type PullRequestEvent
- type Push
- type PushRequestEvent
- type Repository
- type Source
- type Status
- type User
- type Workspace
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Change ¶
type Change struct {
New ChangeType
Old ChangeType
}
type ChangeType ¶
type CommitStatusState ¶ added in v0.43.0
type CommitStatusState string
const ( StateStopped CommitStatusState = "STOPPED" StateFailed CommitStatusState = "FAILED" StateInProgress CommitStatusState = "INPROGRESS" StateSuccessful CommitStatusState = "SUCCESSFUL" )
See: https://api.bitbucket.org/swagger.json attribute: "definitions.commitStatus.allOf[1].properties.state.enum" for specification.
type Destination ¶
type Destination struct {
Branch Branch `json:"branch"`
Commit Commit `json:"commit"`
Repository Repository `json:"repository"`
}
type IPRanges ¶
type IPRanges struct {
Items []IPRangesItem
}
type IPRangesItem ¶
type IPRangesItem struct {
Network string
CIDR string
MaskLen string // `json:"mask_len"`
Mask string
}
IPRangesItem https://ip-ranges.atlassian.com/
type PullRequest ¶
type PullRequestEvent ¶
type PullRequestEvent struct {
Repository Repository `json:"repository"`
PullRequest PullRequest `json:"pullrequest"`
Comment Comment `json:"comment"`
}
type PushRequestEvent ¶
type PushRequestEvent struct {
Repository Repository
Actor User
Push Push `json:"push"`
}
type Repository ¶
type Source ¶
type Source struct {
Branch Branch `json:"branch"`
Commit Commit `json:"commit"`
Repository Repository `json:"repository"`
}
type Status ¶ added in v0.46.0
type Status struct {
Key string `json:"key"`
Type string `json:"type"`
State string `json:"state"`
Name string `json:"name"`
RefName string `json:"refname"`
Commit Commit `json:"commit"`
URL string `json:"url"`
Repository Repository `json:"repository"`
Description string `json:"description"`
Links Links `json:"links"`
}
Click to show internal directories.
Click to hide internal directories.