Documentation ¶
Overview ¶
Package cloudvm provides functions to test whether the current process is running on Google Compute Engine or Amazon Web Services, and to extract settings from this environment.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExternalIPAddress ¶
ExternalIPAddress returns the external IP address of this Google Compute Engine or AWS instance, or nil if there is none. Must be called after InitGCE / InitAWS.
func InternalIPAddress ¶
InternalIPAddress returns the internal IP address of this Google Compute Engine or AWS instance, or nil if there is none. Must be called after InitGCE / InitAWS.
func RunningOnAWS ¶
func RunningOnAWS() bool
func RunningOnGCE ¶
func RunningOnGCE() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.