s6

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	WorkDir string
	Log     *log.Logger
}

func New

func New(wd string, logger *log.Logger) *Context

func (*Context) CreateSupervisionDirectory

func (sc *Context) CreateSupervisionDirectory(name string) (string, error)

func (*Context) WriteSupervisionServiceSimple

func (sc *Context) WriteSupervisionServiceSimple(name string, command string) error

func (*Context) WriteSupervisionTemplate

func (sc *Context) WriteSupervisionTemplate(svcdir string, command string) error

func (*Context) WriteSupervisionTree

func (sc *Context) WriteSupervisionTree(services Services) error

type Services

type Services map[interface{}]interface{}

Jump to

Keyboard shortcuts

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