opmintegration

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: BSD-3-Clause Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRepo

func AddRepo(app *application.Odyssey, repoURL *url.URL, branch string) (string, error)

Returns alias

func GetRepos

func GetRepos(app *application.Odyssey) ([]string, error)

func GetSubnets

func GetSubnets(app *application.Odyssey, repoAlias string) ([]string, error)

func InstallVM

func InstallVM(app *application.Odyssey, subnetKey string) error

func LoadSubnetFile

func LoadSubnetFile(app *application.Odyssey, subnetKey string) (types.Subnet, error)

func LoadVMFile

func LoadVMFile(app *application.Odyssey, repo, vm string) (types.VM, error)

func MakeKey

func MakeKey(alias, subnet string) string

func SetupOpm

func SetupOpm(app *application.Odyssey, opmBaseDir string) error

Note, you can only call this method once per run

func UpdateRepos

func UpdateRepos(app *application.Odyssey) error

Types

type SubnetWrapper

type SubnetWrapper struct {
	Subnet types.Subnet `yaml:"subnet"`
}

type VMWrapper

type VMWrapper struct {
	VM types.VM `yaml:"vm"`
}

Jump to

Keyboard shortcuts

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