Package io.micronaut.discovery.cloud
Interface ComputeInstanceMetadataResolver
- All Known Implementing Classes:
DigitalOceanMetadataResolver
public interface ComputeInstanceMetadataResolver
Interface for resoling compute instance metadata.
- Since:
- 1.0
- Author:
- rvanderwerf, Graeme Rocher
-
Method Summary
Modifier and TypeMethodDescriptionresolve
(Environment environment) ResolvesComputeInstanceMetadata
for the current environment if possible.
-
Method Details
-
resolve
ResolvesComputeInstanceMetadata
for the current environment if possible.- Parameters:
environment
- The environment- Returns:
- The
ComputeInstanceMetadata
-