notification.go 383 B

1234567891011
  1. package repository
  2. import (
  3. "github.com/porter-dev/porter/internal/models"
  4. )
  5. type NotificationConfigRepository interface {
  6. CreateNotificationConfig(am *models.NotificationConfig) (*models.NotificationConfig, error)
  7. ReadNotificationConfig(id uint) (*models.NotificationConfig, error)
  8. UpdateNotificationConfig(am *models.NotificationConfig) (*models.NotificationConfig, error)
  9. }