Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ProviderSet = wire.NewSet(NewAccountRepository)
Functions ¶
This section is empty.
Types ¶
type AccountRepository ¶
type AccountRepository interface { Find(conditions interface{}) (account *account.Account, err error) Exist(condition interface{}) (bool, error) Create(record metav1.Resource) error }
func NewAccountRepository ¶
func NewAccountRepository(logger *zap.Logger, db *gorm.DB) AccountRepository
NewAccountRepository returns new account AccountRepository.
Click to show internal directories.
Click to hide internal directories.