webhook

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: Apache-2.0 Imports: 15 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 added in v1.3.0

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
	EnableProxy bool
}

type WebHook added in v1.3.0

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

Jump to

Keyboard shortcuts

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