health

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

Package health provides a thin client for using the health service from other cloud services. This can be used by apps to discover and contact the service, without knowing about the RPC implementation.

Package health contains the health service, a feg-orchestrator microservice which manages feg health and HA clusters

Index

Constants

View Source
const (
	ServiceName       = "HEALTH"
	DBTableName       = "health"
	HealthStatusType  = "health_status"
	ClusterStatusType = "cluster_status"
)

Variables

This section is empty.

Functions

func GetActiveGateway

func GetActiveGateway(networkID string) (string, error)

GetActiveGateway returns the active federated gateway in the network specified by networkID

func GetHealth

func GetHealth(networkID string, logicalID string) (*protos.HealthStats, error)

GetHealth fetches the health stats for a given gateway represented by a (networkID, logicalId)

Types

This section is empty.

Directories

Path Synopsis
Package test_utils provides functions and constants that are useful for health service testing
Package test_utils provides functions and constants that are useful for health service testing

Jump to

Keyboard shortcuts

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