Documentation
¶
Overview ¶
Package instanceinfo provides functionality for interfacing with the compute API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeviceType ¶
DeviceType returns a formatted device type for a given disk type and name. The returned device type will be formatted as: "LOCAL-SSD" or "PERSISTENT-SSD". "OTHER" if another disk type
Types ¶
type Reader ¶
type Reader struct {
// contains filtered or unexported fields
}
Reader handles the retrieval of instance properties from a compute client instance.
func New ¶
func New(gceService gceInterface) *Reader
New instantiates a Reader with default instance properties.
Click to show internal directories.
Click to hide internal directories.