Documentation
¶
Index ¶
- func NewReference() string
- type ArrayParsable
- type ErrorReporter
- type Normalizable
- type ObjectParsable
- type Source
- type Validatable
- type ValidatableWithInt
- type ValidatableWithIntInput
- type ValidatableWithString
- type ValidatableWithStringArray
- type ValidatableWithStringArrayInput
- type ValidatableWithStringInput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReference ¶
func NewReference() string
Types ¶
type ArrayParsable ¶
type ArrayParsable struct {
ParseInvocations int
ParseInputs []structure.ArrayParser
}
func NewArrayParsable ¶
func NewArrayParsable() *ArrayParsable
func (*ArrayParsable) Expectations ¶
func (a *ArrayParsable) Expectations()
func (*ArrayParsable) Parse ¶
func (a *ArrayParsable) Parse(objectParser structure.ArrayParser)
type ErrorReporter ¶ added in v1.24.0
type ErrorReporter struct {
// contains filtered or unexported fields
}
func NewErrorReporter ¶ added in v1.24.0
func NewErrorReporter() *ErrorReporter
func (*ErrorReporter) Error ¶ added in v1.24.0
func (e *ErrorReporter) Error() error
func (*ErrorReporter) HasError ¶ added in v1.24.0
func (e *ErrorReporter) HasError() bool
func (*ErrorReporter) ReportError ¶ added in v1.24.0
func (e *ErrorReporter) ReportError(err error)
type Normalizable ¶
type Normalizable struct {
NormalizeInvocations int
NormalizeInputs []structure.Normalizer
NormalizeStub func(normalizer structure.Normalizer)
}
func NewNormalizable ¶
func NewNormalizable() *Normalizable
func (*Normalizable) Expectations ¶
func (n *Normalizable) Expectations()
func (*Normalizable) Normalize ¶
func (n *Normalizable) Normalize(normalizer structure.Normalizer)
type ObjectParsable ¶
type ObjectParsable struct {
ParseInvocations int
ParseInputs []structure.ObjectParser
}
func NewObjectParsable ¶
func NewObjectParsable() *ObjectParsable
func (*ObjectParsable) Expectations ¶
func (o *ObjectParsable) Expectations()
func (*ObjectParsable) Parse ¶
func (o *ObjectParsable) Parse(objectParser structure.ObjectParser)
type Source ¶
type Source struct {
ParameterInvocations int
ParameterOutput *string
ParameterOutputs []string
PointerInvocations int
PointerOutput *string
PointerOutputs []string
WithReferenceInvocations int
WithReferenceInputs []string
WithReferenceOutput *structure.Source
WithReferenceOutputs []structure.Source
}
func (*Source) Expectations ¶
func (s *Source) Expectations()
type Validatable ¶
func NewValidatable ¶
func NewValidatable() *Validatable
func (*Validatable) Expectations ¶
func (v *Validatable) Expectations()
func (*Validatable) Validate ¶
func (v *Validatable) Validate(validator structure.Validator)
type ValidatableWithInt ¶ added in v1.26.0
type ValidatableWithInt struct {
ValidateInvocations int
ValidateInputs []ValidatableWithIntInput
}
func NewValidatableWithInt ¶ added in v1.26.0
func NewValidatableWithInt() *ValidatableWithInt
func (*ValidatableWithInt) Expectations ¶ added in v1.26.0
func (v *ValidatableWithInt) Expectations()
type ValidatableWithIntInput ¶ added in v1.26.0
type ValidatableWithString ¶
type ValidatableWithString struct {
ValidateInvocations int
ValidateInputs []ValidatableWithStringInput
}
func NewValidatableWithString ¶
func NewValidatableWithString() *ValidatableWithString
func (*ValidatableWithString) Expectations ¶
func (v *ValidatableWithString) Expectations()
type ValidatableWithStringArray ¶
type ValidatableWithStringArray struct {
ValidateInvocations int
ValidateInputs []ValidatableWithStringArrayInput
}
func NewValidatableWithStringArray ¶
func NewValidatableWithStringArray() *ValidatableWithStringArray
func (*ValidatableWithStringArray) Expectations ¶
func (v *ValidatableWithStringArray) Expectations()
Click to show internal directories.
Click to hide internal directories.