module

package
v1.52.4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertificateIssuerName

func GetCertificateIssuerName(moduleName string, input *go_hook.HookInput) string

func GetConfigValuesFirstDefined

func GetConfigValuesFirstDefined(input *go_hook.HookInput, keys ...string) (v gjson.Result, ok bool)

func GetHTTPSMode

func GetHTTPSMode(moduleName string, input *go_hook.HookInput) string

func GetHTTPSSecretName

func GetHTTPSSecretName(prefix string, moduleName string, input *go_hook.HookInput) string

func GetIngressClass

func GetIngressClass(moduleName string, input *go_hook.HookInput) string

func GetPublicDomain

func GetPublicDomain(moduleName string, input *go_hook.HookInput) string

func GetValuesFirstDefined

func GetValuesFirstDefined(input *go_hook.HookInput, keys ...string) (v gjson.Result, ok bool)

func IsEnabled

func IsEnabled(moduleName string, input *go_hook.HookInput) bool

IsEnabled check module on enable. moduleName should be in `kebab-case` without order prefix

func RegisterValidationHandler added in v1.47.0

func RegisterValidationHandler(route string, handler http.Handler)

func SetupAdmissionRoutes added in v1.47.0

func SetupAdmissionRoutes(srv AdmissionServer)

Types

type AdmissionServer added in v1.47.0

type AdmissionServer interface {
	RegisterHandler(route string, handler http.Handler)
}

Jump to

Keyboard shortcuts

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