Documentation
¶
Overview ¶
Package workloadmetaimpl implements the Workloadmeta component. It is responsible for gathering information about workloads and disseminating that to other components.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWorkloadMetaMock ¶
func NewWorkloadMetaMock(deps Dependencies) wmmock.Mock
NewWorkloadMetaMock returns a Mock
Types ¶
type Dependencies ¶
type Dependencies struct {
Lc compdef.Lifecycle
Log log.Component
Config config.Component
Catalog wmdef.CollectorList `group:"workloadmeta"`
Params wmdef.Params
}
Dependencies defines the dependencies of the workloadmeta component.
type Provider ¶
type Provider struct {
Comp wmdef.Component
FlareProvider flaretypes.Provider
Endpoint api.AgentEndpointProvider
}
Provider contains components provided by workloadmeta constructor.
func NewWorkloadMeta ¶
func NewWorkloadMeta(deps Dependencies) Provider
NewWorkloadMeta creates a new workloadmeta component.
Click to show internal directories.
Click to hide internal directories.