Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigurationName = di.TypeInstanceToName(config.ConfigurationStruct{})
ConfigurationName contains the name of command's config.ConfigurationStruct implementation in the DIC.
View Source
var MetadataDeviceClientName = di.TypeInstanceToName((*metadata.DeviceClient)(nil))
MetadataDeviceClientName contains the name of the client implementation in the DIC.
Functions ¶
func ConfigurationFrom ¶
func ConfigurationFrom(get di.Get) *config.ConfigurationStruct
ConfigurationFrom helper function queries the DIC and returns command's config.ConfigurationStruct implementation.
func MetadataDeviceClientFrom ¶
func MetadataDeviceClientFrom(get di.Get) metadata.DeviceClient
MetadataDeviceClientFrom helper function queries the DIC and returns the client implementation.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.