Documentation ¶
Index ¶
Constants ¶
View Source
const ( //TODO: Use codes // UUIDMissing : UUID not passed in request UUIDMissing = "101" // InvalidUUID : UUID length is not 36 characters long which is the expected length InvalidUUID = "102" // InvalidJSON : Invalid JSON sent in request body InvalidJSON = "103" // KeyCountExceeded : more keys than allowed in request body KeyCountExceeded = "104" // MaxSizeExceeded : POST /cache element exceeded max size MaxSizeExceeded = "105" // TimedOut : Timeout writing value to the backend TimedOut = "106" // UnexpErr : POST /cache had an unexpected error UnexpErr = "107" )
View Source
const ( DefaultNodeName = "Default_Node" //DefaultNodeName is the default node name for K8s environment DefaultPodName = "Default_Pod" //DefaultPodName is the default pod name for K8s environment DefaultDCName = "Default_DC" //DefaultPodName is the default pod name for K8s environment EnvVarNodeName = "MY_NODE_NAME" //EnvVarNodeName is the environment variable for node name in K8s environment EnvVarPodName = "MY_POD_NAME" //EnvVarPodName is the environment variable for pod name in K8s environment EnvVarDCName = "CLUSTER_NAME" //EnvVarDCName is the environment variable for cluster name in k8s environment )
View Source
const ( //StatsKeyCacheFailedGet : stats Key for Failed Cache get operations StatsKeyCacheFailedGet = "hb:001:%s" StatsKeyCacheFailedGetCutoff = 10 //StatsKeyCacheMiss : stats Key for Failed Cache misses StatsKeyCacheMiss = "hb:002" StatsKeyCacheMissCutOff = 10 //StatsKeyCacheFailedPut : stats Key for Failed Cache put operations StatsKeyCacheFailedPut = "hb:003:%s" StatsKeyCacheFailedPutCutoff = 10 //StatsKeyCacheRequestedGet : stats Key for Requested Cache get operations StatsKeyCacheRequestedGet = "hb:004" StatsKeyCacheRequestedGetCutoff = 10 //StatsKeyCacheRequestedPut : stats Key for Requested Cache put operations StatsKeyCacheRequestedPut = "hb:005" StatsKeyCacheRequestedPutCutoff = 10 //StatsKeyAerospikeCreationError : stats Key for Aerospike creation error StatsKeyAerospikeCreationError = "hb:006" StatsKeyAerospikeCreationErrorCutoff = 10 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.