Documentation ¶
Index ¶
- func New(config *v3.BitbucketCloudPipelineConfig) (model.Remote, error)
- type Author
- type Change
- type Hook
- type Link
- type Links
- type Object
- type PaginatedBranches
- type PaginatedHooks
- type PaginatedRepositories
- type Paging
- type PullRequest
- type PullRequestEndpoint
- type PullRequestEventPayload
- type PushEventPayload
- type Ref
- type Repository
- type Target
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PaginatedBranches ¶
type PaginatedHooks ¶
type PaginatedRepositories ¶
type PaginatedRepositories struct { Paging Values []Repository `json:"values"` }
type PullRequest ¶
type PullRequest struct { ID int `json:"id"` Title string `json:"title"` Description string `json:"description"` State string `json:"state"` Author User `json:"author"` Source PullRequestEndpoint `json:"source"` Destination PullRequestEndpoint `json:"destination"` Links Links `json:"links"` Created string `json:"created_on"` Updated string `json:"updated_on"` }
type PullRequestEndpoint ¶
type PullRequestEndpoint struct { Branch struct { Name string `json:"name"` } `json:"branch"` Commit struct { Hash string `json:"hash"` } `json:"commit"` Repository Repository `json:"repository"` }
type PullRequestEventPayload ¶
type PullRequestEventPayload struct { Actor User `json:"actor"` PullRequest PullRequest `json:"pullrequest"` Repository Repository `json:"repository"` }
type PushEventPayload ¶
type PushEventPayload struct { Actor User `json:"actor"` Repository Repository `json:"repository"` Push struct { Changes []Change `json:"changes"` } `json:"push"` }
type Repository ¶
type Repository struct { Scm string `json:"scm"` Website string `json:"website"` HasWiki bool `json:"has_wiki"` Name string `json:"name"` Links *Links `json:"links"` ForkPolicy string `json:"fork_policy"` Language string `json:"language"` MainBranch Object `json:"mainbranch"` FullName string `json:"full_name"` HasIssues bool `json:"has_issues"` Owner *User `json:"owner"` IsPrivate bool `json:"is_private"` Description string `json:"description"` }
Click to show internal directories.
Click to hide internal directories.