webhook

package
v3.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WebHookHandler

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

func NewWebHookHandler

func NewWebHookHandler(name string, opaClient *opa.Client, kube *kuber.Kube) (*WebHookHandler, error)

func (WebHookHandler) HandleReq

func (wh WebHookHandler) HandleReq(writer http.ResponseWriter, request *http.Request)

func (WebHookHandler) Review

func (*WebHookHandler) Start

func (ah *WebHookHandler) Start(ctx context.Context) error

Jump to

Keyboard shortcuts

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