webhook

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WorkflowPrefix   = "workflow-"
	WorkflowV4Prefix = "workflowv4-"
	PipelinePrefix   = "pipeline-"
	ColliePrefix     = "collie-"
	ServicePrefix    = "service-"
	TestingPrefix    = "testing-"
	ScannerPrefix    = "scanning-"
)

Variables

This section is empty.

Functions

func NewClient

func NewClient() *client

func NewWebhookController

func NewWebhookController() *controller

Types

type TaskOption

type TaskOption struct {
	ID          int
	Name        string
	Owner       string
	Namespace   string
	Repo        string
	Address     string
	Token       string
	Ref         string
	From        string
	AK          string
	SK          string
	Region      string
	IsManual    bool
	EnableProxy bool
}

type WebHook

type WebHook struct {
	Owner, Namespace, Repo, Address, Name string
	CodeHostID                            int
	IsManual                              bool
}

Jump to

Keyboard shortcuts

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