Documentation ¶
Index ¶
- type ACLAPIStorageSuite
- type RuleStorageSuite
- func (s *RuleStorageSuite) SetupTest()
- func (s *RuleStorageSuite) TestDelete()
- func (s *RuleStorageSuite) TestDeleteMetadata()
- func (s *RuleStorageSuite) TestDeleteMetadataMultiple()
- func (s *RuleStorageSuite) TestDeleteNotFound()
- func (s *RuleStorageSuite) TestFind()
- func (s *RuleStorageSuite) TestFindNotFound()
- func (s *RuleStorageSuite) TestFindSourceTsuruApp()
- func (s *RuleStorageSuite) TestFindSourceTsuruJob()
- func (s *RuleStorageSuite) TestSave()
- type ServiceStorageSuite
- func (s *ServiceStorageSuite) SetupTest()
- func (s *ServiceStorageSuite) TestAddApp()
- func (s *ServiceStorageSuite) TestAddJob()
- func (s *ServiceStorageSuite) TestAddRule()
- func (s *ServiceStorageSuite) TestDelete()
- func (s *ServiceStorageSuite) TestList()
- func (s *ServiceStorageSuite) TestRemoveApp()
- func (s *ServiceStorageSuite) TestRemoveJob()
- func (s *ServiceStorageSuite) TestRemoveRule()
- func (s *ServiceStorageSuite) TestSave()
- type SyncStorageSuite
- func (s *SyncStorageSuite) SetupTest()
- func (s *SyncStorageSuite) TestAddSyncDataFind()
- func (s *SyncStorageSuite) TestEndSyncOnlyLatest10Syncs()
- func (s *SyncStorageSuite) TestLockUnlockConcurrent()
- func (s *SyncStorageSuite) TestStartEndSync()
- func (s *SyncStorageSuite) TestStartExpireEndEnd()
- func (s *SyncStorageSuite) TestStartSyncNext()
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()
Click to show internal directories.
Click to hide internal directories.