component

package
v0.5.71 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: Apache-2.0 Imports: 2 Imported by: 25

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dispatch added in v0.5.0

func Dispatch[T model.ComponentType](run model.Run, component *model.Component, strategyAction func(strategy T, run model.Run, component *model.Component) error) error

func DispatchIfApplies added in v0.5.0

func DispatchIfApplies[T model.ComponentType](run model.Run, component *model.Component, strategyAction func(strategy T, run model.Run, component *model.Component) error) error

func Exec added in v0.5.0

func Exec(componentSpec string, action string) model.Action

func ExecF added in v0.5.0

func ExecF[T model.ComponentType](componentSpec string, strategyAction func(strategy T, run model.Run, component *model.Component) error) model.Action

func ExecIfApplies added in v0.5.0

func ExecIfApplies(componentSpec string, action string) model.Action

func ExecIfAppliesF added in v0.5.0

func ExecIfAppliesF[T model.ComponentType](componentSpec string, strategyAction func(strategy T, run model.Run, component *model.Component) error) model.Action

func ExecIfAppliesInParallel added in v0.5.0

func ExecIfAppliesInParallel(componentSpec string, concurrency int, action string) model.Action

func ExecIfAppliesInParallelF added in v0.5.0

func ExecIfAppliesInParallelF[T model.ComponentType](componentSpec string, concurrency int, strategyAction func(strategy T, run model.Run, component *model.Component) error) model.Action

func ExecInParallel added in v0.5.0

func ExecInParallel(componentSpec string, concurrency int, action string) model.Action

func ExecInParallelF added in v0.5.0

func ExecInParallelF[T model.ComponentType](componentSpec string, concurrency int, strategyAction func(strategy T, run model.Run, component *model.Component) error) model.Action

func Start

func Start(componentSpec string) model.Action

func StartInParallel

func StartInParallel(componentSpec string, concurrency int) model.Action

func Stop

func Stop(componentSpec string) model.Action

func StopInParallel

func StopInParallel(componentSpec string, concurrency int) model.Action

func StopInParallelHostExclusive added in v0.5.20

func StopInParallelHostExclusive(componentSpec string, concurrency int) model.Action

Types

This section is empty.

Jump to

Keyboard shortcuts

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