binit

package module
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const PROGRAM_NAME = "binit"

Variables

This section is empty.

Functions

func ConfigureLogging

func ConfigureLogging()

func Run

func Run(config Config, args []string)

Types

type Config

type Config struct {
	WORKDIR         string
	SKIP_SIGNAL_LOG string
	BEFORE          string
	AFTER           string
	PRE_STOP_SIGNAL string
	PRE_STOP        string
}

type Signaller

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

func NewSignaller

func NewSignaller(config Config) *Signaller

func (*Signaller) Forward

func (s *Signaller) Forward()

func (*Signaller) Shutdown

func (s *Signaller) Shutdown()

func (*Signaller) Start

func (s *Signaller) Start(cmd *exec.Cmd)

type Waiter

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

func NewWaiter

func NewWaiter() *Waiter

func (*Waiter) Fatalf

func (w *Waiter) Fatalf(message string, args ...interface{})

func (*Waiter) Quit

func (w *Waiter) Quit(code int)

func (*Waiter) Wait

func (w *Waiter) Wait()

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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