authconfig

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsValidLdapAttr

func IsValidLdapAttr(attr string) bool

IsValidLdapAttr returns true is the given attribute name conforms with either numeric OID or short name format. Note: this must match the corresponding validation logic in rancher/rancher.

Types

type Validator

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

Validator validates authconfigs.

func NewValidator

func NewValidator() *Validator

NewValidator returns a new Validator instance.

func (*Validator) Admitters

func (v *Validator) Admitters() []admission.Admitter

Admitters returns the admitter objects.

func (*Validator) GVR

GVR returns the GroupVersionResource.

func (*Validator) Operations

Operations returns list of operations handled by the validator.

func (*Validator) ValidatingWebhook

ValidatingWebhook returns the ValidatingWebhook.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳