Documentation ¶
Index ¶
Constants ¶
View Source
const ( GcpImdsUrl = "http://metadata.google.internal/computeMetadata/v1/instance" GcpUserDataImdsUrl = "http://metadata.google.internal/computeMetadata/v1/instance/attributes/user-data" )
Variables ¶
This section is empty.
Functions ¶
func GetUserData ¶
Method to retrieve userData from the instance metadata service and return it as a string
Types ¶
type Config ¶
Click to show internal directories.
Click to hide internal directories.