validation

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 34 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

Overview

Package validation provides the validation handler.

Package validation provides the validation handler.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidRequest is an error that appears when the request is invalid.
	ErrInvalidRequest = errors.New("invalid request")
)

Functions

func ErrCreateStorageNotSupported

func ErrCreateStorageNotSupported(storageType string) error

ErrCreateStorageNotSupported appears when trying to create a storage of a type that is not supported.

func ErrDuplicateSourceRange added in v1.8.0

func ErrDuplicateSourceRange(sourceRange v1alpha1.IPSourceRange) error

ErrDuplicateSourceRange appears when a duplicated source range is found.

func ErrInvalidURL

func ErrInvalidURL(fieldName string) error

ErrInvalidURL when the given fieldName contains invalid URL.

func ErrUpdateStorageNotSupported

func ErrUpdateStorageNotSupported(storageType string) error

ErrUpdateStorageNotSupported appears when trying to update a storage of a type that is not supported.

func New

func New(
	log *zap.SugaredLogger,
	kubeConnector kubernetes.KubernetesConnector,
) handlers.Handler

New returns a new RBAC handler.

Types

This section is empty.

Jump to

Keyboard shortcuts

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