instancetype

package
v1.0.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Instancetype = "instancetype"

	CPUFlag             = "cpu"
	MemoryFlag          = "memory"
	GPUFlag             = "gpu"
	HostDeviceFlag      = "hostdevice"
	IOThreadsPolicyFlag = "iothreadspolicy"
	NameFlag            = "name"
	NamespacedFlag      = "namespaced"

	IOThreadErr   = "IOThread must be of value auto or shared"
	NameErr       = "name must be specified"
	DeviceNameErr = "deviceName must be specified"
	CPUErr        = "cpu value must be greater than zero"
)

Variables

This section is empty.

Functions

func NewCommand

func NewCommand() *cobra.Command

Types

type GPU

type GPU struct {
	Name       string `param:"name"`
	DeviceName string `param:"devicename"`
}

type HostDevice

type HostDevice struct {
	Name       string `param:"name"`
	DeviceName string `param:"devicename"`
}

Jump to

Keyboard shortcuts

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