Documentation ¶
Index ¶
- type Superviser
- func (s *Superviser) GetLogPlugins() []logplugin.LogPlugin
- func (s *Superviser) IsRunning() bool
- func (s *Superviser) LastExitCode() int
- func (s *Superviser) LastLogLines() []string
- func (s *Superviser) RegisterLogPlugin(plugin logplugin.LogPlugin)
- func (s *Superviser) Start(options ...nodeManager.StartOption) error
- func (s *Superviser) Stop() error
- func (s *Superviser) Stopped() <-chan struct{}
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 (*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{}
Click to show internal directories.
Click to hide internal directories.