webhook

package
v0.0.0-...-fc7d186 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PluginWebhook

type PluginWebhook struct {
	Url           string
	IgnoreFiles   bool
	IgnoreFolders bool
}

func (PluginWebhook) AfterCopy

func (w PluginWebhook) AfterCopy(source, target *models.Artifact) error

func (PluginWebhook) AfterCreate

func (w PluginWebhook) AfterCreate(a *models.Artifact) error

AfterCreate отправляет цепочку событий создания артефакта.

func (PluginWebhook) AfterDelete

func (w PluginWebhook) AfterDelete(a *models.Artifact) error

AfterDelete отправляет цепочку событий создания артефакта.

func (PluginWebhook) AfterMove

func (w PluginWebhook) AfterMove(source, target *models.Artifact) error

AfterMove отправляет цепочку событий перемещения артефакта.

type Webhook

type Webhook interface {
	AfterCreate(a *models.Artifact) error
	AfterDelete(a *models.Artifact) error
}

Jump to

Keyboard shortcuts

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