vmcompose

package
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2024 License: GPL-3.0 Imports: 18 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, graphQLURL 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, cfg types.UpgradeConfig) error

Upgrade copies some of the local e2e generated artifacts to the VMs and starts the docker-compose services.

Jump to

Keyboard shortcuts

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