mrunner

package
v2.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2025 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultEndPort uint = 60000
View Source
const DefaultStartPort uint = 10000

Variables

This section is empty.

Functions

This section is empty.

Types

type Runner

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

func NewRunner

func NewRunner(ctx *mconfig.Context) (*Runner, error)

Create a new runner

func NewRunnerFromPlan

func NewRunnerFromPlan(plan *mconfig.Plan) (*Runner, error)

Create a new runner

func (*Runner) Clear

func (r *Runner) Clear()

Delete all containers and reset all state

func (*Runner) ClearDatabases

func (r *Runner) ClearDatabases()

Clear the databases, at runtime

func (*Runner) Deploy

func (r *Runner) Deploy(deleteContainers bool) error

Deploy all the containers nessecary for the application

func (*Runner) Environment

func (r *Runner) Environment() *mconfig.Environment

func (*Runner) GeneratePlan

func (r *Runner) GeneratePlan() *mconfig.Plan

Deploy the containers for the magic context

func (*Runner) Plan

func (r *Runner) Plan() *mconfig.Plan

Get the current plan (might not be set yet, call GeneratePlan first)

func (*Runner) StopContainers

func (r *Runner) StopContainers()

Stop all containers

Jump to

Keyboard shortcuts

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