Documentation ¶
Overview ¶
Package instantiate implement InstantiateFactory
Index ¶
- Variables
- type InstantiateFactory
- func (f *InstantiateFactory) BuildComponents(components [][]interface{}) (err error)
- func (f *InstantiateFactory) GetInstance(name string) (inst interface{})
- func (f *InstantiateFactory) Initialize(instanceMap cmap.ConcurrentMap)
- func (f *InstantiateFactory) Initialized() bool
- func (f *InstantiateFactory) IsValidObjectType(inst interface{}) bool
- func (f *InstantiateFactory) Items() map[string]interface{}
- func (f *InstantiateFactory) ParseInstance(eliminator string, params ...interface{}) (name string, inst interface{})
- func (f *InstantiateFactory) SetInstance(name string, instance interface{}) (err error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type InstantiateFactory ¶
type InstantiateFactory struct {
// contains filtered or unexported fields
}
func (*InstantiateFactory) BuildComponents ¶ added in v0.6.0
func (f *InstantiateFactory) BuildComponents(components [][]interface{}) (err error)
func (*InstantiateFactory) GetInstance ¶
func (f *InstantiateFactory) GetInstance(name string) (inst interface{})
func (*InstantiateFactory) Initialize ¶
func (f *InstantiateFactory) Initialize(instanceMap cmap.ConcurrentMap)
func (*InstantiateFactory) Initialized ¶
func (f *InstantiateFactory) Initialized() bool
func (*InstantiateFactory) IsValidObjectType ¶ added in v0.6.0
func (f *InstantiateFactory) IsValidObjectType(inst interface{}) bool
func (*InstantiateFactory) Items ¶
func (f *InstantiateFactory) Items() map[string]interface{}
func (*InstantiateFactory) ParseInstance ¶ added in v0.6.0
func (f *InstantiateFactory) ParseInstance(eliminator string, params ...interface{}) (name string, inst interface{})
func (*InstantiateFactory) SetInstance ¶
func (f *InstantiateFactory) SetInstance(name string, instance interface{}) (err error)
Click to show internal directories.
Click to hide internal directories.