package
3.2.17+incompatible
Repository: https://github.com/zmb3/teleport.git
Documentation: pkg.go.dev

# Packages

Package boltbk implements BoltDB backed backend for standalone instances This is a legacy backend which only exists for backward compatibility purposes Production Teleport clusters should be using either etcd or DynamoDB backends.
dir package implements backend.Backend interface using the filesystem.
Copyright 2015 Gravitational, Inc.
Package etcdbk implements Etcd powered backend.
Package test contains a backend acceptance test suite that is backend implementation independent each backend will use the suite to test itself.

# Functions

AnyTTL returns TTL if any of the suplied times pass expiry time otherwise returns forever.
CollectOptions collects all options from functional arg and returns config.
NewSanitizer returns a new Sanitizer.
TTL converts time to TTL from current time supplied by provider, if t is zero, returns forever.
ValidateLockTTL helper allows all backends to validate lock TTL parameter.
DeduplicateByKey removes duplicates based off key instead of the full path.
WithRecursive sets get operation to be recursive.

# Constants

Forever means that object TTL will not expire unless deleted.
Forever means that object TTL will not expire unless deleted.

# Structs

Config is used for 'storage' config section.
Item is a pair of key and value.
No description provided by the author
OpConfig contains operation config.
Sanitizer wraps a Backend implementation to make sure all values requested of the backend are whitelisted.

# Interfaces

Backend implements abstraction over local or remote storage backend Storage is modeled after BoltDB: * bucket is a slice []string{"a", "b"} * buckets contain key value pairs .

# Type aliases

No description provided by the author
NameFunc type defines a function type which every backend must implement to return its name.
NewFunc type defines a function type which every backend must implement to instantiate itself.
OpOption is operation functional argument.
backend.Params type defines a flexible unified back-end configuration API.