Documentation ¶
Index ¶
- Variables
- func ConnectDataStore(cfg *config.Config) error
- func DeleteInstanceHealthFromDataStore(instanceKeys ...*dynamodb.DynamoDBTableKeys) (deleteFailKeys []*dynamodb.DynamoDBTableKeys, err error)
- func DeleteServerRouteFromDataStore(serverKey string) error
- func GetInstanceHealthFromDataStore(instanceId string) (lastHealthy string, err error)
- func GetServerRouteFromDataStore(serverKey string) (serverUrl string, err error)
- func ListInactiveInstancesFromDataStore() (inactiveInstances []*healthStatus, err error)
- func SetInstanceHealthToDataStore(namespaceId string, serviceId string, instanceId string, awsRegion string, ...) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DynamoDBActionRetryAttempts uint
View Source
var GatewayKey string
View Source
var HashKeys map[string]string
View Source
var HealthReportCleanUpFrequencySeconds uint
View Source
var HealthReportRecordStaleMinutes uint
View Source
var ServiceDiscoveryTimeoutSeconds uint
Functions ¶
func ConnectDataStore ¶
func DeleteInstanceHealthFromDataStore ¶ added in v1.0.8
func DeleteInstanceHealthFromDataStore(instanceKeys ...*dynamodb.DynamoDBTableKeys) (deleteFailKeys []*dynamodb.DynamoDBTableKeys, err error)
func GetInstanceHealthFromDataStore ¶ added in v1.0.8
func ListInactiveInstancesFromDataStore ¶ added in v1.0.8
func ListInactiveInstancesFromDataStore() (inactiveInstances []*healthStatus, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.