services

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const CAP_NET_ADMIN = "NET_ADMIN"
View Source
const CAP_SYS_NICE = "SYS_NICE"
View Source
const ImagePullPolicyKey = "dev.imagePullPolicy"
View Source
const KvmDevice = "devices.kubevirt.io/kvm"
View Source
const TunDevice = "devices.kubevirt.io/tun"
View Source
const UseEmulationKey = "debug.useEmulation"
View Source
const VhostNetDevice = "devices.kubevirt.io/vhost-net"

Variables

This section is empty.

Functions

func GetImagePullPolicy added in v0.8.0

func GetImagePullPolicy(store cache.Store) (policy k8sv1.PullPolicy, err error)

func IsEmulationAllowed added in v0.6.0

func IsEmulationAllowed(store cache.Store) (useEmulation bool, err error)

Types

type PvcNotFoundError added in v0.9.0

type PvcNotFoundError error

type TemplateService

type TemplateService interface {
	RenderLaunchManifest(*v1.VirtualMachineInstance) (*k8sv1.Pod, error)
}

func NewTemplateService

func NewTemplateService(launcherImage string,
	virtShareDir string,
	ephemeralDiskDir string,
	imagePullSecret string,
	configMapCache cache.Store,
	persistentVolumeClaimCache cache.Store) TemplateService

Jump to

Keyboard shortcuts

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