Documentation ¶
Index ¶
- func New(config *v3.BitbucketServerPipelineConfig) (model.Remote, error)
- type AccessToken
- type Branch
- type Change
- type Commit
- type Hook
- type HookConfiguration
- type LastModified
- type Link
- type Links
- type PaginatedAccessToken
- type PaginatedBranches
- type PaginatedHooks
- type PaginatedRepositories
- type Project
- type PullRequest
- type PullRequestEventPayload
- type PushEventPayload
- type Ref
- type Repository
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessToken ¶
type HookConfiguration ¶
type HookConfiguration struct {
Secret string `json:"secret"`
}
type LastModified ¶
type PaginatedAccessToken ¶
type PaginatedAccessToken struct { Values []AccessToken `json:"values"` // contains filtered or unexported fields }
type PaginatedBranches ¶
type PaginatedBranches struct { Values []Branch `json:"values"` // contains filtered or unexported fields }
type PaginatedHooks ¶
type PaginatedHooks struct { Values []Hook `json:"values"` // contains filtered or unexported fields }
type PaginatedRepositories ¶
type PaginatedRepositories struct { Values []Repository `json:"values"` // contains filtered or unexported fields }
type PullRequest ¶
type PullRequest struct { ID int `json:"id"` Version int `json:"version"` Title string `json:"title"` Description string `json:"description"` State string `json:"state"` Open bool `json:"open"` Closed bool `json:"closed"` FromRef Ref `json:"fromRef"` ToRef Ref `json:"toRef"` Locked bool `json:"locked"` Author struct { User User `json:"user"` Role string `json:"role"` Approved bool `json:"approved"` Status string `json:"status"` } `json:"author"` Links Links `json:"links"` }
type PullRequestEventPayload ¶
type PullRequestEventPayload struct { EventKey string `json:"eventKey"` Date string `json:"date"` Actor User `json:"actor"` PullRequest PullRequest `json:"pullRequest"` }
type PushEventPayload ¶
type PushEventPayload struct { EventKey string `json:"eventKey"` Date string `json:"date"` Actor User `json:"actor"` Repository Repository `json:"repository"` Changes []Change `json:"changes"` }
type Ref ¶
type Ref struct { ID string `json:"id"` DisplayID string `json:"displayId"` LatestCommit string `json:"latestCommit"` Repository Repository `json:"repository"` }
type Repository ¶
type Repository struct { Slug string `json:"slug"` ID int `json:"id"` Name string `json:"name"` ScmID string `json:"scmId"` State string `json:"state"` StatusMessage string `json:"statusMessage"` Forkable bool `json:"forkable"` Project Project `json:"project"` Public bool `json:"public"` Links Links `json:"links"` }
Click to show internal directories.
Click to hide internal directories.