Documentation ¶
Overview ¶
Package oracle provides utilities to detect oracle cloud provider.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
// CloudProviderName contains the inventory name of for EC2
CloudProviderName = "Oracle"
)
declare these as vars not const to ease testing
Functions ¶
func GetHostAliases ¶
GetHostAliases returns the VM ID from the Oracle Metadata api
func GetNTPHosts ¶
GetNTPHosts returns the NTP hosts for Oracle if it is detected as the cloud provider, otherwise an nil array. Docs: https://docs.oracle.com/en-us/iaas/Content/Compute/Tasks/configuringntpservice.htm
func IsRunningOn ¶
IsRunningOn returns true if the agent is running on Oracle
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.