Documentation ¶
Overview ¶
Package projectroletemplatebinding is used for validating projectroletemplatebinding admission request.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Validator ¶ added in v0.2.8
type Validator struct {
// contains filtered or unexported fields
}
Validator validates PRTB admission request.
func NewValidator ¶
func NewValidator(prtb v3.ProjectRoleTemplateBindingCache, crtb v3.ClusterRoleTemplateBindingCache, defaultResolver k8validation.AuthorizationRuleResolver, roleTemplateResolver *auth.RoleTemplateResolver) *Validator
NewValidator returns a new validator used for validation PRTB.
Click to show internal directories.
Click to hide internal directories.