app

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitWebhookServer

func InitWebhookServer() error

InitWebhookServer initialises kube-fledged webhook server:- - generates cert/key pair - patched CA bundle to validatingwebhookconfiguration

func StartWebhookServer

func StartWebhookServer(certFile string, keyFile string, port int) error

StartWebhookServer starts a new wwebhook server for kube-fledged

Types

type Config

type Config struct {
	CertFile string
	KeyFile  string
}

Config contains the server (the webhook) cert and key.

Jump to

Keyboard shortcuts

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