webhook

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NA = "not_available"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Containers []corev1.Container `yaml:"containers"`
	Volumes    []corev1.Volume    `yaml:"volumes"`
}

type WebHookServerInt

type WebHookServerInt interface {
	Start()
	Stop()
	// contains filtered or unexported methods
}

func NewWebhookServer

func NewWebhookServer(webHook WebHookServerParameters) (WebHookServerInt, error)

type WebHookServerParameters

type WebHookServerParameters struct {
	Port           int    // webhook server port
	CertFile       string // path to the x509 certificate for https
	KeyFile        string // path to the x509 private key matching `CertFile`
	SidecarCfgFile string
}

Webhook Server parameters

Jump to

Keyboard shortcuts

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