public class MetadataConfig
extends Object
Retrieves Google Cloud project-id and a limited set of instance attributes from Metadata server.
- See Also:
-
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getProjectId
public static String getProjectId()
-
getZone
public static String getZone()
-
getInstanceId
public static String getInstanceId()
-
getClusterName
public static String getClusterName()
-
getContainerName
public static String getContainerName()
-
getNamespaceId
public static String getNamespaceId()
-