Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(opts ...CollectorOption) metadatax.Collector
Types ¶
type CollectorOption ¶
type CollectorOption func(*collector)
func CollectorWithGetHostMetadataFunc ¶
func CollectorWithGetHostMetadataFunc(fn GetHostMetadataFunc) CollectorOption
func CollectorWithMetadataContainerInitFunc ¶
func CollectorWithMetadataContainerInitFunc(fn func() metadatax.MetadataContainer) CollectorOption
type GetHostMetadataFunc ¶
type GetHostMetadataFunc func() (*hostmetadata.OS, error)
Click to show internal directories.
Click to hide internal directories.