validator

package
v1.134.2 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const Path = "/radix/v1/radixapplication/validate"

Variables

This section is empty.

Functions

This section is empty.

Types

type RadixApplicationValidator

type RadixApplicationValidator struct {
	// contains filtered or unexported fields
}

RadixApplicationValidator validates the EasyAuth annotations of RadixApplications, and rejects RadixApplications missing the required annotation when enforced is true

func NewRadixApplicationValidator

func NewRadixApplicationValidator(defaultAllowedGroups []string, enforced bool) *RadixApplicationValidator

NewRadixApplicationValidator returns a validator that requires annotations.EasyAuth to be empty, and rejects RadixApplications with annotations.EasyAuth that have no allowed groups in annotations.AllowedIdentities or defaultAllowedGroups, or invalid groups in annotations.AllowedIdentities. RadixApplications without annotations.EasyAuth are rejected when enforced is true.

func (*RadixApplicationValidator) SetupWithManager

func (v *RadixApplicationValidator) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager registers the validating webhook with the Manager

func (*RadixApplicationValidator) ValidateCreate

func (*RadixApplicationValidator) ValidateDelete

func (*RadixApplicationValidator) ValidateUpdate

Jump to

Keyboard shortcuts

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