Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyAdapter ¶
type KeyAdapter interface { Encode(keys ...string) string Decode(key string) ([]string, error) Path() string Curry(keys ...string) KeyAdapter }
KeyAdapter is used to construct etcd like key
var ( DMJobKeyAdapter KeyAdapter = keyHexEncoderDecoder("/data-flow/dm/job") DMInfoKeyAdapter KeyAdapter = keyHexEncoderDecoder("/data-flow/dm/info") DMUnitStateAdapter KeyAdapter = keyHexEncoderDecoder("/data-flow/dm/unit-state") DMDroppedColumnsKeyAdapter KeyAdapter = keyHexEncoderDecoder("/data-flow/dm/dropped-columns/") )
Defines all key adapters
Click to show internal directories.
Click to hide internal directories.