validator

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Validator

type Validator interface {
	ValidateRBAC(ctx context.Context, rules *models.RBACRules) error
}

Validator is a generic validator for validating certain conditions (e.g. rbac resources matches)

func NewValidator

func NewValidator(rbacValidator rbacValidator) Validator

NewValidator is a constructor for validator

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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