util

package
Version: v0.0.0-...-cd5610b Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertToVM

func ConvertToVM(name string, pname string, state string, routes []virtualizers.NetworkInterface, created time.Time, cfg *vcfg.VCFG, source interface{}) interface{}

ConvertToVM converts a virtualizer into a machine struct mainly used for api returning.

func LookForIP

LookForIP screen scrapes the IP from a virtual machine output mainly used for bridge/hosted machines

func Routes

Routes generates api friendly routes for the machine

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL