Documentation
¶
Index ¶
- type Argument
- type BatchConfigValidation
- type SlicePairToValidate
- type SliceValidator
- type TypeValidation
- func (v TypeValidation) GetParamType(name string) string
- func (v *TypeValidation) HasExhausted(paramType string) bool
- func (v *TypeValidation) SetNameInParams(name string)
- func (v *TypeValidation) SetParamInfo(name string, paramType string)
- func (v *TypeValidation) SetParamName(name string)
- func (v *TypeValidation) SetParamType(paramType string)
- func (v TypeValidation) TypeExclExists() bool
- func (v TypeValidation) TypeExists() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchConfigValidation ¶
type BatchConfigValidation struct {
SliceValidators []SliceValidator
Exact bool
}
func (BatchConfigValidation) Validate ¶
func (v BatchConfigValidation) Validate() error
type SlicePairToValidate ¶
type SliceValidator ¶
type SliceValidator interface {
// contains filtered or unexported methods
}
type TypeValidation ¶
type TypeValidation struct {
TypeMap map[string]int
NamedTypesMap map[string]string
CurParamName string
CurParamType string
CurNameInParams bool
}
func (TypeValidation) GetParamType ¶
func (v TypeValidation) GetParamType(name string) string
func (*TypeValidation) HasExhausted ¶
func (v *TypeValidation) HasExhausted(paramType string) bool
func (*TypeValidation) SetNameInParams ¶
func (v *TypeValidation) SetNameInParams(name string)
func (*TypeValidation) SetParamInfo ¶
func (v *TypeValidation) SetParamInfo(name string, paramType string)
func (*TypeValidation) SetParamName ¶
func (v *TypeValidation) SetParamName(name string)
func (*TypeValidation) SetParamType ¶
func (v *TypeValidation) SetParamType(paramType string)
func (TypeValidation) TypeExclExists ¶
func (v TypeValidation) TypeExclExists() bool
func (TypeValidation) TypeExists ¶
func (v TypeValidation) TypeExists() bool
Click to show internal directories.
Click to hide internal directories.