services

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const CAP_NET_ADMIN = "NET_ADMIN"
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"

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 TemplateService

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

func NewTemplateService

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

Jump to

Keyboard shortcuts

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