extensions

package
v0.11.2-rc1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseIncomingWebhookMessage added in v0.9.0

func ParseIncomingWebhookMessage(req *http.Request) (config.WebhookMessage, error)

ParseIncomingWebhookMessage return non-pointer for performance reasons

func StartOpniEmbeddedServer

func StartOpniEmbeddedServer(
	ctx context.Context,
	opniAddr string,
	sendK8s bool,
) *http.Server

Types

type EmbeddedServer added in v0.9.0

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

func NewEmbeddedServer added in v0.9.0

func NewEmbeddedServer(
	lg *zap.SugaredLogger,
	lub int,
	sendK8s bool,
) *EmbeddedServer

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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