Documentation ¶
Index ¶
- Variables
- type Validator
- func (valid *Validator) ValidateCreateCronJobRequest(ctx *gin.Context, rq *nwv1.CreateCronJobRequest) error
- func (valid *Validator) ValidateCreateJobRequest(ctx *gin.Context, rq *nwv1.CreateJobRequest) error
- func (valid *Validator) ValidateDeleteCronJobRequest(ctx *gin.Context, rq *nwv1.DeleteCronJobRequest) error
- func (valid *Validator) ValidateDeleteJobRequest(ctx *gin.Context, rq *nwv1.DeleteJobRequest) error
- func (valid *Validator) ValidateGetCronJobRequest(ctx *gin.Context, rq *nwv1.GetCronJobRequest) error
- func (valid *Validator) ValidateGetJobRequest(ctx *gin.Context, rq *nwv1.GetJobRequest) error
- func (valid *Validator) ValidateListCronJobRequest(ctx *gin.Context, rq *nwv1.ListCronJobRequest) error
- func (valid *Validator) ValidateListJobRequest(ctx *gin.Context, rq *nwv1.ListJobRequest) error
- func (valid *Validator) ValidateUpdateCronJobRequest(ctx *gin.Context, rq *nwv1.UpdateCronJobRequest) error
- func (valid *Validator) ValidateUpdateJobRequest(ctx *gin.Context, rq *nwv1.UpdateJobRequest) error
Constants ¶
This section is empty.
Variables ¶
ProviderSet is validator providers.
Functions ¶
This section is empty.
Types ¶
type Validator ¶
type Validator struct {
// contains filtered or unexported fields
}
Validator struct implements the custom validator interface.
func New ¶
New creates and initializes a custom validator. It receives an instance of store.IStore interface as parameter ds and returns a new *Validator and an error.
func (*Validator) ValidateCreateCronJobRequest ¶
func (*Validator) ValidateCreateJobRequest ¶
func (*Validator) ValidateDeleteCronJobRequest ¶
func (*Validator) ValidateDeleteJobRequest ¶
func (*Validator) ValidateGetCronJobRequest ¶
func (*Validator) ValidateGetJobRequest ¶
func (*Validator) ValidateListCronJobRequest ¶
func (*Validator) ValidateListJobRequest ¶
func (*Validator) ValidateUpdateCronJobRequest ¶
func (*Validator) ValidateUpdateJobRequest ¶
Click to show internal directories.
Click to hide internal directories.