Documentation ¶
Index ¶
- func Create(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
- func Ls(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
- func Remove(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
- func Restart(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
- func Start(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
- func Stop(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
- func ToJson(handler func() (interface{}, error)) ([]byte, error)
- func WithApi(handler Handler, args map[string]string, form map[string][]string) func() (interface{}, error)
- type Handler
- type HandlerFunc
- type Mapping
- type Success
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
Create creates a Docker Machine
func Remove ¶
func Remove(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
Remove removes a Docker Machine
func Restart ¶
func Restart(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
Restart restarts a Docker Machine
func Start ¶
func Start(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
Start starts a Docker Machine
Types ¶
type HandlerFunc ¶
type HandlerFunc func(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
func (HandlerFunc) Handle ¶
func (f HandlerFunc) Handle(api libmachine.API, args map[string]string, form map[string][]string) (interface{}, error)
type Mapping ¶
func NewMapping ¶
func NewMapping(method string, url string, handler HandlerFunc) Mapping
Click to show internal directories.
Click to hide internal directories.