s6

package
v0.14.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: Apache-2.0 Imports: 6 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 {
	// contains filtered or unexported fields
}

func New

func New(fs apkfs.FullFS) *Context

func (*Context) CreateSupervisionDirectory

func (sc *Context) CreateSupervisionDirectory(ctx context.Context, name string) (string, error)

func (*Context) WriteSupervisionServiceSimple

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

func (*Context) WriteSupervisionTemplate

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

func (*Context) WriteSupervisionTree

func (sc *Context) WriteSupervisionTree(ctx context.Context, 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