driver

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: May 20, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	VMName          = "cfdev"
	VpnKitLabel     = "org.cloudfoundry.cfdev.vpnkit"
	LinuxKitLabel   = "org.cloudfoundry.cfdev.linuxkit"
	ContainerSubnet = "10.144.0.0/16"
)

Variables

This section is empty.

Functions

func IP

func IP(cfg config.Config) (string, error)

func WriteHttpConfig

func WriteHttpConfig(cfg config.Config) error

Types

type DaemonRunner

type DaemonRunner interface {
	AddDaemon(daemon.DaemonSpec) error
	RemoveDaemon(string) error
	Start(string) error
	Stop(string) error
	IsRunning(string) (bool, error)
}

type Driver

type Driver interface {
	CheckRequirements() error
	Prestart() error
	Start(cpus int, memory int, efiPath string) error
	Stop() error
	IsRunning() (bool, error)
}

type UI

type UI interface {
	Say(message string, args ...interface{})
}

Directories

Path Synopsis
mocks
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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