Documentation
¶
Overview ¶
Package oracle provides Oracle Cloud Infrastructure (OCI) environment detection and metadata retrieval using the OCI Instance Metadata Service (IMDS) v2.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scout ¶
type Scout struct {
// contains filtered or unexported fields
}
Scout detects and describes an OCI environment.
func (*Scout) Detect ¶
Detect determines whether the current environment is running on OCI by querying the Instance Metadata Service. Network failures, non-200 responses, and unparseable bodies are treated as "not OCI" rather than errors.
func (*Scout) EnvironmentInfo ¶
EnvironmentInfo retrieves OCI environment information from the Instance Metadata Service.
Click to show internal directories.
Click to hide internal directories.