visor

package
v0.63.0 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(log *logging.Logger, homeFolder string, withDataNode bool) error

Types

type Args

type Args []string

TODO make these functions more robust.

func (Args) Exists

func (a Args) Exists(name string) bool

func (*Args) ForceSet

func (a *Args) ForceSet(name, value string) bool

ForceSet sets a new argument even if the argument currently exists.

func (*Args) Set

func (a *Args) Set(name, value string) bool

Set sets a new argument. Ignores if argument exists.

type BinariesRunner

type BinariesRunner struct {
	// contains filtered or unexported fields
}

func NewBinariesRunner

func NewBinariesRunner(log *logging.Logger, binsFolder string, stopTimeout time.Duration, rInfo *types.ReleaseInfo) *BinariesRunner

func (*BinariesRunner) Kill

func (r *BinariesRunner) Kill() error

func (*BinariesRunner) Run

func (r *BinariesRunner) Run(ctx context.Context, runConf *config.RunConfig) chan error

func (*BinariesRunner) Stop

func (r *BinariesRunner) Stop() error

type Visor

type Visor struct {
	// contains filtered or unexported fields
}

func NewVisor

func NewVisor(ctx context.Context, log *logging.Logger, clientFactory client.Factory, homePath string) (*Visor, error)

func (*Visor) Run

func (v *Visor) Run(ctx context.Context) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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