instantiate

package
v0.5.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 2, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	NotInitializedError = errors.New("InstantiateFactory is not initialized")
)

Functions

This section is empty.

Types

type InstantiateFactory

type InstantiateFactory struct {
	// contains filtered or unexported fields
}

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) Items

func (f *InstantiateFactory) Items() map[string]interface{}

func (*InstantiateFactory) SetInstance

func (f *InstantiateFactory) SetInstance(name string, instance interface{}) (err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL