resource

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ResourceSubTypeName = map[int32]string{
	0:  "Unknown",
	6:  "Microsoft:Hyper-V:Synthetic SCSI Controller",
	10: "Microsoft:Hyper-V:Synthetic Ethernet Port",
	17: "Microsoft:Hyper-V:Synthetic Disk Drive",
	31: "Microsoft:Hyper-V:Virtual Hard Disk",
}

Functions

This section is empty.

Types

type ResourceTypeValue

type ResourceTypeValue struct {
	ResourceType      v2.ResourcePool_ResourceType
	OtherResourceType string
	ResourceSubType   string
}

func GetResourceTypeValue

func GetResourceTypeValue(rtype v2.ResourcePool_ResourceType) *ResourceTypeValue

func (*ResourceTypeValue) Equals

func (r *ResourceTypeValue) Equals(in *ResourceTypeValue) bool

func (*ResourceTypeValue) String

func (r *ResourceTypeValue) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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