authzwebhook

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Install

func Install(s ssh.Interface, option *Option) error

func WebhookCertAndKeyExist added in v1.6.0

func WebhookCertAndKeyExist(basePath string) bool

WebhookCertAndKeyExist checks whether the certificate and private key exist, for compatibility with old version clusters' webhook certificates and private keys which version are before 1.5, and we will completely replace webhook certificates and private keys' file name in 1.6 or future release.

Types

type Option

type Option struct {
	AuthzWebhookEndpoint string
	IsGlobalCluster      bool
	IsClusterUpscaling   bool
}

Jump to

Keyboard shortcuts

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