fixtures

package
v3.0.0-...-181f513 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

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

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

View Source
const HookPullRequest = `` /* 1187-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 = `` /* 26378-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 = `` /* 27390-byte string literal not displayed */
View Source
const HookPush = `` /* 9105-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 = `` /* 9616-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