kubevirtobjs

package
v0.4.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	MaxDisks         uint = 64
	MaxIfaces        uint = 64
	MaxPortsPerIface uint = 16
	MaxNTPServers    uint = 8
	MaxItems         int  = 64
)

Variables

View Source
var (
	ErrTooManyDisks         error = fmt.Errorf("Too many disks requested, max = %d", MaxDisks)
	ErrTooManyIfaces        error = fmt.Errorf("Too many network interface requested, max = %d", MaxIfaces)
	ErrTooManyPortsPerIface error = fmt.Errorf("Too many ports per network interface requested, max = %d", MaxPortsPerIface)
)

Functions

func NewDefaultVirtualMachine

func NewDefaultVirtualMachine() *k6tv1.VirtualMachine

NewVirtualMachine returns a fully zero-value VirtualMachine with all optional fields

Types

type NumItems added in v0.4.0

type NumItems map[string]int

func (NumItems) ForField added in v0.4.0

func (ni NumItems) ForField(name string) int

Jump to

Keyboard shortcuts

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