hook

package
v0.0.0-...-8fb0621 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddHook

func AddHook(clientGitlab *client.ClientGitlab, url string, pushEvents, tagPushEvents, mergeRequestsEvents, repositoryUpdateEvents, enableSSLVerification *bool) bool

func DeleteHook

func DeleteHook(clientGitlab *client.ClientGitlab, id int) bool

func ListHook

func ListHook(clientGitlab *client.ClientGitlab) bool

func TestHook

func TestHook(clientGitlab *client.ClientGitlab, id int) bool

Types

type AddHookPayload

type AddHookPayload struct {
	Url                    string
	PushEvents             *bool
	TagPushEvents          *bool
	MergeRequestsEvents    *bool
	RepositoryUpdateEvents *bool
	EnableSSLVerification  *bool
}

type AddHookServerPayload

type AddHookServerPayload struct {
	UrlServer              string
	UrlHook                string
	PushEvents             *bool
	TagPushEvents          *bool
	MergeRequestsEvents    *bool
	RepositoryUpdateEvents *bool
	EnableSSLVerification  *bool
}

type DeleteHookPayload

type DeleteHookPayload struct {
	Id int
}

type TestHookPayload

type TestHookPayload struct {
	Id int
}

Jump to

Keyboard shortcuts

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