model

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

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 ConnectDataStore(cfg *config.Config) error

func DeleteInstanceHealthFromDataStore added in v1.0.8

func DeleteInstanceHealthFromDataStore(instanceKeys ...*dynamodb.DynamoDBTableKeys) (deleteFailKeys []*dynamodb.DynamoDBTableKeys, err error)

func DeleteServerRouteFromDataStore

func DeleteServerRouteFromDataStore(serverKey string) error

func GetInstanceHealthFromDataStore added in v1.0.8

func GetInstanceHealthFromDataStore(instanceId string) (lastHealthy string, err error)

func GetServerRouteFromDataStore

func GetServerRouteFromDataStore(serverKey string) (serverUrl string, err error)

func ListInactiveInstancesFromDataStore added in v1.0.8

func ListInactiveInstancesFromDataStore() (inactiveInstances []*healthStatus, err error)

func SetInstanceHealthToDataStore added in v1.0.8

func SetInstanceHealthToDataStore(namespaceId string, serviceId string, instanceId string, awsRegion string, serviceInfo string, hostInfo string) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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