Documentation ¶
Index ¶
- func Initialize(e *echo.Echo)
- func ValidateBuilderSource(field validator.FieldLevel) bool
- func ValidateCronRule(field validator.FieldLevel) bool
- func ValidateDigest(field validator.FieldLevel) bool
- func ValidateEmail(field validator.FieldLevel) bool
- func ValidateNamespace(field validator.FieldLevel) bool
- func ValidateNamespaceRaw(namespace string) bool
- func ValidateNamespaceRole(field validator.FieldLevel) bool
- func ValidateOciPlatforms(field validator.FieldLevel) bool
- func ValidatePassword(field validator.FieldLevel) bool
- func ValidateProvider(field validator.FieldLevel) bool
- func ValidateRepository(field validator.FieldLevel) bool
- func ValidateRepositoryRaw(repository string) bool
- func ValidateRetentionPattern(field validator.FieldLevel) bool
- func ValidateRetentionRuleType(field validator.FieldLevel) bool
- func ValidateScmCredentialType(field validator.FieldLevel) bool
- func ValidateTag(field validator.FieldLevel) bool
- func ValidateUserRole(field validator.FieldLevel) bool
- func ValidateUserStatue(field validator.FieldLevel) bool
- func ValidateUsername(field validator.FieldLevel) bool
- func ValidateVisibility(field validator.FieldLevel) bool
- type CustomValidator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateBuilderSource ¶
func ValidateBuilderSource(field validator.FieldLevel) bool
ValidateBuilderSource validates the builder source
func ValidateDigest ¶
func ValidateDigest(field validator.FieldLevel) bool
ValidateDigest validates the digest
func ValidateEmail ¶
func ValidateEmail(field validator.FieldLevel) bool
ValidateEmail validates the email
func ValidateNamespace ¶
func ValidateNamespace(field validator.FieldLevel) bool
ValidateNamespace validates the namespace name
func ValidateNamespaceRaw ¶
ValidateNamespaceRaw ...
func ValidateNamespaceRole ¶
func ValidateNamespaceRole(field validator.FieldLevel) bool
ValidateNamespaceRole ...
func ValidateOciPlatforms ¶
func ValidateOciPlatforms(field validator.FieldLevel) bool
ValidateOciPlatforms validates oci platforms
func ValidatePassword ¶
func ValidatePassword(field validator.FieldLevel) bool
ValidatePassword validates the password
func ValidateProvider ¶
func ValidateProvider(field validator.FieldLevel) bool
ValidateProvider validates the provider
func ValidateRepository ¶
func ValidateRepository(field validator.FieldLevel) bool
ValidateRepository validates the repository name
func ValidateRepositoryRaw ¶
ValidateRepositoryRaw ...
func ValidateRetentionPattern ¶
func ValidateRetentionPattern(field validator.FieldLevel) bool
ValidateRetentionPattern ...
func ValidateRetentionRuleType ¶
func ValidateRetentionRuleType(field validator.FieldLevel) bool
ValidateRetentionRuleType ...
func ValidateScmCredentialType ¶
func ValidateScmCredentialType(field validator.FieldLevel) bool
ValidateScmCredentialType validates the ScmCredentialType
func ValidateUserRole ¶
func ValidateUserRole(field validator.FieldLevel) bool
ValidateUserRole validates the user role
func ValidateUserStatue ¶
func ValidateUserStatue(field validator.FieldLevel) bool
ValidateUserStatue validates the user status
func ValidateUsername ¶
func ValidateUsername(field validator.FieldLevel) bool
ValidateUsername validates the username
func ValidateVisibility ¶
func ValidateVisibility(field validator.FieldLevel) bool
ValidateVisibility validates the visibility
Types ¶
type CustomValidator ¶
type CustomValidator struct {
// contains filtered or unexported fields
}
CustomValidator is a custom validator for echo
func (*CustomValidator) Validate ¶
func (cv *CustomValidator) Validate(i interface{}) error
Validate validates the input