instancetype

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 10 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(clientConfig clientcmd.ClientConfig) *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