supbrunner

package
v0.0.0-...-5fda629 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2022 License: MulanPSL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WithRPC

func WithRPC(rpc nervous.Controller) option

Types

type SupbRunner

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

func NewSupbRunner

func NewSupbRunner(ctx context.Context, prefix string) *SupbRunner

func (*SupbRunner) Close

func (r *SupbRunner) Close() error

func (*SupbRunner) InitFlags

func (r *SupbRunner) InitFlags(flags *pflag.FlagSet)

func (*SupbRunner) InitViper

func (r *SupbRunner) InitViper(viper *viper.Viper)

func (*SupbRunner) Initialize

func (r *SupbRunner) Initialize(opts ...option)

func (*SupbRunner) OptionConfig

func (r *SupbRunner) OptionConfig(opts ...option)

func (*SupbRunner) Remove

func (r *SupbRunner) Remove(guid string, container *compose.Containers) error

func (*SupbRunner) Restart

func (r *SupbRunner) Restart(guid string, container *compose.Containers) error

func (*SupbRunner) Run

func (r *SupbRunner) Run(guid string, container *compose.Containers) (*compose.RunningBaseInfo, error)

func (*SupbRunner) Stop

func (r *SupbRunner) Stop(guid string, container *compose.Containers) error

func (*SupbRunner) ViperConfig

func (r *SupbRunner) ViperConfig(viper *viper.Viper)

Jump to

Keyboard shortcuts

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