cloudinfo

package
v0.24.1 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProductVerFileName = "/sys/class/dmi/id/product_version"
	Amazon             = "amazon"
)
View Source
const (
	SysVendorFileName    = "/sys/class/dmi/id/sys_vendor"
	BiosUUIDFileName     = "/sys/class/dmi/id/product_uuid"
	MicrosoftCorporation = "Microsoft Corporation"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudInfo

type CloudInfo interface {
	GetCloudProvider() info.CloudProvider
	GetInstanceType() info.InstanceType
	GetInstanceID() info.InstanceID
}

func NewRealCloudInfo

func NewRealCloudInfo() CloudInfo

Jump to

Keyboard shortcuts

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