guest

package
v1.4.2-patch Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	UUIDPath   = "/sys/class/dmi/id/product_serial"
	UUIDPrefix = "VMware-"
)

Variables

This section is empty.

Functions

func GetSelf

func GetSelf(ctx context.Context, s *session.Session) (*vm.VirtualMachine, error)

GetSelf gets VirtualMachine reference for the VM this process is running on

func UUID

func UUID() (string, error)

UUID gets the BIOS UUID via the sys interface. This UUID is known by vphsere

Types

This section is empty.

Jump to

Keyboard shortcuts

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