Documentation ¶
Index ¶
- func GatherAWS(util *Data) error
- func GatherAzure(util *Data) error
- func GatherBootID(util *Data) error
- func GatherCPU(util *Data) error
- func GatherDockerID(util *Data) error
- func GatherGCP(util *Data) error
- func GatherKubernetes(v *vendors, getenv func(string) string) error
- func GatherMemory(util *Data) error
- func GatherPCF(util *Data) error
- func GetDockerId(util *Data) (string, error)
- func OverrideDockerId(util *Data, id string) error
- func OverrideVendors(util *Data)
- type Config
- type Data
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GatherAzure ¶
func GatherBootID ¶
func GatherDockerID ¶
func GatherKubernetes ¶
func GatherMemory ¶
func GetDockerId ¶
func OverrideDockerId ¶
func OverrideVendors ¶
func OverrideVendors(util *Data)
Types ¶
type Data ¶
type Data struct { MetadataVersion int `json:"metadata_version"` // Although `runtime.NumCPU()` will never fail, this field is a pointer // to facilitate the cross agent tests. LogicalProcessors *int `json:"logical_processors"` RamMiB *uint64 `json:"total_ram_mib"` Hostname string `json:"hostname"` FullHostname string `json:"full_hostname,omitempty"` Addresses []string `json:"ip_address,omitempty"` BootID string `json:"boot_id,omitempty"` Config *override `json:"config,omitempty"` Vendors *vendors `json:"vendors,omitempty"` }
Click to show internal directories.
Click to hide internal directories.