Interface OciAvailability
Provides a convenient contract for checking whether the current runtime environment is running on/inside an OCI compute node.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault booleanWill source the config bean fromOciExtension.ociConfig()to make the call toisRunningOnOci(OciConfig).booleanisRunningOnOci(io.helidon.integrations.oci.sdk.runtime.OciConfig ociConfig) Returns true if the implementation determines it is running on/inside an OCI compute node.
-
Method Details
-
isRunningOnOci
boolean isRunningOnOci(io.helidon.integrations.oci.sdk.runtime.OciConfig ociConfig) Returns true if the implementation determines it is running on/inside an OCI compute node.- Parameters:
ociConfig- the oci config bean- Returns:
- true if there running on/inside an OCI compute node
-
isRunningOnOci
default boolean isRunningOnOci()Will source the config bean fromOciExtension.ociConfig()to make the call toisRunningOnOci(OciConfig).- Returns:
- true if there running on/inside an OCI compute node
-