Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrActionNotAvailable = errors.New("action no longer available")
View Source
var ErrNoProcess = errors.New("no process to kill")
Functions ¶
func IsBadActionError ¶
func IsMissingHookError ¶
func NewBadActionError ¶
func NewMissingHookError ¶
Types ¶
type HookLogger ¶
type HookLogger struct {
// contains filtered or unexported fields
}
HookLogger streams the output from a hook to a logger.
func NewHookLogger ¶
func NewHookLogger(logger loggo.Logger, outReader io.ReadCloser) *HookLogger
NewHookLogger creates a new hook logger.
Click to show internal directories.
Click to hide internal directories.