Documentation ¶
Index ¶
Constants ¶
View Source
const CIWEBHOOKNAME = "CIEndpoint"
View Source
const CIWEBHOOKTYPE = "forwardPost"
Variables ¶
View Source
var ( ErrDelWebhook = errors.New("delete webhook fail") ErrCreateWebhook = errors.New("create webhook fail") CIWebhookEndpoint = "" )
Functions ¶
func CreateCIEndpointWebhook ¶
func CreateCIEndpointWebhook() error
Types ¶
type WebhookGenericObject ¶
type WebhookGenericObject struct { ID string Name string State string Links map[string]string Driver string URL string Key string Config interface{} `json:"forwardPostConfig"` }
func ConvertToWebhookGenericObject ¶
func ConvertToWebhookGenericObject(genericObject client.GenericObject) (WebhookGenericObject, error)
Click to show internal directories.
Click to hide internal directories.