track

package
v0.7.8-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(b []byte, logger *logrus.Logger, cmd string) error

func GetResult

func GetResult(b []byte, logger *logrus.Logger, cmd string) ([]runner.ShellResult, error)

func TaiLog

func TaiLog(config []byte, logger *logrus.Logger) error

Types

type ParseConfig

type ParseConfig interface {
	Parse(b []byte, debug bool) (error, interface{})
}

type TailLogExecutor

type TailLogExecutor struct {
	TailLog struct {
		LogPath string `yaml:"log-path"`
		Whence  int    `yaml:"whence"`
		Offset  int64  `yaml:"offset"`
	} `yaml:"tail-log"`
}

func (TailLogExecutor) Tail

func (tail TailLogExecutor) Tail(servers []runner.ServerInternal, stopCh <-chan struct{})

Jump to

Keyboard shortcuts

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