mrunner

package
v3.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2026 License: Apache-2.0 Imports: 11 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) ClearTables

func (r *Runner) ClearTables() error

Delete all database tables from databases, at runtime

func (*Runner) DeleteEverything

func (r *Runner) DeleteEverything() error

Delete all containers + their attached volumes and reset all state

func (*Runner) Deploy

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

Deploy all the containers nessecary for the application

func (*Runner) DropTables

func (r *Runner) DropTables() error

Clear the content of all tables from databases, at runtime

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() error

Stop all containers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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