webhook

package
v0.0.0-...-87bc864 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	IntelID    = "8086"
	MellanoxID = "15b3"
	MlxMaxVFs  = 128
)

Variables

View Source
var Codecs = serializer.NewCodecFactory(scheme)
View Source
var (
	InfiniBandIsRdmaPatch = map[string]interface{}{"op": "add", "path": "/spec/isRdma", "value": true}
)

Functions

func NewTlsKeypairReloader

func NewTlsKeypairReloader(certPath, keyPath string) (*tlsKeypairReloader, error)

func SetupInClusterClient

func SetupInClusterClient() error

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