Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AlertRepository ¶ added in v0.4.0
type NamespaceRepository ¶ added in v0.4.0
type NamespaceRepository interface { Migrate() error List() ([]*domain.EncryptedNamespace, error) Create(*domain.EncryptedNamespace) error Get(uint64) (*domain.EncryptedNamespace, error) Update(*domain.EncryptedNamespace) error Delete(uint64) error }
type ProviderRepository ¶ added in v0.4.0
type ReceiverRepository ¶ added in v0.4.0
type RepositoryContainer ¶ added in v0.4.0
type RepositoryContainer struct { ProviderRepository ProviderRepository NamespaceRepository NamespaceRepository TemplatesRepository TemplatesRepository ReceiverRepository ReceiverRepository SubscriptionRepository SubscriptionRepository AlertRepository AlertRepository RuleRepository RuleRepository }
func NewRepositoryContainer ¶ added in v0.4.0
func NewRepositoryContainer(db *gorm.DB) *RepositoryContainer
type RuleRepository ¶ added in v0.4.0
type SubscriptionRepository ¶ added in v0.4.0
type SubscriptionRepository interface { Transactor Migrate() error List(context.Context) ([]*domain.Subscription, error) Create(context.Context, *domain.Subscription) error Get(context.Context, uint64) (*domain.Subscription, error) Update(context.Context, *domain.Subscription) error Delete(context.Context, uint64) error }
type TemplatesRepository ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.