Documentation ¶
Index ¶
- Variables
- func ConfigurationFrom(get di.Get) *config.ConfigurationStruct
- func GeneralClientsFrom(get di.Get) *clients.General
- func GetConfigFrom(get di.Get) interfaces.GetConfig
- func MetricsFrom(get di.Get) interfaces.Metrics
- func OperationsFrom(get di.Get) interfaces.Operations
- func SetConfigFrom(get di.Get) interfaces.SetConfig
Constants ¶
This section is empty.
Variables ¶
var ConfigurationName = di.TypeInstanceToName(config.ConfigurationStruct{})
ConfigurationName contains the name of the agent's config.ConfigurationStruct implementation in the DIC.
var GeneralClientsName = di.TypeInstanceToName((*clients.General)(nil))
GeneralClientsName contains the name of the clients.Clients implementation in the DIC.
var GetConfigInterfaceName = di.TypeInstanceToName((*interfaces.GetConfig)(nil))
GetConfigInterfaceName contains the name of the interfaces.GetConfig implementation in the DIC.
var MetricsInterfaceName = di.TypeInstanceToName((*interfaces.Metrics)(nil))
MetricsInterfaceName contains the name of the interfaces.Metrics implementation in the DIC.
var OperationsInterfaceName = di.TypeInstanceToName((*interfaces.Operations)(nil))
OperationsInterfaceName contains the name of the interfaces.Operations implementation in the DIC.
var SetConfigInterfaceName = di.TypeInstanceToName((*interfaces.SetConfig)(nil))
SetConfigInterfaceName contains the name of the interfaces.SetConfig implementation in the DIC.
Functions ¶
func ConfigurationFrom ¶
func ConfigurationFrom(get di.Get) *config.ConfigurationStruct
ConfigurationFrom helper function queries the DIC and returns the agent's config.ConfigurationStruct implementation.
func GeneralClientsFrom ¶
GeneralClientsFrom helper function queries the DIC and returns the clients.General implementation.
func GetConfigFrom ¶
func GetConfigFrom(get di.Get) interfaces.GetConfig
GetConfigFrom helper function queries the DIC and returns the interfaces.GetConfig implementation.
func MetricsFrom ¶
func MetricsFrom(get di.Get) interfaces.Metrics
MetricsFrom helper function queries the DIC and returns the interfaces.Metrics implementation.
func OperationsFrom ¶
func OperationsFrom(get di.Get) interfaces.Operations
OperationsFrom helper function queries the DIC and returns the interfaces.Operations implementation.
func SetConfigFrom ¶
func SetConfigFrom(get di.Get) interfaces.SetConfig
SetConfigFrom helper function queries the DIC and returns the interfaces.SetConfig implementation.
Types ¶
This section is empty.