Documentation ¶
Index ¶
- Variables
- func NewEventlogSyncEtcd(client *clientv3.Client) (*eventlogSyncEtcd, error)
- func NewEventlogSyncFile(directory string) (*eventlogSyncFile, error)
- type Client
- type Event
- type EventlogSync
- type Option
- func WithAuthSecret(authSecret string) Option
- func WithLockProlongateTimeout(lockProlongateTimeout time.Duration) Option
- func WithLockTtl(lockTtl time.Duration) Option
- func WithNoSSL() Option
- func WithReportPositionInterval(reportPositionInterval time.Duration) Option
- func WithSelfSignedTLS() Option
- func WithStartFromActiveLog() Option
- func WithStopIdleTimeout(stopIdleTimeout time.Duration) Option
- func WithTunnelPort(port string) Option
- func WithWaitOutputWriteTimeout(waitOutputWriteTimeout time.Duration) Option
- type Position
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrLockNotAcquired = errors.New("lock not acquired")
View Source
var ErrOutputEventStucked = errors.New("output event stucked")
View Source
var ErrPositionNotFound = errors.New("position not found")
Functions ¶
func NewEventlogSyncEtcd ¶
func NewEventlogSyncFile ¶
Types ¶
type EventlogSync ¶
type Option ¶
type Option func(opts *options) error
func WithAuthSecret ¶
func WithLockTtl ¶
func WithSelfSignedTLS ¶
func WithSelfSignedTLS() Option
func WithStartFromActiveLog ¶
func WithStartFromActiveLog() Option
func WithStopIdleTimeout ¶
func WithTunnelPort ¶
Click to show internal directories.
Click to hide internal directories.