package validation
import "k8s.io/apiserver/pkg/apis/apiserver/validation"
Package validation validates EncryptionConfiguration.
Index ¶
- func CompileAndValidateJWTAuthenticator(compiler authenticationcel.Compiler, authenticator api.JWTAuthenticator, disallowedIssuers []string) (authenticationcel.CELMapper, field.ErrorList)
- func ValidateAndCompileMatchConditions(compiler authorizationcel.Compiler, matchConditions []api.WebhookMatchCondition) (*authorizationcel.CELMatcher, field.ErrorList)
- func ValidateAuthenticationConfiguration(compiler authenticationcel.Compiler, c *api.AuthenticationConfiguration, disallowedIssuers []string) field.ErrorList
- func ValidateAuthorizationConfiguration(compiler authorizationcel.Compiler, fldPath *field.Path, c *api.AuthorizationConfiguration, knownTypes sets.Set[string], repeatableTypes sets.Set[string]) field.ErrorList
- func ValidateEncryptionConfiguration(c *apiserver.EncryptionConfiguration, reload bool) field.ErrorList
- func ValidateWebhookConfiguration(compiler authorizationcel.Compiler, fldPath *field.Path, c *api.WebhookConfiguration) field.ErrorList
Functions ¶
func CompileAndValidateJWTAuthenticator ¶
func CompileAndValidateJWTAuthenticator(compiler authenticationcel.Compiler, authenticator api.JWTAuthenticator, disallowedIssuers []string) (authenticationcel.CELMapper, field.ErrorList)
CompileAndValidateJWTAuthenticator validates a given JWTAuthenticator and returns a CELMapper with the compiled CEL expressions for claim mappings and validation rules. This is exported for use in oidc package.
func ValidateAndCompileMatchConditions ¶
func ValidateAndCompileMatchConditions(compiler authorizationcel.Compiler, matchConditions []api.WebhookMatchCondition) (*authorizationcel.CELMatcher, field.ErrorList)
ValidateAndCompileMatchConditions validates a given webhook's matchConditions. This is exported for use in authz package.
func ValidateAuthenticationConfiguration ¶
func ValidateAuthenticationConfiguration(compiler authenticationcel.Compiler, c *api.AuthenticationConfiguration, disallowedIssuers []string) field.ErrorList
ValidateAuthenticationConfiguration validates a given AuthenticationConfiguration.
func ValidateAuthorizationConfiguration ¶
func ValidateAuthorizationConfiguration(compiler authorizationcel.Compiler, fldPath *field.Path, c *api.AuthorizationConfiguration, knownTypes sets.Set[string], repeatableTypes sets.Set[string]) field.ErrorList
ValidateAuthorizationConfiguration validates a given AuthorizationConfiguration.
func ValidateEncryptionConfiguration ¶
func ValidateEncryptionConfiguration(c *apiserver.EncryptionConfiguration, reload bool) field.ErrorList
ValidateEncryptionConfiguration validates a v1.EncryptionConfiguration.
func ValidateWebhookConfiguration ¶
func ValidateWebhookConfiguration(compiler authorizationcel.Compiler, fldPath *field.Path, c *api.WebhookConfiguration) field.ErrorList
Source Files ¶
validation.go validation_encryption.go
- Version
- v0.32.0-beta.0
- Published
- Nov 6, 2024
- Platform
- js/wasm
- Imports
- 24 packages
- Last checked
- 1 minute ago –
Tools for package owners.