factory

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2016 License: Unlicense Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

func Create(name string, parameters map[string]interface{}) (containers.Driver, error)

func Register

func Register(name string, factory ContainersDriverFactory)

Types

type ContainersDriverFactory

type ContainersDriverFactory interface {
	Create(parameters map[string]interface{}) (containers.Driver, error)
}

type InvalidContainersDriverError

type InvalidContainersDriverError struct {
	Name string
}

func (InvalidContainersDriverError) Error

Jump to

Keyboard shortcuts

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