addons

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hook

type Hook struct {
	Name         string
	Path         string
	Args         []string
	StdoutPrefix string
}

func NewHook

func NewHook(name string, path string, args ...string) *Hook

func NewPostStartHook

func NewPostStartHook(path string, args ...string) *Hook

func NewPostStopHook

func NewPostStopHook(path string, args ...string) *Hook

func NewPreStartHook

func NewPreStartHook(path string, args ...string) *Hook

func (*Hook) Run

func (h *Hook) Run() error

Jump to

Keyboard shortcuts

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