mocks

package
Version: v0.0.0-...-4b5e787 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebhookData

type WebhookData struct {
	mock.Mock
}

WebhookData is an autogenerated mock type for the WebhookData type

func (*WebhookData) AzureDevopsDeleted

func (_m *WebhookData) AzureDevopsDeleted(e *azuredevops.GitPush) bool

AzureDevopsDeleted provides a mock function with given fields: e

func (*WebhookData) BitbucketDeleted

func (_m *WebhookData) BitbucketDeleted(b bitbucket.RepoPushPayload) bool

BitbucketDeleted provides a mock function with given fields: b

func (*WebhookData) BitbucketServerDeleted

func (_m *WebhookData) BitbucketServerDeleted(c *go_bitbucket_serverbitbucket.PushEvent)

BitbucketServerDeleted provides a mock function with given fields: c

func (*WebhookData) GitlabDeleted

func (_m *WebhookData) GitlabDeleted(c *gitlab.PushEvent) bool

GitlabDeleted provides a mock function with given fields: c

func (*WebhookData) ParseAzureDevops

func (_m *WebhookData) ParseAzureDevops(c *gin.Context) error

ParseAzureDevops provides a mock function with given fields: c

func (*WebhookData) ParseBitbucket

func (_m *WebhookData) ParseBitbucket(c *gin.Context) error

ParseBitbucket provides a mock function with given fields: c

func (*WebhookData) ParseBitbucketServer

func (_m *WebhookData) ParseBitbucketServer(c *gin.Context) error

ParseBitbucketServer provides a mock function with given fields: c

func (*WebhookData) ParseBranch

func (_m *WebhookData) ParseBranch(e *azuredevops.GitPush) string

ParseBranch provides a mock function with given fields: e

func (*WebhookData) ParseData

func (_m *WebhookData) ParseData(c *gin.Context) error

ParseData provides a mock function with given fields: c

func (*WebhookData) ParseGithub

func (_m *WebhookData) ParseGithub(c *gin.Context) error

ParseGithub provides a mock function with given fields: c

func (*WebhookData) ParseGitlab

func (_m *WebhookData) ParseGitlab(c *gin.Context) error

ParseGitlab provides a mock function with given fields: c

func (*WebhookData) ParseHeaders

func (_m *WebhookData) ParseHeaders(headers *http.Header) (string, error)

ParseHeaders provides a mock function with given fields: headers

func (*WebhookData) ParseRawResource

func (_m *WebhookData) ParseRawResource(e *azuredevops.Event) (*azuredevops.GitPush, error)

ParseRawResource provides a mock function with given fields: e

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL