runner

package
v0.0.0-...-b52fdba Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2018 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(addr string, stateFile string) error

Types

type InstallRequest

type InstallRequest struct {
	Service
}

type InstallResult

type InstallResult struct {
}

type ListRequest

type ListRequest struct{}

type ListResult

type ListResult struct {
	Names []string
}

type Runner

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

func (*Runner) Install

func (r *Runner) Install(req *InstallRequest, res *InstallResult) error

func (*Runner) List

func (r *Runner) List(req *ListRequest, res *ListResult) error

func (*Runner) Uninstall

func (r *Runner) Uninstall(req *UninstallRequest, res *UninstallResult) error

type Service

type Service struct {
	Name        string
	Directory   string
	Command     []string
	Environment map[string]string
}

type UninstallRequest

type UninstallRequest struct {
	Name string
}

type UninstallResult

type UninstallResult struct{}

Jump to

Keyboard shortcuts

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