Documentation ¶
Index ¶
- type FacadeAutowire
- type ParamLoader
- type SDIDParser
- type WrapperAutowire
- func (_m *WrapperAutowire) CanBeEntrance() bool
- func (_m *WrapperAutowire) Construct(sdID string, impledPtr interface{}, param interface{}) (interface{}, error)
- func (_m *WrapperAutowire) Factory(sdID string) (interface{}, error)
- func (_m *WrapperAutowire) GetAllStructDescriptors() map[string]*autowire.StructDescriptor
- func (_m *WrapperAutowire) ImplWithParam(sdID string, param interface{}) (interface{}, error)
- func (_m *WrapperAutowire) ImplWithoutParam(sdID string) (interface{}, error)
- func (_m *WrapperAutowire) InjectPosition() autowire.InjectPosition
- func (_m *WrapperAutowire) IsSingleton() bool
- func (_m *WrapperAutowire) ParseParam(sdID string, fi *autowire.FieldInfo) (interface{}, error)
- func (_m *WrapperAutowire) ParseSDID(field *autowire.FieldInfo) (string, error)
- func (_m *WrapperAutowire) TagKey() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FacadeAutowire ¶
FacadeAutowire is an autogenerated mock type for the FacadeAutowire type
func NewFacadeAutowire ¶
func NewFacadeAutowire(t testing.TB) *FacadeAutowire
NewFacadeAutowire creates a new instance of FacadeAutowire. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*FacadeAutowire) GetAllStructDescriptors ¶
func (_m *FacadeAutowire) GetAllStructDescriptors() map[string]*autowire.StructDescriptor
GetAllStructDescriptors provides a mock function with given fields:
func (*FacadeAutowire) TagKey ¶
func (_m *FacadeAutowire) TagKey() string
TagKey provides a mock function with given fields:
type ParamLoader ¶
ParamLoader is an autogenerated mock type for the ParamLoader type
func NewParamLoader ¶
func NewParamLoader(t testing.TB) *ParamLoader
NewParamLoader creates a new instance of ParamLoader. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*ParamLoader) Load ¶
func (_m *ParamLoader) Load(sd *autowire.StructDescriptor, fi *autowire.FieldInfo) (interface{}, error)
Load provides a mock function with given fields: sd, fi
type SDIDParser ¶
SDIDParser is an autogenerated mock type for the SDIDParser type
func NewSDIDParser ¶
func NewSDIDParser(t testing.TB) *SDIDParser
NewSDIDParser creates a new instance of SDIDParser. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
type WrapperAutowire ¶
WrapperAutowire is an autogenerated mock type for the WrapperAutowire type
func NewWrapperAutowire ¶
func NewWrapperAutowire(t testing.TB) *WrapperAutowire
NewWrapperAutowire creates a new instance of WrapperAutowire. It also registers the testing.TB interface on the mock and a cleanup function to assert the mocks expectations.
func (*WrapperAutowire) CanBeEntrance ¶
func (_m *WrapperAutowire) CanBeEntrance() bool
CanBeEntrance provides a mock function with given fields:
func (*WrapperAutowire) Construct ¶
func (_m *WrapperAutowire) Construct(sdID string, impledPtr interface{}, param interface{}) (interface{}, error)
Construct provides a mock function with given fields: sdID, impledPtr, param
func (*WrapperAutowire) Factory ¶
func (_m *WrapperAutowire) Factory(sdID string) (interface{}, error)
Factory provides a mock function with given fields: sdID
func (*WrapperAutowire) GetAllStructDescriptors ¶
func (_m *WrapperAutowire) GetAllStructDescriptors() map[string]*autowire.StructDescriptor
GetAllStructDescriptors provides a mock function with given fields:
func (*WrapperAutowire) ImplWithParam ¶
func (_m *WrapperAutowire) ImplWithParam(sdID string, param interface{}) (interface{}, error)
ImplWithParam provides a mock function with given fields: sdID, param
func (*WrapperAutowire) ImplWithoutParam ¶
func (_m *WrapperAutowire) ImplWithoutParam(sdID string) (interface{}, error)
ImplWithoutParam provides a mock function with given fields: sdID
func (*WrapperAutowire) InjectPosition ¶
func (_m *WrapperAutowire) InjectPosition() autowire.InjectPosition
InjectPosition provides a mock function with given fields:
func (*WrapperAutowire) IsSingleton ¶
func (_m *WrapperAutowire) IsSingleton() bool
IsSingleton provides a mock function with given fields:
func (*WrapperAutowire) ParseParam ¶
func (_m *WrapperAutowire) ParseParam(sdID string, fi *autowire.FieldInfo) (interface{}, error)
ParseParam provides a mock function with given fields: sdID, fi
func (*WrapperAutowire) ParseSDID ¶
func (_m *WrapperAutowire) ParseSDID(field *autowire.FieldInfo) (string, error)
ParseSDID provides a mock function with given fields: field
func (*WrapperAutowire) TagKey ¶
func (_m *WrapperAutowire) TagKey() string
TagKey provides a mock function with given fields: