Directories
¶
| Path | Synopsis |
|---|---|
|
Package cli holds CLI-only output helpers — never imported by the SDK under pkg/gohai/, only by cmd/.
|
Package cli holds CLI-only output helpers — never imported by the SDK under pkg/gohai/, only by cmd/. |
|
Package cloudmetadata is the shared HTTP client every cloud-provider collector (ec2, gce, azure, digital_ocean, openstack, oci, linode, alibaba, scaleway) uses to talk to its provider's link-local metadata endpoint.
|
Package cloudmetadata is the shared HTTP client every cloud-provider collector (ec2, gce, azure, digital_ocean, openstack, oci, linode, alibaba, scaleway) uses to talk to its provider's link-local metadata endpoint. |
|
Package collector defines the Collector interface gohai uses to plug fact collectors into the registry.
|
Package collector defines the Collector interface gohai uses to plug fact collectors into the registry. |
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
Package pcidev reads the PCI devices of a Linux host from sysfs, and names them from the pci.ids database, both through a filesystem.
|
Package pcidev reads the PCI devices of a Linux host from sysfs, and names them from the pci.ids database, both through a filesystem. |
|
Package platform is how a collector picks its variant: Detect is the host's family, as pkg/gohai/family names it, and a test swaps it to force any branch without reading the host.
|
Package platform is how a collector picks its variant: Detect is the host's family, as pkg/gohai/family names it, and a test swaps it to force any branch without reading the host. |
|
Package readlog records what a collector reads from a host: each file and directory it opens or looks at, and each command it runs.
|
Package readlog records what a collector reads from a host: each file and directory it opens or looks at, and each command it runs. |
|
Package sourcetest builds the sources a collector test reads: a filesystem that holds given files, a runner that answers given command lines, and a transport that answers given metadata URLs.
|
Package sourcetest builds the sources a collector test reads: a filesystem that holds given files, a runner that answers given command lines, and a transport that answers given metadata URLs. |
|
Package validate provides JSON Schema validation for gohai output.
|
Package validate provides JSON Schema validation for gohai output. |
Click to show internal directories.
Click to hide internal directories.