Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewReference ¶
func NewReference() string
Types ¶
type ArrayParsable ¶
type ArrayParsable struct {
*test.Mock
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 Normalizable ¶
type Normalizable struct {
*test.Mock
NormalizeInvocations int
NormalizeInputs []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 {
*test.Mock
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 {
*test.Mock
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 ValidatableWithString ¶
type ValidatableWithString struct {
*test.Mock
ValidateInvocations int
ValidateInputs []ValidatableWithStringInput
}
func NewValidatableWithString ¶
func NewValidatableWithString() *ValidatableWithString
func (*ValidatableWithString) Expectations ¶
func (v *ValidatableWithString) Expectations()
type ValidatableWithStringArray ¶
type ValidatableWithStringArray struct {
*test.Mock
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.