handlers

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2019 License: MIT Imports: 21 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PortRange = struct {
	min int
	max int
}{
	// contains filtered or unexported fields
}

PortRange usable port range https: //en.wikipedia.org/wiki/Ephemeral_port

Functions

This section is empty.

Types

type HandleFunc

type HandleFunc func(ctx *cli.Context) error

HandleFunc command handle function

func Activate

func Activate(cfg config.Configer) HandleFunc

Activate a machine to be fx server

func AddHost

func AddHost(cfg config.Configer) HandleFunc

AddHost add a host

func BuildImage

func BuildImage(cfg config.Configer) HandleFunc

BuildImage build image

func Call

func Call(cfg config.Configer) HandleFunc

Call command handle

func Deactivate

func Deactivate(cfg config.Configer) HandleFunc

Deactivate a machine

func Deploy

func Deploy(cfg config.Configer) HandleFunc

Deploy deploy handle function

func Destroy

func Destroy(cfg config.Configer) HandleFunc

Destroy command handle

func Doctor

func Doctor(cfg config.Configer) HandleFunc

Doctor command handle

func Down

func Down(cfg config.Configer) HandleFunc

Down command handle

func ExportImage

func ExportImage() HandleFunc

ExportImage export service's code into a directory

func List

func List(cfg config.Configer) HandleFunc

List command handle

func ListHosts

func ListHosts(cfg config.Configer) HandleFunc

ListHosts list hosts

func RemoveHost

func RemoveHost(cfg config.Configer) HandleFunc

RemoveHost remove a host

func Up

func Up(cfg config.Configer) HandleFunc

Up command handle

Jump to

Keyboard shortcuts

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