fixtures

package
v0.8.0-rc.4 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

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

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

View Source
const HookPullRequest = `` /* 1275-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 synchrize 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 HookPush = `` /* 1226-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
}
`

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

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