suite

package
v0.0.0-...-3bfe646 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Overview

package suite contains a storage acceptance test suite that is backend implementation independent each storage will use the suite to test itself

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UsersEquals

func UsersEquals(c *C, a, b storage.User)

UsersEquals compares two users ignoring internal RawObject value

Types

type StorageSuite

type StorageSuite struct {
	Backend storage.Backend
	Clock   clockwork.FakeClock
}

func (*StorageSuite) APIKeysCRUD

func (s *StorageSuite) APIKeysCRUD(c *C)

func (*StorageSuite) AccountsCRUD

func (s *StorageSuite) AccountsCRUD(c *C)

func (*StorageSuite) AuthoritiesCRUD

func (s *StorageSuite) AuthoritiesCRUD(c *C)

AuthoritiesCRUD tests certificate authorities implementation

func (*StorageSuite) ChangesetsCRUD

func (s *StorageSuite) ChangesetsCRUD(c *C)

func (*StorageSuite) ClusterAgentCreds

func (s *StorageSuite) ClusterAgentCreds(c *C)

func (*StorageSuite) ClusterLogin

func (s *StorageSuite) ClusterLogin(c *C)

func (*StorageSuite) ConnectorsCRUD

func (s *StorageSuite) ConnectorsCRUD(c *C)

func (*StorageSuite) CreatesAppImportOperation

func (s *StorageSuite) CreatesAppImportOperation(c *C)

func (*StorageSuite) CreatesApplication

func (s *StorageSuite) CreatesApplication(c *C)

func (*StorageSuite) DeletesApplication

func (s *StorageSuite) DeletesApplication(c *C)

func (*StorageSuite) IndexFile

func (s *StorageSuite) IndexFile(c *C)

func (*StorageSuite) LocalCluster

func (s *StorageSuite) LocalCluster(c *C)

func (*StorageSuite) LocksCRUD

func (s *StorageSuite) LocksCRUD(c *C)

LocksCRUD tests locking service

func (*StorageSuite) LoginAttempts

func (s *StorageSuite) LoginAttempts(c *C)

func (*StorageSuite) LoginEntriesCRUD

func (s *StorageSuite) LoginEntriesCRUD(c *C)

func (*StorageSuite) NamespacesCRUD

func (s *StorageSuite) NamespacesCRUD(c *C)

func (*StorageSuite) NodesCRUD

func (s *StorageSuite) NodesCRUD(c *C)

NodesCRUD tests presence service implementation

func (*StorageSuite) ObjectsCRUD

func (s *StorageSuite) ObjectsCRUD(c *C)

ObjectsCRUD tests objects peers operations

func (*StorageSuite) OperationsCRUD

func (s *StorageSuite) OperationsCRUD(c *C)

func (*StorageSuite) OpsCenterLinksCRUD

func (s *StorageSuite) OpsCenterLinksCRUD(c *C)

func (*StorageSuite) PeersCRUD

func (s *StorageSuite) PeersCRUD(c *C)

PeersCRUD tests peers operations

func (*StorageSuite) PermissionsCRUD

func (s *StorageSuite) PermissionsCRUD(c *C)

func (*StorageSuite) ProgressEntriesCRUD

func (s *StorageSuite) ProgressEntriesCRUD(c *C)

func (*StorageSuite) ProvisioningTokensCRUD

func (s *StorageSuite) ProvisioningTokensCRUD(c *C)

func (*StorageSuite) RepositoriesCRUD

func (s *StorageSuite) RepositoriesCRUD(c *C)

func (*StorageSuite) RetrievesApplications

func (s *StorageSuite) RetrievesApplications(c *C)

func (*StorageSuite) ReverseTunnelsCRUD

func (s *StorageSuite) ReverseTunnelsCRUD(c *C)

ReverseTunnelsCRUD tests presence service - reverse tunnels part

func (*StorageSuite) RolesCRUD

func (s *StorageSuite) RolesCRUD(c *C)

func (*StorageSuite) SAMLCRUD

func (s *StorageSuite) SAMLCRUD(c *C)

func (*StorageSuite) SchemaVersionPresent

func (s *StorageSuite) SchemaVersionPresent(c *C)

func (*StorageSuite) SitesCRUD

func (s *StorageSuite) SitesCRUD(c *C)

func (*StorageSuite) UpdatesAppImportOperation

func (s *StorageSuite) UpdatesAppImportOperation(c *C)

func (*StorageSuite) UserInvitesCRUD

func (s *StorageSuite) UserInvitesCRUD(c *C)

func (*StorageSuite) UserTokensCRUD

func (s *StorageSuite) UserTokensCRUD(c *C)

func (*StorageSuite) UsersCRUD

func (s *StorageSuite) UsersCRUD(c *C)

func (*StorageSuite) WebSessionsCRUD

func (s *StorageSuite) WebSessionsCRUD(c *C)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL