container

package
v1.2.2-dev.62 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 12, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

ConfigurationName contains the name of the agent's config.ConfigurationStruct implementation in the DIC.

View Source
var GeneralClientsName = di.TypeInstanceToName((*clients.General)(nil))

GeneralClientsName contains the name of the clients.Clients implementation in the DIC.

View Source
var GetConfigInterfaceName = di.TypeInstanceToName((*interfaces.GetConfig)(nil))

GetConfigInterfaceName contains the name of the interfaces.GetConfig implementation in the DIC.

View Source
var MetricsInterfaceName = di.TypeInstanceToName((*interfaces.Metrics)(nil))

MetricsInterfaceName contains the name of the interfaces.Metrics implementation in the DIC.

View Source
var OperationsInterfaceName = di.TypeInstanceToName((*interfaces.Operations)(nil))

OperationsInterfaceName contains the name of the interfaces.Operations implementation in the DIC.

View Source
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

func GeneralClientsFrom(get di.Get) *clients.General

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL