shim

package
v5.0.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckExclusiveActiveVM

func CheckExclusiveActiveVM(provider vmconfigs.VMProvider, mc *vmconfigs.MachineConfig) error

CheckExclusiveActiveVM checks if any of the machines are already running

func CmdLineVolumesToMounts

func CmdLineVolumesToMounts(volumes []string, volumeType vmconfigs.VolumeMountType) []*vmconfigs.Mount

func Info

func Info()

func List

func List(vmstubbers []vmconfigs.VMProvider, opts machine.ListOptions) ([]*machine.ListResponse, error)

List is done at the host level to allow for a *possible* future where more than one provider is used

func OSApply

func OSApply()

func SSH

func SSH()

func Stop

Stop stops the machine as well as supporting binaries/processes TODO: I think this probably needs to go somewhere that remove can call it.

func VMExists

func VMExists(name string, vmstubbers []vmconfigs.VMProvider) (*vmconfigs.MachineConfig, bool, error)

VMExists looks across given providers for a machine's existence. returns the actual config and found bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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