spec

package
v0.0.0-...-4bff2e4 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FPGA

type FPGA struct {
	IP       string `json:"ip"`
	Type     string `json:"type"`
	ID       uint64 `json:"id"`
	Platform string `json:"platform"`
	Device   string `json:"device"`
}

type GPU

type GPU struct {
	UUID          string `json:"uuid"`
	Name          string `json:"name"`
	MemFree       string `json:"mem_free(MiB)"`
	MemUsed       string `json:"mem_used(MiB)"`
	GPUUtil       string `json:"gpu_util(%)"`
	DriverVersion string `json:"driver_version`
	Platform      string `json:"platform`
}

func (*GPU) FromJson

func (g *GPU) FromJson(gpuJson string) *GPU

func (*GPU) ToJson

func (g *GPU) ToJson() string

type NIC

type NIC struct {
	Device    string `json:"device"`
	Bandwidth int64  `json:"bandwidth"`
}

func (*NIC) FromJson

func (n *NIC) FromJson(nicJson string) *NIC

func (*NIC) ToJson

func (n *NIC) ToJson() string

type NVRAM

type NVRAM struct {
	Name       string `json:"type"`
	Major      string `json:"maj"`
	Min        string `json:"min"`
	Size       string `json:"size"`
	MountPoint string `json:"MountPoint"`
}

func (*NVRAM) FromJson

func (nm *NVRAM) FromJson(nvramJson string) *NVRAM

func (*NVRAM) ToJson

func (nm *NVRAM) ToJson() string

type QAT

type QAT struct {
	Device string `json:"device"`
	Type   string `json:"type"`
	NodeId string `json:"node"`
	Engine string `json:"engine"`
	State  string `json:"state"`
}

func (*QAT) FromJson

func (q *QAT) FromJson(qatJson string) *QAT

func (*QAT) ToJson

func (q *QAT) ToJson() string

Jump to

Keyboard shortcuts

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