Documentation ¶
Index ¶
- func IsValidRating(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool
- func IsValidResolution(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool
- func IsValidRetrospectiveFeedbackScope(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool
- func IsValidSprint(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool
- func IsValidTaskProviderConfigList(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool
- func IsValidTaskRole(v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, ...) bool
- func IsValidTeam(db *gorm.DB) validator.Func
- type RetrospectiveValidators
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidRating ¶
func IsValidRating( v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, field reflect.Value, fieldType reflect.Type, fieldKind reflect.Kind, param string, ) bool
IsValidRating ... noinspection GoUnusedParameter
func IsValidResolution ¶
func IsValidResolution( v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, field reflect.Value, fieldType reflect.Type, fieldKind reflect.Kind, param string, ) bool
IsValidResolution ... noinspection GoUnusedParameter
func IsValidRetrospectiveFeedbackScope ¶
func IsValidRetrospectiveFeedbackScope( v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, field reflect.Value, fieldType reflect.Type, fieldKind reflect.Kind, param string, ) bool
IsValidRetrospectiveFeedbackScope ... noinspection GoUnusedParameter
func IsValidSprint ¶
func IsValidSprint( v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, field reflect.Value, fieldType reflect.Type, fieldKind reflect.Kind, param string, ) bool
IsValidSprint ... noinspection GoUnusedParameter
func IsValidTaskProviderConfigList ¶
func IsValidTaskProviderConfigList( v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, field reflect.Value, fieldType reflect.Type, fieldKind reflect.Kind, param string, ) bool
IsValidTaskProviderConfigList validates the TaskProviderConfig noinspection GoUnusedParameter
func IsValidTaskRole ¶
func IsValidTaskRole( v *validator.Validate, topStruct reflect.Value, currentStruct reflect.Value, field reflect.Value, fieldType reflect.Type, fieldKind reflect.Kind, param string, ) bool
IsValidTaskRole ... noinspection GoUnusedParameter
func IsValidTeam ¶
IsValidTeam validates the Team, given the team id, it checks if the team exists and the user is a team member
Types ¶
type RetrospectiveValidators ¶
RetrospectiveValidators is used for registering validators for the retrospective app
func (RetrospectiveValidators) Register ¶
func (retroValidator RetrospectiveValidators) Register()
Register registers all the validators for the retrospective serializers
Click to show internal directories.
Click to hide internal directories.