Documentation
¶
Overview ¶
Package validation provides the validation handler.
Package validation provides the validation handler.
Index ¶
- Variables
- func ErrCreateStorageNotSupported(storageType string) error
- func ErrInvalidURL(fieldName string) error
- func ErrNameNotRFC1035Compatible(fieldName string) error
- func ErrNameTooLong(fieldName string) error
- func ErrUpdateStorageNotSupported(storageType string) error
- func New(log *zap.SugaredLogger, kubeClient *kubernetes.Kubernetes) 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 ErrInvalidURL ¶
ErrInvalidURL when the given fieldName contains invalid URL.
func ErrNameNotRFC1035Compatible ¶
ErrNameNotRFC1035Compatible when the given fieldName doesn't contain RFC 1035 compatible string.
func ErrNameTooLong ¶
ErrNameTooLong when the given fieldName is too long.
func ErrUpdateStorageNotSupported ¶
ErrUpdateStorageNotSupported appears when trying to update a storage of a type that is not supported.
func New ¶
func New( log *zap.SugaredLogger, kubeClient *kubernetes.Kubernetes, ) handlers.Handler
New returns a new RBAC handler.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.