Package io.micronaut.kubernetes.client
Class DefaultPodNameResolver
java.lang.Object
io.micronaut.kubernetes.client.DefaultPodNameResolver
- All Implemented Interfaces:
PodNameResolver
The default implementation of
PodNameResolver
.- Since:
- 3.3
- Author:
- Pavol Gressa
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionResolves the name of the POD this application is running in.
-
Constructor Details
-
DefaultPodNameResolver
public DefaultPodNameResolver()
-
-
Method Details
-
getPodName
Description copied from interface:PodNameResolver
Resolves the name of the POD this application is running in.- Specified by:
getPodName
in interfacePodNameResolver
- Returns:
- pod name
-