vmcompose

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const ProviderName = "vmcompose"

Variables

This section is empty.

Functions

func LoadData

func LoadData(path string) (types.InfrastructureData, error)

LoadData returns the vmcompose infrastructure data from the given path.

Types

type Provider

type Provider struct {
	Testnet types.Testnet
	Data    types.InfrastructureData
	// contains filtered or unexported fields
}

func NewProvider

func NewProvider(testnet types.Testnet, data types.InfrastructureData, imgTag string) *Provider

func (*Provider) Clean

func (p *Provider) Clean(ctx context.Context) error

func (*Provider) GetInfrastructureData

func (p *Provider) GetInfrastructureData() *e2e.InfrastructureData

func (*Provider) Setup

func (p *Provider) Setup() error

Setup generates the docker-compose file for each VM IP.

func (*Provider) StartNodes

func (p *Provider) StartNodes(ctx context.Context, _ ...*e2e.Node) error

func (*Provider) StopTestnet

func (*Provider) StopTestnet(context.Context) error

func (*Provider) Upgrade

func (p *Provider) Upgrade(ctx context.Context) error

Jump to

Keyboard shortcuts

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