Versions in this module Expand all Collapse all v11 v11.3.3 Dec 13, 2022 Changes in this version + const AlternativeName + const BackendName + const JournalMemory + const SyncFull + func GetName() string + type Backend struct + func New(ctx context.Context, params backend.Params) (*Backend, error) + func NewWithConfig(ctx context.Context, cfg Config) (*Backend, error) + func (l *Backend) Clock() clockwork.Clock + func (l *Backend) Close() error + func (l *Backend) CloseWatchers() + func (l *Backend) CompareAndSwap(ctx context.Context, expected backend.Item, replaceWith backend.Item) (*backend.Lease, error) + func (l *Backend) Create(ctx context.Context, i backend.Item) (*backend.Lease, error) + func (l *Backend) Delete(ctx context.Context, key []byte) error + func (l *Backend) DeleteRange(ctx context.Context, startKey, endKey []byte) error + func (l *Backend) Get(ctx context.Context, key []byte) (*backend.Item, error) + func (l *Backend) GetRange(ctx context.Context, startKey []byte, endKey []byte, limit int) (*backend.GetResult, error) + func (l *Backend) Import(ctx context.Context, items []backend.Item) error + func (l *Backend) Imported(ctx context.Context) (imported bool, err error) + func (l *Backend) KeepAlive(ctx context.Context, lease backend.Lease, expires time.Time) error + func (l *Backend) NewWatcher(ctx context.Context, watch backend.Watch) (backend.Watcher, error) + func (l *Backend) Put(ctx context.Context, i backend.Item) (*backend.Lease, error) + func (l *Backend) PutRange(ctx context.Context, items []backend.Item) error + func (l *Backend) SetClock(clock clockwork.Clock) + func (l *Backend) Update(ctx context.Context, i backend.Item) (*backend.Lease, error) + type Config struct + BufferSize int + BusyTimeout int + Clock clockwork.Clock + EventsOff bool + Journal string + Mirror bool + Path string + PollStreamPeriod time.Duration + Sync string + func (cfg *Config) CheckAndSetDefaults() error + func (cfg *Config) ConnectionURI() string + type NullTime struct + Time time.Time + Valid bool + func (nt *NullTime) Scan(value interface{}) error + func (nt NullTime) Value() (driver.Value, error) Other modules containing this package github.com/zmb3/teleport