webhook

package
v0.10.9 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AgentName = "webhook"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

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

func NewWebhook

func NewWebhook(
	bindAddr, bindPort, tlsPrivateKeyFile, tlsCertFile string,
	shipperClientset clientset.Interface,
	shipperInformerFactory informers.SharedInformerFactory,
	webhookMetric prometheus.WebhookMetric,
	heartbeatPeriod time.Duration,
) *Webhook

func (*Webhook) Run

func (c *Webhook) Run(stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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