storagetest

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2023 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACLAPIStorageSuite

type ACLAPIStorageSuite struct {
	suite.Suite
	SetupTestFunc func()
	Stor          storage.ACLAPIStorage
}

func (*ACLAPIStorageSuite) SetupTest

func (s *ACLAPIStorageSuite) SetupTest()

func (*ACLAPIStorageSuite) TestAdd

func (s *ACLAPIStorageSuite) TestAdd()

func (*ACLAPIStorageSuite) TestFind

func (s *ACLAPIStorageSuite) TestFind()

func (*ACLAPIStorageSuite) TestRemove

func (s *ACLAPIStorageSuite) TestRemove()

type RuleStorageSuite

type RuleStorageSuite struct {
	suite.Suite
	SetupTestFunc func()
	Stor          storage.RuleStorage
}

func (*RuleStorageSuite) SetupTest

func (s *RuleStorageSuite) SetupTest()

func (*RuleStorageSuite) TestDelete

func (s *RuleStorageSuite) TestDelete()

func (*RuleStorageSuite) TestDeleteMetadata

func (s *RuleStorageSuite) TestDeleteMetadata()

func (*RuleStorageSuite) TestDeleteMetadataMultiple

func (s *RuleStorageSuite) TestDeleteMetadataMultiple()

func (*RuleStorageSuite) TestDeleteNotFound

func (s *RuleStorageSuite) TestDeleteNotFound()

func (*RuleStorageSuite) TestFind

func (s *RuleStorageSuite) TestFind()

func (*RuleStorageSuite) TestFindNotFound

func (s *RuleStorageSuite) TestFindNotFound()

func (*RuleStorageSuite) TestFindSourceTsuruApp

func (s *RuleStorageSuite) TestFindSourceTsuruApp()

func (*RuleStorageSuite) TestFindSourceTsuruJob added in v0.1.2

func (s *RuleStorageSuite) TestFindSourceTsuruJob()

func (*RuleStorageSuite) TestSave

func (s *RuleStorageSuite) TestSave()

type ServiceStorageSuite

type ServiceStorageSuite struct {
	suite.Suite
	SetupTestFunc func()
	Stor          storage.ServiceStorage
}

func (*ServiceStorageSuite) SetupTest

func (s *ServiceStorageSuite) SetupTest()

func (*ServiceStorageSuite) TestAddApp

func (s *ServiceStorageSuite) TestAddApp()

func (*ServiceStorageSuite) TestAddJob added in v0.1.2

func (s *ServiceStorageSuite) TestAddJob()

func (*ServiceStorageSuite) TestAddRule

func (s *ServiceStorageSuite) TestAddRule()

func (*ServiceStorageSuite) TestDelete

func (s *ServiceStorageSuite) TestDelete()

func (*ServiceStorageSuite) TestList

func (s *ServiceStorageSuite) TestList()

func (*ServiceStorageSuite) TestRemoveApp

func (s *ServiceStorageSuite) TestRemoveApp()

func (*ServiceStorageSuite) TestRemoveJob added in v0.1.2

func (s *ServiceStorageSuite) TestRemoveJob()

func (*ServiceStorageSuite) TestRemoveRule

func (s *ServiceStorageSuite) TestRemoveRule()

func (*ServiceStorageSuite) TestSave

func (s *ServiceStorageSuite) TestSave()

type SyncStorageSuite

type SyncStorageSuite struct {
	suite.Suite
	SetupTestFunc func()
	Stor          storage.SyncStorage
}

func (*SyncStorageSuite) SetupTest

func (s *SyncStorageSuite) SetupTest()

func (*SyncStorageSuite) TestAddSyncDataFind

func (s *SyncStorageSuite) TestAddSyncDataFind()

func (*SyncStorageSuite) TestEndSyncOnlyLatest10Syncs

func (s *SyncStorageSuite) TestEndSyncOnlyLatest10Syncs()

func (*SyncStorageSuite) TestLockUnlockConcurrent

func (s *SyncStorageSuite) TestLockUnlockConcurrent()

func (*SyncStorageSuite) TestStartEndSync

func (s *SyncStorageSuite) TestStartEndSync()

func (*SyncStorageSuite) TestStartExpireEndEnd

func (s *SyncStorageSuite) TestStartExpireEndEnd()

func (*SyncStorageSuite) TestStartSyncNext

func (s *SyncStorageSuite) TestStartSyncNext()

Jump to

Keyboard shortcuts

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