webhook

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2022 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteWebhook

func DeleteWebhook(namespace string) error

DeleteWebhook represents func for deleting resources for a functional webhook

func InstallWebhook

func InstallWebhook(subj, namespace, certDir string, local bool) error

InstallWebhook represents func for installing needed resources for a functional webhook

Types

type CA

type CA struct {
	Key     []byte
	Cert    []byte
	CertObj *x509.Certificate
	KeyObj  *rsa.PrivateKey
}

CA represents struct for needed items for signing certs with a ca

type Cert

type Cert struct {
	Ca   CA
	Key  []byte
	Cert []byte
}

Cert represents struct for installing webhook resources after cert creation

Jump to

Keyboard shortcuts

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