workflowWebhookListener

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterWebhook

func RegisterWebhook(c client.Client, ctx context.Context, namespace string, name string)

func UnregisterWebhook

func UnregisterWebhook(namespace string, name string)

Types

type Config

type Config struct {
	Addr   string
	Client client.Client
}

type Webhook

type Webhook struct {
	// contains filtered or unexported fields
}

func New

func New(config *Config) (*Webhook, error)

func (*Webhook) Start

func (wc *Webhook) Start(ctx context.Context) error

Starts WorkflowWebhookListener and blocks until the context is cancelled. Returns an error if there is an error.

Jump to

Keyboard shortcuts

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