package test
import "github.com/gravitational/teleport/lib/backend/test"
Package test contains a backend acceptance test suite that is backend implementation independent each backend will use the suite to test itself
Index ¶
- func TestBackend(t *testing.T)
- type BackendSuite
- func (s *BackendSuite) BasicCRUD(c *C)
- func (s *BackendSuite) BatchCRUD(c *C)
- func (s *BackendSuite) CompareAndSwap(c *C)
- func (s *BackendSuite) Deduplicate(c *C)
- func (s *BackendSuite) Directories(c *C)
- func (s *BackendSuite) Expiration(c *C)
- func (s *BackendSuite) Locking(c *C)
- func (s *BackendSuite) ValueAndTTL(c *C)
Functions ¶
func TestBackend ¶
Types ¶
type BackendSuite ¶
func (*BackendSuite) BasicCRUD ¶
func (s *BackendSuite) BasicCRUD(c *C)
func (*BackendSuite) BatchCRUD ¶
func (s *BackendSuite) BatchCRUD(c *C)
BatchCRUD tests batch CRUD operations.
func (*BackendSuite) CompareAndSwap ¶
func (s *BackendSuite) CompareAndSwap(c *C)
CompareAndSwap tests compare and swap functionality
func (*BackendSuite) Deduplicate ¶
func (s *BackendSuite) Deduplicate(c *C)
func (*BackendSuite) Directories ¶
func (s *BackendSuite) Directories(c *C)
Directories checks directories access
func (*BackendSuite) Expiration ¶
func (s *BackendSuite) Expiration(c *C)
func (*BackendSuite) Locking ¶
func (s *BackendSuite) Locking(c *C)
func (*BackendSuite) ValueAndTTL ¶
func (s *BackendSuite) ValueAndTTL(c *C)
Source Files ¶
- Version
- v3.2.17+incompatible (latest)
- Published
- Feb 4, 2021
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 1 month ago –
Tools for package owners.