s6

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 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 {
	Log log.Logger
	// contains filtered or unexported fields
}

func New

func New(fs apkfs.FullFS, 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[string]string

Jump to

Keyboard shortcuts

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