Documentation ¶
Index ¶
- func WithRPC(rpc nervous.Controller) option
- type SupbRunner
- func (r *SupbRunner) Close() error
- func (r *SupbRunner) InitFlags(flags *pflag.FlagSet)
- func (r *SupbRunner) InitViper(viper *viper.Viper)
- func (r *SupbRunner) Initialize(opts ...option)
- func (r *SupbRunner) OptionConfig(opts ...option)
- func (r *SupbRunner) Remove(guid string, container *compose.Containers) error
- func (r *SupbRunner) Restart(guid string, container *compose.Containers) error
- func (r *SupbRunner) Run(guid string, container *compose.Containers) (*compose.RunningBaseInfo, error)
- func (r *SupbRunner) Stop(guid string, container *compose.Containers) error
- func (r *SupbRunner) ViperConfig(viper *viper.Viper)
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)
Click to show internal directories.
Click to hide internal directories.