fixtures

package
v2.7.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const HookDeploy = `` /* 1002-byte string literal not displayed */

HookPush is a sample deployment hook. https://developer.github.com/v3/activity/events/types/#deploymentevent

View Source
const HookPullRequest = `` /* 1269-byte string literal not displayed */

HookPullRequest is a sample hook pull request https://developer.github.com/v3/activity/events/types/#pullrequestevent

View Source
const HookPullRequestClosed = `` /* 28043-byte string literal not displayed */

HookPullRequest is a sample hook pull request https://developer.github.com/v3/activity/events/types/#pullrequestevent

View Source
const HookPullRequestInvalidAction = `
{
  "action": "reopened",
  "number": 1
}
`

HookPullRequestInvalidAction is a sample hook pull request that has an action not equal to synchronize or opened, and is expected to be ignored.

View Source
const HookPullRequestInvalidState = `
{
  "action": "synchronize",
  "pull_request": {
    "number": 1,
    "state": "closed"
  }
}
`

HookPullRequestInvalidState is a sample hook pull request that has a state not equal to open, and is expected to be ignored.

View Source
const HookPullRequestMerged = `` /* 29111-byte string literal not displayed */
View Source
const HookPush = `` /* 10184-byte string literal not displayed */

HookPush is a sample push hook. https://developer.github.com/v3/activity/events/types/#pushevent

View Source
const HookPushDeleted = `
{
  "deleted": true
}
`

HookPushDeleted is a sample push hook that is marked as deleted, and is expected to be ignored.

View Source
const HookRelease = `` /* 9981-byte string literal not displayed */

Variables

This section is empty.

Functions

func Handler

func Handler() http.Handler

Handler returns an http.Handler that is capable of handling a variety of mock Bitbucket requests and returning mock responses.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL