Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildDriverFactory ¶
type BuildDriverFactory map[string]BuildDriverFactoryFunc
BuildDriverFactory type define a map of BuildDriverer
func NewBuildDriverFactory ¶
func NewBuildDriverFactory() BuildDriverFactory
NewBuildDriverFactory returns a new BuildDriverFactory
func (BuildDriverFactory) Get ¶
func (f BuildDriverFactory) Get(id string) (BuildDriverFactoryFunc, error)
Get returns a BuildDriverer
func (BuildDriverFactory) Register ¶
func (f BuildDriverFactory) Register(id string, driver BuildDriverFactoryFunc) error
Register registers a BuildDriverer
type BuildDriverFactoryFunc ¶
type BuildDriverFactoryFunc func() (repository.BuildDriverer, error)
Click to show internal directories.
Click to hide internal directories.