Documentation
¶
Overview ¶
Package validation provides the validation handler.
Package validation provides the validation handler.
Index ¶
- Variables
- func ErrCreateStorageNotSupported(storageType string) error
- func ErrDuplicateSourceRange(sourceRange v1alpha1.IPSourceRange) error
- func ErrInvalidURL(fieldName string) error
- func ErrUpdateStorageNotSupported(storageType string) error
- func New(log *zap.SugaredLogger, kubeConnector kubernetes.KubernetesConnector) handlers.Handler
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 ¶
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 ¶
ErrInvalidURL when the given fieldName contains invalid URL.
func ErrUpdateStorageNotSupported ¶
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.
Click to show internal directories.
Click to hide internal directories.