launcher

package
v0.0.0-...-26835a4 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2019 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSpecs

func GetSpecs(specsDirectory string) ([]*models.Spec, error)

GetSpecs will walk through specsDirectory and transform all spec JSONs into Spec objects

func Launch

func Launch(app *state.App, config *viper.Viper, specsDirectory string, duration float64, shouldReportMetrics bool, logger logrus.FieldLogger)

Launch launches the bot spec

func LaunchDeleteAll

func LaunchDeleteAll(config *viper.Viper, logger logrus.FieldLogger)

LaunchDeleteAll launches the manager in kubernetes cluster, that will instantiate jobs and manage them until the end

func LaunchLocalManager

func LaunchLocalManager(config *viper.Viper, specsDirectory string, duration time.Duration, shouldReportMetrics, deleteBeforeRun bool, logger logrus.FieldLogger)

LaunchLocalManager launches the manager locally, that will instantiate jobs and manage them until the end

func LaunchManagerDeploy

func LaunchManagerDeploy(config *viper.Viper, specsDirectory string, duration time.Duration, shouldReportMetrics bool, logger logrus.FieldLogger)

LaunchManagerDeploy launches the deploy to instantiate a pitaya-bot manager pod inside kubernetes

func LaunchRemoteManager

func LaunchRemoteManager(config *viper.Viper, specsDirectory string, duration time.Duration, shouldReportMetrics, deleteBeforeRun bool, logger logrus.FieldLogger)

LaunchRemoteManager launches the manager in kubernetes cluster, that will instantiate jobs and manage them until the end

Types

This section is empty.

Jump to

Keyboard shortcuts

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