superviser

package
v0.0.2-0...-26b375a Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Superviser

type Superviser struct {
	*shutter.Shutter
	Binary    string
	Arguments []string
	Logger    *zap.Logger
	// contains filtered or unexported fields
}

func New

func New(logger *zap.Logger, binary string, arguments []string) *Superviser

func (*Superviser) GetLogPlugins

func (s *Superviser) GetLogPlugins() []logplugin.LogPlugin

func (*Superviser) IsRunning

func (s *Superviser) IsRunning() bool

func (*Superviser) LastExitCode

func (s *Superviser) LastExitCode() int

func (*Superviser) LastLogLines

func (s *Superviser) LastLogLines() []string

func (*Superviser) RegisterLogPlugin

func (s *Superviser) RegisterLogPlugin(plugin logplugin.LogPlugin)

func (*Superviser) Start

func (s *Superviser) Start(options ...nodeManager.StartOption) error

func (*Superviser) Stop

func (s *Superviser) Stop() error

func (*Superviser) Stopped

func (s *Superviser) Stopped() <-chan struct{}

Jump to

Keyboard shortcuts

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