Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConnection ¶
func GetConnection(address, certPath, keyPath string, noTls bool) (*grpc.ClientConn, error)
GetConnection returns a gRPC client connection to the onos service
Types ¶
type Collector ¶
Collector defines an interface for Collectors to retrieve a list of kpis.KPI via the Collect method.
func CreateCollector ¶ added in v0.1.2
CreateCollector instantiates a new collector based on the const name of the collector specified. Available collectors must be defined in the cost set of strings.
type Configuration ¶
type Configuration interface {
// contains filtered or unexported methods
}
Configuration defines the methods expected to fulfill the behavior of a config.
func InitConfig ¶
func InitConfig(configNameInit string) Configuration
InitConfig defines the Configuration to be used for the creation of a connection to a onos service.
func NewConfig ¶
func NewConfig(subsystem string) Configuration
Click to show internal directories.
Click to hide internal directories.